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...

Q.How can more than two program be executed in batch mode
through SBMJOB in CL PGM but the condition is that program
must be executed one by one?Please wtite the senario?

2. IS it possibe more then two programs can be executed in
batch mode and HOw it will be executed in CL
program ,please write the senario?

Answer Posted / yogesh

PGM MYCLPGM

/*The CL variable must be a five-position decimal variable
with no decimal positions. */

DCL &STSVAR *DEC 5

SBMJOB CMD(CALL JOB1)

TAGJOB1: RTVJOBA RTNCDE(&STSVAR)

IF COND(&STSVAR *NE 0) THEN(GOTO CMDLBL(TAGJOB1))

SBMJOB CMD(CALL JOB2)
TAGJOB2: RTVJOBA RTNCDE(&STSVAR)

IF COND(&STSVAR *NE 0) THEN(GOTO CMDLBL(TAGJOB2))

ENDPGM

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how would you design the process for a nightly, high volume check producing process that needs to select only records that are flagged to be processed?

1621


what is the version of os/400 that we have?

1639


some special characters I key in my html source members show different on my web pages. Why? How can I solve this?

1085


how many printer files can be defined in f specs ?

1643


during input operation which indicator position is seton if there is a record lock?

1599


what is rpg fixed logic cycle?

1211


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

1602


what opcode could be used to test an alphanumeric field for all numeric values?

1775


what are the important factors in error message subfile ?

1017


when would you prefer logical file than opnqryf?

2452


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

2565


an access path may be in which sequence?

1160


using dfu, user will be able to ___________ from physical file?

994


How to reverse a string using RPG?

1501


How can we arrange duplicate records in a file?

1087