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
can we use ASCII ,CDUP,SENDPASV commands in SFTP?
what is term cua , saa?
how can I predict the performance of my cgis?
how do handle file exception/error?
What is the difference between physical file and logical file?
is there any way to dynamically merge other html scripts into a given html?
using dfu, user will be able to ___________ from physical file?
is there any way I can ease my rpg controls on numeric input fields? How about an input date field?
records can be read/update/deleted with which file?
Difference Between Ca & Cf?
What is binder language ?
what is the maximum number of subroutines allowed in rpg?
define the purpose of the *cat function?
what opcode could be used to test an alphanumeric field for all numeric values?
What is %CHECK?