IBM AS400 Question: Download IBM AS400 PDF

HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS. I KNOW THE STEPS FOR BATCH EBUGGING, BUT IM CONFUSING WITH WHEN WE SUBMIT ANY JOB FOR BATCH DEBUG WE PUT IN HELD STATE. SO HERE ALSO DO SAME THING OR ANY OTHER WAY?

Tweet Share WhatsApp

Answer:

it is also normal process like as batch job steps...
when we found job in MSGW using WRKSBMJOB,simply we can enter into job log using 5 option.
after we start at command line.
step1-> STRSRVJOB jobnum/jobname/user
step2-> STRDBG pgmname
when we press enter,the control will directly goto
the error occurred line,here we can change any values directly using EVAL then after press F3,it will sho wjob log screen,then again press f3 to come to MSGW screen.here press 7(display message screen) to continue the execution of batch job we press G(continue).then it will execute remaing steps without abnormal ending the job.

Download IBM AS400 PDF Read All 25 IBM AS400 Questions
Previous QuestionNext Question
Suppose 4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge which only 2 persons at a time can cross. its night and they have only one flashlight with them. Flashlight cannot be thrown. one person should return with the flashlight

all 4 person have different speed.

a = crosses bridge in 1 min.
b = crosses bridge in 2 min.
c = crosses bridge in 5 min.
d = crosses bridge in 10 min

how can they all reach in time?

Ex- suppose a and d crosses bridge which will take 10 mins and then d returns back with a flashlight which will make 20 mins and mission is failed.?
How to retrieve RRN value in RPGLE program?