I have to change a program. This program is calling a
subroutine mor than 100times within it. so will it have any
performance issue? if yes than what changes i can make.
Thanx for ur valuable answer.

Answers were Sorted based on User's Feedback



I have to change a program. This program is calling a subroutine mor than 100times within it. so w..

Answer / jayaprabhu

Your program may call 100 times are more than that it does
not affect the Performance issue .

Is This Answer Correct ?    6 Yes 1 No

I have to change a program. This program is calling a subroutine mor than 100times within it. so w..

Answer / syam

Your Question not clear. Why you are calling program any
data validation? Only to validate you can use dataarea also.

Is This Answer Correct ?    2 Yes 3 No

Post New Answer

More RPG400 Interview Questions

wat is scan and check ? give me real time scenarios where we used these keywords in ur projects?

2 Answers   Four soft,


Anyone help me for the below question:- If problem/error occur in *PSSR subroutine,how should I handel it in RPG program.

1 Answers  


How I can reread the physical file in CL program once the end of file reached in same CL program.

20 Answers   IBM,


1.Are there any errors in the following statement?If so then list them.DTAARA is a data area having a field EMP # and EMPNO is a field in the file EMPPF.Which has one record. READ EMPPF IF %FOUND(EMPPF) IN DTAARA EVAL EMP#=EMPNO OUT DTAARA ENDIF

5 Answers  


use of PUTOVR,OVRDTA,KEEP keywords?

2 Answers   HCL,






Explain mdt?

0 Answers  


am 2010 passed out . can any one tell me which course is good to put 2+fake .guide me

1 Answers  


1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.

2 Answers  


Write the subfile logic program for the given concept. Load the data to the subfile depends upon the designation where designation is not a key field?

2 Answers   TCS,


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.

0 Answers  


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???

3 Answers   HSBC,


i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


Categories