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

what is file identifier wher we can use

1 Answers   IBM,


How do you know if a record exists without doing a READ and CHAIN?

6 Answers   IBM,


parameters cannot be passed in which one???

4 Answers   CTS,


How to index LF by relative record no (RRN)

1 Answers  


what is file information data structure?

1 Answers   IBM,






You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


Suppose we add one field in physical file and this physical file is used by several programs.how do we know which program is using that file? What are the impact analysis.

6 Answers  


1.Can any body share me about thease opcodes with example please.Im new for AS/400.Could u please tell me in real senario? 1.TESTN, 2.EVAL 3.EVALR, TIME, 4.MONITOR 5. ENDMON 6.ON-ERROR 7.COMMIT ROLLBACK?

1 Answers   CSC,


thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400

0 Answers   iGate,


Difference between creating a report using Printer file and WRKQRY(Query Report) ?

3 Answers  


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

0 Answers  


i have 6 char field in program, but this field is using in all files i want to chage field size as 10 char , how can i do this except using *like defn...?

1 Answers   IBM,


Categories