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 are the various types of device files?
how many maximum spaces could be given in o specs?
what is the use of unique keyword and what level it is defined?
difference between sflrcdnbr and sflnxtchg?
What is file information data structure(infds) in as400?
what would be the effect on the field where reverse image, underline and highlight display attributes are active ?
a multiple format logical file is also known as?
what is service program?
is there any way to dynamically merge other html scripts into a given html?
what is the maximum number of subroutines allowed in rpg?
what are the three types of keywords associated with printer file ?
what is the purpose of data structure?
how many files can be defined in f specs?
which are the query selection criteria, which can be given in a query?
How to reverse a string using RPG?