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 |
What is the primary file?
How many maximum record format a logical file have?
How to update physical file using logical file with example?
how can i know logical file belongs to which physical file without source?
how can we write LF using flatfile.
What is the interactive job? What is the batch job?
How many max. Record format a logical file have?
CRTDTA AND CRTARA should be used along with?
Is it possible to create a logical file whose Physical file is not in same library?
What is the purpose of the chain and setll and setgt?
How to read a PF in reverse(from last rec to first) using CL?
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