A pgm subroutine calling child subroutine, that child
subroutine again calling parent subroutine, u have 1000
lines of code, with out debugging , how can u find that error???
Is there any command to find errors in pgm???

Answer Posted / dileep

we can find out error by specify Monitor opcode

Monitor
Parent subroutine
Exsr child subroutine
on Error
Display Subrouitne parent
End Monitor
Monitor
Chile subroutine
Monitor
On Error Child subroutine
Display Subroutine child
End Monitor

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

which program rpg or cl is efficent to update a transaction onto a database file and why ?

842


how do I preserve and clean the array?

748


How can we override a file during runtime in rpg?

785


Suppose we have one database file and it is used by 5 programs and in 3 program we have to add some records in datbase file s what is the impact on other program?

1551


How can we know running job is batch or interactive?

749






what is the difference between do while and do until?

801


What are the types of identifiers?

660


how do I declare a minor?

797


during execution, an rpg/400 program automatically follows a sequence of operations for each record that is processed. The built-in program cycle includes the following logical steps.

868


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

798


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

580


is this a rpg channel?

770


what was the robotech rpg?

760


Interviewer asked me write down DDS for load all subfile .can anybody write dds

1141


explain sflclr, sflend, sfldlt, and sflcsrrrn?

973