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 |
how to restrict upon adding the data for field reference file in DB400
What is the purpose of the chain and setll and setgt?
If we use the file level keywords like LIFO, FIFO, FCFO in a file, can we see the impact of it by doing the run query of the file? if not how can we see the impact of these keywords.
Suppose 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?
I have a PF with out any data but the dependent LF is having data?
how can we write LF using flatfile.
How to retrieve a physical file after deleting that ? what is keyword used for that....??
what is open data path? and what is the diff b/w access path and open data path?
wirte a simple program for read file in cl
Is it possible to create a logical file whose Physical file is not in same library?
WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?
How many maximum record format a logical file have?