steps for debugging two rpg programs????

Answers were Sorted based on User's Feedback



steps for debugging two rpg programs????..

Answer / samul

If you question is related to debug 2 pgms
(PGMA>>>Calling>>PGMB)both are rpg pgms.

Compile PGMA with source type(*SRCDBG) and PGMB with
(*Source)

1)STRDBG PGMA

2)In debuging view press F14 and selct option 1 ,specify
pgm name ,library.

3)press enter ,select module source from list,add break
point in PGMB

4) Press F14, add brk point sin PGMA.

5) Call PGMA

It will start the debugging for 2 pgms


Hope it's enough ....

Cheers.. Samul


Is This Answer Correct ?    11 Yes 1 No

steps for debugging two rpg programs????..

Answer / sunil kumar

what ever samul told above steps those are correct.

Is This Answer Correct ?    1 Yes 0 No

steps for debugging two rpg programs????..

Answer / daithuan

Samul is correct but his answer applies only ILE RPG not OPM RPG.

Is This Answer Correct ?    0 Yes 0 No

steps for debugging two rpg programs????..

Answer / sudhir

STRISDB PGM(PGMNME) UPDPROD(*YES) invpgm(*YES)

You dont need to have break points for RPG(OPM).
hit F14 (SHIFT F2) and use option 1 to add the programs you
want to debug.. Just hit F5 and you can continue your
debug..

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More RPG400 Interview Questions

how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.

3 Answers   iGate, Wipro,


there is any limit to display the members in rpg400?

3 Answers  


can i use unique key in LF

3 Answers   TCS,


Difference between RESET and CLEAR

1 Answers   TCS,


what is the difference between do while and do until?

0 Answers   IBM,


suppose a job is running for 15 minutes after that it goes to message wait? what are the impact analysis

1 Answers  


use of PUTOVR,OVRDTA,KEEP keywords?

2 Answers   HCL,


wat is curser?? and its types???

4 Answers   HSBC,


How can i check the object existance in RPG program without using QCMDEXC command.

7 Answers   IBM, JDA,


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

2 Answers  


Can more than one subfile record be displayed on one line?

7 Answers   IBM,


What is the significance of UDATE?

5 Answers   IBM,


Categories