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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

are there any useful c runtime apis that I can call from rpg iv?

700


what is the use of sflnxtchg?

805


If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?

622


how does the rpg element work?

718


1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.

5423






what is the procedure and explain about real time scenario.

1482


what is data area and how it is used in rpg program ?

758


how do I play {insert rpg system here}?

587


what is file information data structure?

1376


how can you display specific subfile page on the screen in unequal subfile?

676


can you debug ile rpg program using isdb?

739


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1563


explain sflclr, sflend, sfldlt, and sflcsrrrn?

891


is this a rpg channel?

681


Explain mdt?

667