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
What Is The Error If We Don't Get Login Screen?
what is the maximum number of parameters allowed in rpg?
what are different types of substems?
writing an sql statement from selecting records from two files using single statement and nested select statement.
1)In a pf if we delete a record then how to insert a new record at the same place in that pf?? any logic or code? 2)A batch job is taking a lot of time to run,found that it is going into loop and wrapping up so how to skip that loop and process the job without changing the code? 3)In which scenario C D I R comes and C D G F comes in a job? 4)If a job came to error while processing a file how we can know at which record the error hit and how to skip that record and process other records without changing program code?
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?
What is dynslt?
What is the use of jdftval in as400?
what is the sequence when using cursor?
what is a spool file?
can a single screen format occupy a screen area above and below a subfile format ?
what is the difference between normal upddta to pf and updating using dfu program?
what is the difference between *like and *namvar ?
Can level check error occur if we do chgpf?
which single rpg opcode performs both setll and reade?