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 |
What is the primary file?
Hi, Please give the answer to this question? I have Phisical file with 100 records,there is no any duplicate records in this pf.Based on this pf one Logical file i have used.But this lf is viewing only 80 records only of that pf?What is the reason for this?Please give me answer?
how to see number of logical files depending on a pf?...can we declare more than 20 logical files from a single pf? is it possible
How many libraries can be there in a library list?
how to update physical file using logucal file with example
i have a PF,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in PF
How can we know that a trigger has been added on a PF? and what is the purpose of adding a trigger?
How to insert more than one record to a pf at a time?(Bulk insert to a pf)
There are six records in a file and we are going to update that records and used commit operation when it complete the update but suppose when it updating the third record,a error occured and operation failed.Is previously two records will be update or whole operation will be rollback? Please confirm it.
wirte a simple program for read file in cl
What is the use of member in pf?
I have a PF with out any data but the dependent LF is having data?