Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

C/C++ on as400 best tutorials

1,091 views
Skip to first unread message

fel

unread,
Sep 22, 2009, 2:47:01 PM9/22/09
to
Hi, I'm looking for information on how to access database record
files, and modify them using either SQl or raw access on the AS/400,
however, I've found myself rather baffled by the lack of
documentation, and google doesn't seem to help (me) much...

anyone has info on this?

Thanks in advance!

Karl Hanson

unread,
Sep 22, 2009, 10:59:14 PM9/22/09
to

WDS

unread,
Sep 23, 2009, 10:37:50 AM9/23/09
to
fel wrote:
> Hi, I'm looking for information on how to access database record
> files, and modify them using either SQl or raw access on the AS/400,
> however, I've found myself rather baffled by the lack of
> documentation, and google doesn't seem to help (me) much...

The following document describes imbedded SQL programming using the SQL
precompilers. This book is for V6R1 but the book exists in prior
releases as well. Look in the IBM i Info Center, Programming,
Programming Languages, SQL.

http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/rzajp/rzajp.pdf


The _R functions (_Ropen(), _Rclose(), _Rreadn(), _Rwrite(), etc.)
declared in the <recio.h> header file can be used to do 'raw access' to
a database file. They are documented within the ILE C/C++ Runtime
Library Functions manual (V6R1 -
http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/sc415607.pdf).

fel

unread,
Sep 23, 2009, 5:46:31 PM9/23/09
to
On Sep 23, 9:37 am, WDS <B...@seurer.net> wrote:
> fel wrote:
> > Hi, I'm looking for information on how to access database record
> > files, and modify them using either SQl or raw access on the AS/400,
> > however, I've found myself rather baffled by the lack of
> > documentation, and google doesn't seem to help (me) much...
>
> The following document describes imbedded SQL programming using the SQL
> precompilers.  This book is for V6R1 but the book exists in prior
> releases as well.  Look in the IBM i Info Center, Programming,
> Programming Languages, SQL.
>
> http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/rzajp/r...

>
> The _R functions (_Ropen(), _Rclose(), _Rreadn(), _Rwrite(), etc.)
> declared in the <recio.h> header file can be used to do 'raw access' to
> a database file.  They are documented within the ILE C/C++ Runtime
> Library Functions manual (V6R1 -http://publib.boulder.ibm.com/infocenter/iseries/v6r1m0/topic/apis/sc...).

Thank you both for you kinds responses, looks like a lot of
information!

0 new messages