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....



HOW TO DEBUG A BATCH JOB WHEN IT IS IN MESSAGEWAIT(MSWG) STATUS.I KNOW THE STEPS FOR BATCH DEBUGGI..

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

Post New Answer

More RPG400 Interview Questions

wat is curser?? and its types???

4 Answers   HSBC,


what is difference between DSPFD and DSPFFD?please give me real senario with good example?

1 Answers  


Suppose my file has 10 fields and I want to make the 2nd field zeros in all records. And assume I have millions of records and I dont want to read each record and update the desired field with 0. Any other way to do this in one step operation?

1 Answers  


can anyone say,what is the use of operation extended H/N/P?

2 Answers  


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

0 Answers   IBM,






How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


Can anybody tell me, does CL/400 handle LEVEL check while running the CL program....? plz share your experience...

4 Answers  


purpose of pannel group??/

2 Answers   CTS,


how do u find whether a record is locked or not??

4 Answers   CTS,


How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?

6 Answers   CSC,


How do you do indexing in a physical file?

2 Answers  


What are the values of NUM1 and NUM2 after executing the following code? CLONO1NO2NO3 Factorl÷÷+OpcdeFactor2+÷+ResultLenDHHiLoEq C MOVE *LOVAL NUM1 50 C MOVE *J-fIVAL NtJM2 52

2 Answers   Fiserv, IBM,


Categories