List and explain the different type of data structures?
Answer / pratap thakur
* Data area data structure: When the data area is defined in an RPG/400 program as a data area data structure, its data is implicitly retrieved for processing and written back at the end of the program. In the data area data structure, letter "U" must be entered to define the data structure as a data area data structure.
* File information data structure: A file information data structure provides exception/error information that may be occurred when processing a file during program execution.This type of data structure contains pre defined sub fields that identify
* The name of the file for which the error occurred
* The record processed when the error occurred
* The operation being processed when the error occurred
* The status code number
* The RPG/400 routine in which the error occurred. Exception errors may be controlled by testing for an error code in the *STATUS field which is included in a file information data structure.Specifically, keywords including *FILE, *RECORD, *OPCODE, *STATUS, *ROUTINE provide the previously named information.
* Program status data structure: Program status data structure however identity exception/errors that are generated in the program by RPG/400 operations and not by a file.Note that any code greater than 00099 is flagged as an exception/error.Four keywords - *STATUS, *ROUTINE, *PROGRAM, *PARMS are supported by a program status data structure.
| Is This Answer Correct ? | 0 Yes | 0 No |
how can i get the cursor position in display screen to to display my window?
(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these keywords is necessary. (2)If we will not define these two keywords (PGMand ENDPGM) then any error will be come or not.
What is class of service ?
Define the purpose of Factor 1 the Operation Code and *IN15 in following code HI LO EQ C *YMD Test(D) yymmddDate 15
What are Triggers?
14 Answers Ordain Solutions, Seabus Solutions,
what is the use of jdftval in join logical file?
How do you check object lock
Can anybody know difference between SNDUSRMSG AND SNDPGMMSG IN CL PROGRAMMING? IF DON'T KNOW MAIL ME @ gkarthik.as400@gmail.com
Define a Job Queue?
how to run other job when one job is active?
What is the purpose of "A CSRLOC (F1ROW F1COL)"?
What is a message file?