what is program status data structure?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

can I touch the array during treatments?

767


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.

2060


What are the types of identifiers?

579


do you use message subfiles? What are the necessary keywords required coding a message subfile?

698


is this a rpg channel?

691






What is difference between bind by copy and bind by reference?

1741


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

1889


When it is desirable to describe files Internally?

1202


how can I tell when to replace the array?

712


explain sflclr, sflend, sfldlt, and sflcsrrrn?

898


what is the difference between do while and do until?

722


how can you display specific subfile page on the screen in unequal subfile?

681


what do you mean by an input subfile, what are the keywords required?

787


what is the necessary keyword needed to scroll subfile records?

711


what was the robotech rpg?

691