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????
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 |
how do I declare a table or array in rpg iv?
How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?
is this a rpg channel?
How can we know running job is batch or interactive?
In case if I want to know whether a record exists in a file, which one do you prefer CHAIN or a SETLL and why ?
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E
RPG/400 number of Records present in a physical file using file information data structure FPF001 IP E DISK F KINFDS INFDS1 IINFDS1 DS I *RECORD RECORD Is this coding correct sir,i have given I P E that is I- input,P-primary file,E-externally described. Primary to use RPG logic cycle,is this the correct method because we have to find number of records present using file information data structure in RPG/400 without doing any input/output operations on the file and also without using DSPFD,SQL. If the above coding is correct means,when i compile the program it gets compiled,but if i call the program it does not return anything,i need number of records,please complete the coding sir.
How to read alternative records in a pf by using rpg?
I want to declare the number of elements of an array dynamically in RPGLE ? Is it possible? If yes, then how do I do it ?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
1.What is referential Integrity? 2.What is Foreign Key? 3.What is Transfer Control? 4.What is Free format?
what is the rpg system?