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 / syam

Yes, You can any number of program execute in batch it will
process one by one. (You see WRKACTJOB then press F5 in top
under Qbatch )

PGM PROGRAM1
SBMJOB CMD(CALL JOB1)
SBMJOB CMD(CALL JOB2)
SBMJOB CMD(CALL JOB3)
SBMJOB CMD(CALL JOB4)
ENDPGM

SBMJOB PROGRAM1 = This all jobs send to Qbatch to execute
one by one (This is on the Que.

Important:If you program screen(SDA) for input do not use
SBMJOB.

Is This Answer Correct ?    3 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

A join logical file has how many record formats?

605


which of the following operations does not zero the field flda defined as 4,0?

711


in which specification the report layout can be defined?

984


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

964


What is program status data structure(psds) in as400?

613






what is the maximum number of parameters allowed in rpg?

1046


how can you specify no duplicate key?

712


what does opcode post do ?

1103


what are necessary keywords to code message subfile?

1038


Difference Between Source Physical File & Physical File?

648


How to convert a spool file to PDF file in AS400?

741


what is the sequence when using cursor?

609


what is the syntax for plist?

652


what is a physical file?

1014


what is a logical file?

1047