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
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
How to select highest score of each subject or how to select highest income of every month?
How to declare the pull button in AS/400..
how do I declare a table or array in rpg iv?
How would display prime numbers using CL program?
how can I tell when to replace the array?
How many program bind in one module....
are there any useful c runtime apis that I can call from rpg iv?
What is the difference between iter and do?
Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?
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.
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
How can we override a file during runtime in rpg?
do you use message subfiles? What are the necessary keywords required coding a message subfile?
how does the rpg element work?