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

2 Answers   TCS,


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

0 Answers   Wipro,


What is ment by record level identifier?

0 Answers  


two attributes which govern the excecution of a job>>>>??

2 Answers   CTS,


how many variables can we declare in cl pgm?

13 Answers  






why we do STRSRVJOB in batch debugging in as400

1 Answers  


What hapens when we use CPYF command to copy a LF? On which PF will it be dependent???

7 Answers   HSBC, Systime,


how can I tell when to replace the array?

0 Answers   IBM,


what is mean by *MAP and *DROP?what commands use these two keywords?why are they used?

4 Answers  


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 .

2 Answers  


do you use message subfiles? What are the necessary keywords required coding a message subfile?

0 Answers   IBM,


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?

1 Answers  


Categories