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 / alok.yee001
Use QCMDEXC command to execute the string from file.
Pass the string from file to QCMDEXC command.
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
what is logical file?
can anybody give the interview questions list of RLU. plz mail me: dinesh_sati07@yahoo.com
which cl command can be used at program execution to redirect the file named in an rpg program?
what is match field indicator?
a multiple format logical file is also known as?
what is the purpose of dynslt keyword?
how can a cgi check whether an ifs object is available?
which single rpg opcode performs both setll and reade?
what is the function of rlu ?
To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?
how will you search an array?
What Is The Object Type Of Pf, Lf, Printer File & Display File?
list some of the commonly used commands for debugging?
what are various techniques to pass parameters from one program to another?
which are the string manipulation opcodes?