|
If you are in a RPG program and someway in the program flow you need to use a AS400 command to do a simple task (such as submit job, override a file, change print queue...), I think it is better to just call the QCMDEXC api to do it inside the RPG. I don't believe create a separate CL module just to execute a CL command is a good approach. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Alan Campin Sent: Tuesday, February 01, 2005 4:15 PM To: RPG programming on the AS400 / iSeries Subject: RE: Submitting jobs with a higher priority <clip> As to using a AS400 Command, you are still using AS/400 command, just creating a big long string to do it. Sorry I didn't understand the question. <clip> <clip> Create a module for CL to receive the parms and do a submit job. Then just bind them to the RPG. The CL does it's job and the RPG does it's job and you have one program object. That is why I love ILE. <clip>
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.