• Subject: Re: SQLRPGLE (was External file reads into DS's)
  • From: "Nelson C. Smith" <ncsmith@xxxxxxxx>
  • Date: Fri, 9 Jul 1999 23:36:26 -0400

John,
Speaking of SQL, is it just me or does the SQLRPGLE precompiler not
understand RPGLE.  I've had great difficulty with it not understanding
compiler directives, local variables in procedures, thinking D-specs in
procedures are out-of-order, burping if subroutines are not arranged in
precisely the order in which they are called, etc.

Who's in charge of the precompiler development?  Must not be Toronto.
-----Original Message-----
From: John Carr <74711.77@compuserve.com>
To: INTERNET:RPG400-L@midrange.com <RPG400-L@midrange.com>
Date: Thursday, July 08, 1999 10:11 PM
Subject: External file reads into DS's


>
>>
>
>>> But, OH YES!  And while you're at it, could we read a record into a data
>
>>> structure and have the data map to a subset of record's field collection
>
>>> (i.e. record=> field1-field4; data structure=>field1,field3).
>>> Buzz    "Lowly RPG III User"
>
>
>Ok you got me to ask this,   which is off your request Buzz.    (But I
>don't think Hans can help us)
>
>Speaking of reading into a D/S with a subset of fields; .........
>
>I want to have a D/S   with (say)  5 fields from the file,   and then do a
>SQL  FETCH
>and have the FETCH be smart enough to map FIELD NAME TO FIELD NAME !!!!
>(from file fields  to D/S  fields with same name)
>Is that so freaking hard ?????
>
>I just want to do a fetch into a host D/S without having to specify each
>field on the fetch verb.
>Oh Well,    Maybe we will get some MULTI-PASS compiler improvements.
>
>John Carr
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>* This is the RPG/400 Discussion Mailing List!  To submit a new         *
>* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
>* from this list send email to MAJORDOMO@midrange.com and specify       *
>* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
>* be directed to the list owner / operator: david@midrange.com          *
>* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
>

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* This is the RPG/400 Discussion Mailing List!  To submit a new         *
* message, send your mail to "RPG400-L@midrange.com".  To unsubscribe   *
* from this list send email to MAJORDOMO@midrange.com and specify       *
* 'unsubscribe RPG400-L' in the body of your message.  Questions should *
* be directed to the list owner / operator: david@midrange.com          *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *


This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2019 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].