can any one tell me what is meant by PSSR? Kindly elaborate
it...



can any one tell me what is meant by PSSR? Kindly elaborate it.....

Answer / srujana

PSSR -PROGRAM STATUS SUBROUTINE
In RPG, there are Program Exception/Errors (divide by zero, array index error, etc.)
and File Exception Errors (any file error). As with MONMSG in CL, you can trap errors
at the program level or the command level.

Program Exceptions:
If a program encounters a program error, it checks to see if there is a *PSSR subroutine coded in the program. If there is, it executes the subroutine. If there isn't, the program "fails" with an error message.
A *PSSR subroutines may be executed like any other subroutine (using ExSR or CASxx). The EndSR for a *PSSR subroutine can contain a return-point instruction.

Is This Answer Correct ?    10 Yes 0 No

Post New Answer

More DB400 Interview Questions

what is use of self join and which cases you will use this join

1 Answers   TCS,


what is multiple member pf

1 Answers   Active Brains,


Suppose if a physical file is having 1000 records, but i deleted 500 records from it. Here the concern is can the size of the file changes or it remains the same... kindly help me out with thorough xplanation.... Thanks in-advance...

6 Answers   ABC, TCS,


what is the purpus of the chain and setll and setgt ?

2 Answers   Four soft,


I have a pf, it contains 5 members, how to access particular member data from logical file?

0 Answers  






what is open data base command

1 Answers   Active Brains, Cognizant, CSC, CTS,


Is Constent can be define as a key field?

3 Answers  


How to index LF by relative record no (RRN)

0 Answers  


Suppose I have a pf, it contains 5 members, how to access particular member data from logical file? What is the use of member in pf?

0 Answers  


If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.

2 Answers  


How to read a pf in reverse(from last record to first) using cl?

0 Answers  


what is the intractive job? what is the batch job ? how to change the batch job to interactive job?

2 Answers   Four soft,


Categories