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
What is ment by record level identifier?
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.
How many program bind in one module....
can I touch the array during treatments?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
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...?
what is a rpg?
what is data area and how it is used in rpg program ?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
What are the types of identifiers?
How to write record if no field or the field are different in physical file in rpgle ?
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
how do I declare a table or array in rpg iv?
can you debug ile rpg program using isdb?
When we have a file with Duplicate records and I want to read the unique record from the file. For example a file containing Emp Name as 'Ram' and there are 3 entries of it. So how to read a unique record from File?