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 / uday bagadi

This Pgm actually getting run-time error not a compile time (compile time error we solved by spoon file) and run-time error handle by debug.As per my knowledge your pgm getting infinite loop so remove child subroutine calling to subroutine

Is This Answer Correct ?    8 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between bind by copy and bind by reference?

2093


what is file information data structure?

1749


explain sflclr, sflend, sfldlt, and sflcsrrrn?

1076


How to call one program from another program in RPG? please help me with the code

1467


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

937


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

690


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

700


What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?

2716


Explain mdt?

855


Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2264


How to define data area in RPG program? In which scenario multi occurrence DS is use in AS400?

1744


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

753


How would display prime numbers using CL program?

5936


How to handle duplicate error handling in RPG?

1950


how can I tell when to replace the array?

887