steps for debugging two rpg programs????

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?

1466


Explain mdt?

667


what is an online rpg?

733


if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.

2201


how do I declare a minor?

718






what is file information data structure?

1376


what is the difference between do while and do until?

713


are there any useful c runtime apis that I can call from rpg iv?

702


How to write record if no field or the field are different in physical file in rpgle ?

492


How to select highest score of each subject or how to select highest income of every month?

1299


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

551


How would display prime numbers using CL program?

5682


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?

519


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

692


what are the key words you must use when using a subfile?

694