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

purpose of pannel group??/

2 Answers   CTS,


As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?

1 Answers  


What is use of IMPORT and EXPORT in RPGLE ? What is activation Group ? What is Service Program ???? How to call another program in RPGLE ?

1 Answers  


what do you mean by SESSION/DEVOCE ERROR?

1 Answers   IBM,


Delete FileName at first statement in RPG.

1 Answers  






I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....

1 Answers  


what r drawbacks of OPM? Why do we go for ILE RPG?

1 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  


What is SFLNXTCHG keyword why it has used and where? Briefly explain with Example.

2 Answers   IBM,


what is file information data structure?

1 Answers   IBM,


What is the significance of UDATE?

5 Answers   IBM,


what is the difference between the cpyf command crtdupobj command?

9 Answers   IBM,


Categories