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 |
How to find d key field of a pf that doesn’t have source physical file?
How to write record if no field or the field are different in physical file in rpgle ?
How do you do indexing in a physical file?
I have a Physical File name 'File1', which is present in two libraries named 'LIB1' & 'LIB2'. These 2 libraries are listed in the library list. Would like to access data from this file from these two libraries using RPG program. How to do this, any idea?
what is file information data structure?
Can anybody tell me that why we use option(*nodebugio)in H- Spec?
please help me answer to this question what is the difference between the binding and srvpgm in ilerpg?
Can we used ovrdbf command after the opnqry file if yes then What will be out put of your program?
Why did we give STRSRVJOB while debugging batch program
1.what are the ARITHMETIC EXPRESSIONS IN CL PGM? 2.How to PASSING PARAMETER TO CL PGM?
1. If my rpg program has a date field, What extra care I have to take while compiling that RPG program? 2. If the file is keyed and I have declared the file as well as Key list properly in my program. Still am getting an error message like "Chain/reade operation is not allowed" What may be the case?
I have a PF(ABC)with no key fields. PF(ABC)have 2 fields (cusno and cusname). Please let me know how can i read the cusno = 1150 directly from PF in CL and RPG program(Without creating the LF and without reading the complete file and then compare 1150)