Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

what are the various types of device files?

1575


how many maximum spaces could be given in o specs?

1029


what is the use of unique keyword and what level it is defined?

1518


difference between sflrcdnbr and sflnxtchg?

1121


What is file information data structure(infds) in as400?

1419


what would be the effect on the field where reverse image, underline and highlight display attributes are active ?

1623


a multiple format logical file is also known as?

1001


what is service program?

974


is there any way to dynamically merge other html scripts into a given html?

1019


what is the maximum number of subroutines allowed in rpg?

1691


what are the three types of keywords associated with printer file ?

1619


what is the purpose of data structure?

1652


how many files can be defined in f specs?

2246


which are the query selection criteria, which can be given in a query?

1096


How to reverse a string using RPG?

1389