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
is it possible to create a physical file without dds?
if dspatr(pc) and csrloc were specified for a format, which keyword would have priority?
which indicator is used for read?
which are the figurative constants used in rpg?
can you specify a display file to be used in the following modes input,output, or combined modes ?
what is the necessary keyword for non-join logical file?
How to reverse the string in rpg
name few ibm supplied libraries?
What are the different opcodes used for file operation on a subfile in a rpg pgm?
what does defn do?
How can we change the uppercase to Lowercase in RPG?
how can a cgi check whether an ifs object is available?
Explain The Keywords Edtcde & Edtwrd?
how you will know whether you are in sfldrop or sflfold mode?
How to reverse a string using RPG?