HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG)
STATUS.I KNOW THE STEPS FOR BATCH DEBUGGING,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,PLEASE
HELP ME....
Answer / chandu
My Self found 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.
| Is This Answer Correct ? | 16 Yes | 0 No |
how do u find whether a record is locked or not??
What would be the result on writing a data record to a PF file using the "WRITE" opcode after the SETON *ON *INLR statment?
How can we receive values from a called procedure in RPG?
Are all these RPG/400 Interviewed Questions being asked recently? are current?
Can we create 300 logical files based on a single physical file using the CRTLF command only once?.
How do you know if a record exists without doing a READ and CHAIN?
How to add 2 new fields in a file? How many ways are there in as400?
what is estimation? and what is the level identifier parameter in PF?
Can somebody tell me that, Is it possible to read all the member of PF without OVRDBF?
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
Hi friends, Can you give the solution for the below mention simple code.and explain.what is output D CHR1 S 4A INZ('PEN') D CHR2 S 10A INZ('MYGET') D CHR3 S 8A INZ('GOOD') D CHR4 S 22A INZ C MOVEL CHR1 CHR4 C MOVE CHR2 CHR4 C EVAL CHR4=CHR3 C MOVE CHR1 CHR4
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen