× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi,

Same remark... why would you want to do such things in CL when you've RPG ?
While I can understand your remark about support for subroutines in CL, I
don't see the need for complex record manipulations.

What you suggest... the ability to break up a buffer based on an externally
described DS also implies that CL gets extended (as mentioned in one of my
previous mails) regarding the different datatypes the database supports
today.

Should we add date, time, timestamp, boolean, varchar, integer, float, ...
support to CL ?

I do believe you've certain needs... but I doubt that CL is the answer for
them.

Kind regards,
Paul

-----Original Message-----
From: jpcarr@tredegar.com [mailto:jpcarr@tredegar.com]
Sent: 24 April, 2002 14:42
To: rpg400-l@midrange.com
Subject: RE: Request for CL, DDS, SQL RPG enhancements



Forget the two or more files thing.

However,    Make sure it has a Subroutine/perform function so you can run a
routine from multiple places in the CL.

If I declare a File,   I want the compiler to define a variable for the
whole record (maybe a variable with same name as format).    When I change
one of the field variable names,  the Whole Format level variable should
change.  ie a data structure.  (like an externally defined DS in rpg)

So I can do this.


PGM    PARM(RECORD)

DCLF      FILEX

CHGVAR  &FORMAT   &RECORD

now I should have all the fields in FILEX (like &FLD1,  &FLD2 , &FLD3 )
should have the values of what was in the Parm coming in.

Now I can pass an externally defined D/S as a Parm  and have the CLLE break
it back up again into the individual field values.     AND I DON'T HAVE TO
HARD CODE

CHGVAR    &FLD1     %SST(RECORD   1   5)



Believe me we need this.



_______________________________________________
This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list
To post a message email: RPG400-L@midrange.com
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l
or email: RPG400-L-request@midrange.com
Before posting, please take a moment to review the archives
at http://archive.midrange.com/rpg400-l.



------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments, contains 
information of Merck & Co., Inc. (Whitehouse Station, New Jersey, USA) that may 
be confidential, proprietary copyrighted and/or legally privileged, and is 
intended solely for the use of the individual or entity named in this message.  
If you are not the intended recipient, and have received this message in error, 
please immediately return this by e-mail and then delete it.

==============================================================================



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

This mailing list archive is Copyright 1997-2024 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].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.