How can we handle errors in RPG?
Answers were Sorted based on User's Feedback
Answer / as400 techee
First and foremost handling the errors in RPG are by using
Indicators, Subroutines like *PSSR, system defined data
structures like file information data structure(INFDS),
program status data structure (PSDS)
| Is This Answer Correct ? | 7 Yes | 0 No |
Answer / raghav
We can also handle exception using Montier, %Error in RPGLE programs
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / srujana
We can handle errors in RPG through PSDS:Program status data structure and INFDS: File Information data structure.
| Is This Answer Correct ? | 3 Yes | 1 No |
Q.1 how to implement the commitment control. 2.how to control commitment control from external program.
one physical file can have how many max of logical files? 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?
what is exception and how many types of exception
When u create a PF and did not fill up Maint parameter, then by default which access path will the system take & why
what is open data path? and what is the diff b/w access path and open data path?
I have a PF with out any data but the dependent LF is having data?
What is the interactive job? What is the batch job?
YOU CAN DELETE THE RECORD SPACE PERMENANTLY IN PHYSICALFILE THROUGH CL?
What is open data path? And what is the difference between access path and open data path?
What is the difference between access path and open data path?
Maximum how many fields we can create under a record format of PF?