How can we handle errors in RPG?

Answers were Sorted based on User's Feedback



How can we handle errors in RPG?..

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

How can we handle errors in RPG?..

Answer / raghav

We can also handle exception using Montier, %Error in RPGLE programs

Is This Answer Correct ?    3 Yes 0 No

How can we handle errors in RPG?..

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 can we handle errors in RPG?..

Answer / srisailam

BY USING OPERATOR EXTENDER E
EX:READ(E)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More DB400 Interview Questions

how to restrict upon adding the data for field reference file in DB400

1 Answers  


What is the purpose of the chain and setll and setgt?

0 Answers  


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.

2 Answers  


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?

0 Answers  


I have a PF with out any data but the dependent LF is having data?

1 Answers   HCL,


how can we write LF using flatfile.

9 Answers  


How to retrieve a physical file after deleting that ? what is keyword used for that....??

6 Answers  


what is open data path? and what is the diff b/w access path and open data path?

3 Answers   Cap Gemini,


wirte a simple program for read file in cl

2 Answers   Active Brains,


Is it possible to create a logical file whose Physical file is not in same library?

6 Answers  


WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?

5 Answers   Accenture,


How many maximum record format a logical file have?

0 Answers  


Categories