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

What is the difference Return and InLr?

3 Answers  


1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?

3 Answers  


what is flat file?

1 Answers   IBM,


Anybody can explain the difference between SFLCLR & SFLINZ?

7 Answers  


How to code Page up and Page down in RPG for Single page subfile without using ROLLUP/ROLLDOWN in DSPF ?

3 Answers   HCL,






How can a screen field that has changed since the last output operation be detected?

4 Answers   IBM,


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

3 Answers  


RPG/400 faqs?

1 Answers   HSBC,


1.Write code to read the records from a file and load an array of size 99? Make sure that you take care of all the error conditions?

2 Answers   HSBC,


i'm working on progA , in that program i want to see the userids of the users who work on this program?

10 Answers   Four soft,


please guys help me,I need to write a program that shows more than one way to display a subfile. Both views are of the same file but sorted differently and show different fields of the same file when the user presses a function key. send me code

4 Answers   Virtusa,


How to declare the pull button in AS/400..

0 Answers  


Categories