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 do you do indexing in a physical file?

2 Answers  


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

0 Answers  


What will happen if we r using seton lr after return or vice versa.

5 Answers  


I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?

2 Answers  


what is file information data structure?

1 Answers   IBM,






what is the difference between do while and do until?

0 Answers   IBM,


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

2 Answers   CTS,


Hi guys, anybody know How RPG/400 code can be converted to RPG IV code with a single command?

1 Answers  


we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers

8 Answers   Cap Gemini, IBM,


1.How to read a subfile in out put mode? 2.what are the keywords used to share same file? 3.using composite key which rpg code used?

3 Answers   HSBC,


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


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

1 Answers  


Categories