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
how does union file maintains record formats?
Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?
how do handle file exception/error?
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?
what does dfu program you to do on a record?
Why we are not able to perform insert delete and update operation in Join logical file?
how you get the relative record in a subfile in which cursor is located?
how do you pass parameters in cl?
what is the command used to invoke rlu ?
maximum number of subfiles that can be active for a single file is?
define the purpose of the %sst function?
what if my system I runs with system value qccsid 65535?
which are control break logic indicators?
how many levels are there in a physical file?
how to develop some simple graphs (bar charts) using just html?