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 |
one physical file can have how many max of logical files? what is the primary file?
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...
Last statement of any rpg program is lr?
I had created one physical file tell me command to enter data in to?
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?
what is the difference between adding keys & constraints into a phisical file
Is Constent can be define as a key field?
What is the primary file?
how to eliminate the level check error
I want to change the attribute of field or want to add new field in existing PF but condition is format level identifier should not change, is it possible?
Why journalling is compulsory before commitment control?