Can any one plz explain the concept of INFSR, *PSSR, INFDS
AND PSDS, I' confusing about PSDS and *PSSR, Wat is the
difference btw them, wat PSDS will do????



Can any one plz explain the concept of INFSR, *PSSR, INFDS AND PSDS, I' confusing about PSDS a..

Answer / jeganath

PSDS is a program status data structure.
*PSSR is a subroutine to handle error occured in the program

Whenever there is error occured in the program, the status
defined in the PSDS get changed to some value based on type
of error,

at the same time the control transferred to *PSSR
subroutine , from there we can handle the error based on
the status value from PSDS.

we can rollback or we can modify/reset value based on
requirement

Is This Answer Correct ?    5 Yes 1 No

Post New Answer

More RPG400 Interview Questions

The RP program is displaying records 11 times .But there are 10 records in a pf.(ie last record is displayed twice).How to display records only 10 times?

5 Answers  


i want to perform uniqness on db file bt my db file nt hving key by useing rpgle.

3 Answers   HSBC,


suppose we have 10 members in physical file and i have to use 4 out of 10 so how can we read this in RPG

3 Answers   TCS,


Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

0 Answers   TCS,


When a object will be locked & when a record will be locked? Plz explain.

2 Answers  






which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?

1 Answers  


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

0 Answers   HCL,


What is the difference between copybooks and subprocedures in as400?

0 Answers  


parameters cannot be passed in which one??

2 Answers   CTS,


can anybody explain significance of *loval setll with example code????

3 Answers   HSBC,


I know chain keyword retreive records randomly but how chain keyword exactly works internally????

4 Answers  


what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code

2 Answers   IBM,


Categories