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

When u create a PF and did not fill up Maint parameter, then by default which access path will the system take & why

2 Answers   HCL,


Define interactive jobs and batch jobs

6 Answers  


How to know logical file belongs to which physical file without source?

1 Answers  


how to update physical files using normal logical file

4 Answers  


In how many ways we can create a logical file?`

5 Answers  


What is FORMAT keyword and its use?

1 Answers  


How many libraries can be there in a library list?

2 Answers  


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

1 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?

1 Answers  


what is use of self join and which cases you will use this join

1 Answers   TCS,


Q.1 how to implement the commitment control. 2.how to control commitment control from external program.

7 Answers   IBM,


I had created one physical file tell me command to enter data in to?

1 Answers  


Categories