|
Have you considered gradually moving away from CL? Here would be a good place to try it out. Let the Initial program be the RPGLE program, which is especially nice if you have to begin with a prompt screen to get and validate values for your process. Then use your RPGLE program to call your CL. --------------------------------- Booth Martin http://www.martinvt.com --------------------------------- -------Original Message------- From: Midrange Systems Technical Discussion Date: 05/13/04 18:31:37 To: Midrange Systems Technical Discussion Subject: Can CL do Date manips? HI I would like to calculate in CL, to take the current date, and to add 45 days to this, and pass this UDate+45 to an RPG program in the next CL statement. (there are additional static parameters as well.) IF I can't do that I would like to call an RPG program that is making this calculation and receive the params back in the calling CL program. I am very new to ILE. I wrote a brief RPG ILE program to get this new date using ADDDUR. What would I need to do to make it an procedure that the CL can call? Unless of course, the CL can do the work by itself. Thank you, Mike --------------------------------- Do you Yahoo!? Yahoo! Movies - Buy advance tickets for 'Shrek 2' _______________________________________________ This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
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.