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



Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found..

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

Suppose i am having 3 programs PgmA,pgmB,pgmC and using source debugger. At debugging time i found..

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

Post New Answer

More RPG400 Interview Questions

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?

6 Answers   Virtusa,


What is the difference between inner join @ outer join

4 Answers  


1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?

13 Answers   HCL,


WHERE DO WE USE COMIT KEYWORD IN AN RPG PROGRAM? YOU MADE SOME CHANGES TO DATABASE BUT YOU DON'T WANT TO SAVE THOSE CHANGES NOW? HOW DO YOU HANDLE THIS ONE?

2 Answers  


Let?s consider a variable X of length 20. Move value ?ABC? to it.How to determine how many characters does X have?

1 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?

0 Answers  


How can we change element of compile time array?Can we do so

1 Answers   TCS,


Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks

3 Answers  


what is the difference between the procedure and module in ILERPG?

4 Answers  


what is the equivalent keyword for CHAIN opcode ??

7 Answers   TCS,


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

0 Answers  


CAN WE READ RECORDS WITHOUT USING SETLL,READ,CHAIN IN RPG?

6 Answers   Satyam,


Categories