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 |
Is it possible to create a logical file whose Physical file is not in same library?
can we concate fileds in physical file? If yes how can we do?
what is open data path? and what is the diff b/w access path and open data path?
What is the interactive job?
wirte a simple program for read file in cl
How to read a pf in reverse(from last record to first) using cl?
What is open data path? And what is the difference between access path and open data path?
what is open data base command
1 Answers Active Brains, Cognizant, CSC, CTS,
YOU CAN DELETE THE RECORD SPACE PERMENANTLY IN PHYSICALFILE THROUGH CL?
I have a pf, it contains 5 members, how to access particular member data from logical file?
How to find the list of source physical files in a library?
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?