what is program status data structure?



what is program status data structure?..

Answer / bipul kunal

A Program status DS can defined to make program exception/error information available to an RPG program.

DS is defined as program status DS by an S in position 18 of the DS statement.

*STATUS contains status code.
*ROUTINE : contains name of routine in which the exception/error occurred
*PARMS : contains the number parameters passed to this program from the calling program.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More RPG400 Interview Questions

difference between 1:%found and %equal built function in detail with example .

6 Answers   Polaris,


I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 Answers  


1.What is the Maximum field length we can declare in RLU?? 2. What is the difference if your designing RLU using DDS and using the option 19 for the RLU??

2 Answers  


What is the purpose of Panel Groups?

4 Answers  


How we will read call stack?

4 Answers  






Hi, Can anybody give me real sinario for SFLRCDNBR?with example?

2 Answers  


Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.

1 Answers   CTS, IBM, iGate,


How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.

4 Answers   IBM,


how to display all the members records in a physical file without using ovrdbf?

9 Answers  


1. I have2 records in a PF. READ PF DO DSPLY EMPNO RETRN DSPLY EMPNO ENDDO What was the output 2. SETON LR vs RETURN 3. Primary File 4. How to delete a deleted spaces 5. How to read a PF in reverse order in CL 6. I have a object in Lib A, B and C. But it shows in D Lib..Why? 7.

4 Answers   HCL,


How to find d key field of a pf that doesn’t have source physical file?

2 Answers  


Job is in MSGW while reading the input file and writing a new record / updating a reacod due to Duplicate data error. What action would you take ( C D I R )...?

4 Answers  


Categories