Answers

Question and Answer:

  Home  IBM AS400

⟩ 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?

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.

 160 views

More Questions for you: