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 |
i'm working on progA , in that program i want to see the userids of the users who work on this program?
1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?
We have a Physical file, after reading 5 records,it has to read LF of that same Physical file,Will it start reading from Ist record or will start reading from 5th record?
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.
What is the name of default out queue when user logs inn to syatem with valid profile?
How to read data from Nth member of a physical file containing some X number of members in it? "Provided member names are unknown"
what is program status data structure?
I have a file .In that file i have 3 fields. Those fields are eno, ename, esal.Keyfield is eno. In that file i have data like this for eno 1,2,3,4,5. Now i need to display 2nd record. That means i need to set the pointer on 2nd record... Then, write the complete rpg program using setll.
How to call one program from another program in RPG? please help me with the code
steps involved in debugging and types of debugging modes?
if there is pf in two libraries and there is a logical file based on the PF, how to find the pf on which the pf is based.
what is *place and *auto keyword in prtf ?plz explain