Anyone help me for the below question:-

If problem/error occur in *PSSR subroutine,how should I
handel it in RPG program.



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

Answer / samul

Control will again come to *PSSR subroutine,In such cases
switch needs to be handeled.

Using switch,if it is not a first time then control goes to
end suboutine (Need to specifiy *CANCL at the end of *PSSR
subroutine)

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More RPG400 Interview Questions

check existence of one record without using chain or read?

1 Answers   IBM,


1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400

10 Answers   IBM, Tech Mahindra,


Hi,Please give me complete code with this logic. The question is how to read the records from a file with load an array of size with error condition? (The logic is Z-Add 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN9 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO)please give me complete code with explanation?

1 Answers  


1.How can you search an entire source file for a particular field name? 2.How can you find the differences between two versions of the source for the same program? 3.What is a hidden field as it relates to a sub file? 4.How do you display a sub file that has no records in the sub file?

8 Answers   HCL,


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  






1.How you will find the program is batch or online in cl pgm? 2.How you will end the batch pgm when the job runs? write an logic? 3.In wich command the option *drop is used?

2 Answers   TCS,


what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

2 Answers   IBM,


Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?

1 Answers  


what is batch debug in as400?

3 Answers  


explain sflclr, sflend, sfldlt, and sflcsrrrn?

0 Answers   IBM,


What are different ways to pass data between programs and which one is the efficient way?

5 Answers  


Can we have a Physical file without any member ? Please let me know

12 Answers  


Categories