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 / karan patel

First of all create the pgm file and than and write SP in place of options and than find ur pgm file last one,than put 5 on that pgm file,it will open a window,type B to go bottom,and just one page up will take u to the code and line by line error in,and than u can resolve it,hopefully u can get all ur errors there....

Is This Answer Correct ?    4 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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?

887


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

580


give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........

3419


How many program bind in one module....

2230


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

2602






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

798


what is the rpg system?

767


how do I declare a minor?

797


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

777


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4509


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?

715


what is data area and how it is used in rpg program ?

841


what is the difference between do while and do until?

799


When it is desirable to describe files Internally?

1275


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

643