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 error handling concepts in cl

3 Answers   Active Brains,


what is the difference between adding keys & constraints into a phisical file

6 Answers   HSBC,


When u create a PF and did not fill up Maint parameter, then by default which access path will the system take & why

2 Answers   HCL,


how to know total no of records in pf with out using sql??????

3 Answers  


1. How can I create a LF using crtlf command based on a particular member in a multimember PF? Where I have to specify the member name? 2. How to differentiate between the types of join from a Join logical file DDS. Is it possible to have different types of Join Logical files? 3.Any performance difference between Opnqrf and Embedded SQL? When I should prefer Opnqryf and when SQL? 4. I know access path is the path chosen by the program to retrieve data. It can be of keyed access path or arrival sequence. *IMMED- *IMMED description says access path is updated each time record is added or deleted from a member. - What is updating here? *REBLD - The access path is completely rebuilt each time a file member is opened. The access path is maintained until the member is closed, then the access path is deleted. - I am not able to understand this completely. Could anyone explain these more clearly? 5.What is the purpose of using activation group. I know it is a resource allocator, but other than this any other benefits of using an activation group?

2 Answers   IBM,






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,


How can i retrieve city while my i have one field address length 60 but i don't know what where is city in this field ?

4 Answers  


how can we write LF using flatfile.

9 Answers  


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

2 Answers   Four soft,


how to update physical files using normal logical file

4 Answers  


Can anybody tell why Journalling is compulsary before Commitment Control?

2 Answers  


Is it possible to create a logical file whose Physical file is not in same library?

6 Answers  


Categories