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

What is the primary file?

0 Answers  


How many maximum record format a logical file have?

0 Answers  


How to update physical file using logical file with example?

0 Answers  


how can i know logical file belongs to which physical file without source?

3 Answers   Cap Gemini,


how can we write LF using flatfile.

9 Answers  






What is the interactive job? What is the batch job?

0 Answers  


How many max. Record format a logical file have?

13 Answers   Systime,


CRTDTA AND CRTARA should be used along with?

2 Answers  


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

6 Answers  


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

0 Answers  


How to read a PF in reverse(from last rec to first) using CL?

3 Answers   HCL,


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

3 Answers  


Categories