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

1.WHAT IS WRONG WITH THE CODE BELOW? C CUSTNO CHAIN CUSTMAST IF %ERROR can any body find the wrong please? 2.What builtin function will you use to achieve the following functionality? C QTY IFLT *ZERO C QTY MULT-1 QTY ENDIF

5 Answers   CTS,


what is the difference between the procedure and module in ILERPG?

4 Answers  


I have some doubts on subfile----------- -----I wrote a prog on subfile to display the records. Every thing is clear but i defined a field called "opt" as input field in subfile record format from that input field i wish to enter into new screen called "EDIT" which i created it as a separate RCD in display file. i gave opt as 2 for edit just like in WRKMBRPDM screen please telll me the code and how can i code for it in RPG.

3 Answers  


You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?

1 Answers  


I know whole thing ab't Arrays related to declaration..can anyone tell me what exactly use of array or anyone faced a situation where he found use of array must....

1 Answers  






1.find most occurrences of a character. for exm: input:aaabbbbdddddyyy output: d 5 times how can i get that?

14 Answers   HCL,


Hi,This is raju.Can any body give me the real experience answer for this question? 1.What is the significance of *MAP and *DROP in the CPY command?

3 Answers  


Hello, I want to extend a length of field in my Display file(Subfile). Please suggest the possible steps. Thanks

3 Answers  


parameters cannot be passed in which one???

4 Answers   CTS,


How to declare the dynamic(run time) array in rpgle? can you please give example

2 Answers   Polaris,


How to read a record from file where there is multiple record occurrence is available?

1 Answers  


How can we call CL program to RPG? How many number of parameter we can pass

2 Answers   TCS,


Categories