Suppose i am having 3 programs PgmA,pgmB,pgmC and using
source debugger. At debugging time i found that pgmC having
some code error..then in debug mode directly how can i
debug pgmC
Answers were Sorted based on User's Feedback
Answer / swathi
The answer Sudha mentioned is how to keep a program in
debug.
To keep a 2nd program in debug while in debugging the first
program, (if you are debugging ProgA and you want to debug
ProgC), follow these steps:
1. Press F14(Shift+F2) when the source of ProgA appears
2. Add ProgC to the list
3. Take '5' corresponding to ProgC which is added to the
list. Now the source of ProgC is displayed
4. Place a breakpoint and press F12 to continue.
Is This Answer Correct ? | 13 Yes | 0 No |
Answer / sudha
First we have to Create source of PGM-C at time of
compilation, then strdbg PGM-C then source will appear and
give break point wherever you want, then F12 to go out of
program.Then call the calling program it will go directly
to pgm-c program in debug mode.
Is This Answer Correct ? | 6 Yes | 2 No |
1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
What is ment by record level identifier?
two attributes which govern the excecution of a job>>>>??
how many variables can we declare in cl pgm?
why we do STRSRVJOB in batch debugging in as400
What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???
how can I tell when to replace the array?
what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?
how we create binder member for updating service program and where we type this code on command line or in program ? strpgmexp pgmlvl(*current) export symbol (xyz0 endpgmexp. plz explain me this step by step .
do you use message subfiles? What are the necessary keywords required coding a message subfile?
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?