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
what are different record spacing keywords in rlu ?
how can you detect overflow for a print program that prints multiple lines per cycle?
can error messages as a result of a comp, range or values keyword be overridden?
What is dynslt?
which of the following operations does not zero the field flda defined as 4,0?
can a single screen format occupy a screen area above and below a subfile format ?
How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz
using dfu, user will be able to ___________ from physical file?
how many printer files can be defined in f specs ?
what is externally described file ?
How to debug a batch job when it is in messagewait(mswg) status. I know the steps for batch ebugging, but im confusing with when we submit any job for batch debug we put in held state. So here also do same thing or any other way?
how can I control from my cgis the cache of a remote browser?
What is a query can be displayed without saving it?
Explain The Keywords Edtcde & Edtwrd?
What is the as400 called now?