I have to execute 12000 CL Commands one by one..
So, I have created a file called COMMAND.
This file has only 1 field called STRING.
This file had 12000 records, and all these records are CL Commands (ex: CALL PGM(PGM1)), etc)
I have written a CL which will read all the record and do sbmjob..
But it is not working...
Plz help me to exexute all these 12000 commands..
Answer Posted / gagan44
In CL programming,it should not be a problem to execute any command.
We don't have to use QCMDEXC in CL.If there are for eg 100 RTV commands then firstly the variables to retrieve should be declared in the program .But if the command are only CALL commands then Using QCMDEXC will solve the purpose.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
name few ibm supplied libraries?
how can I start a page in a new window?
when are the unique constraints executed?
what is the clp command to access a query/400?
how many printer files can be defined in f specs ?
when would you use or not use this approach?
define the purpose of the %sst function?
what is the maximum number of files allowed in rpg?
what is the purpose of putovr (put with explicit override) keyword?
What Is Default Data Type (if You Define Decimals '0') In Physical File?
how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?
Apart from opening of a file do we have any other use of USROPN?
what opcode could be used to test an alphanumeric field for all numeric values?
how can I predict the performance of my cgis?
what does the opcode free do?