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
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?
how do you use commitment control in rpg?
How can we know running job is batch or interactive?
what is the difference between do while and do until?
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?
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...?
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.
what is the necessary keyword needed to scroll subfile records?
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.
write an RPG program to calculate the marks of 5 students (A,B, C, D, E)in 3 different subjects (eng, math, sci) an display on the screen
What is the difference between iter and do?
When it is desirable to describe files Internally?
how do I preserve and clean the array?
what is the use of sflnxtchg?
what is data area and how it is used in rpg program ?