List and explain the different type of data structures?



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

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the difference between keys of a Physical file and the keys of a logical file?

2 Answers   Bank Of America, BoA,


What is keyword PFILE specifies ?

1 Answers  


what is lokup opcode?

1 Answers   IBM,


not all command typed on command line are cl command? true r false

3 Answers  


When will DUMP and DEBUG opcodes be ignored?

1 Answers  






Can we add or remove the module object from service Program..and how...?

4 Answers  


when do you use f-spec. Continuation line ?

1 Answers   IBM,


in conjunction with which statements can orxx and andxx conditions be used ?

1 Answers   IBM,


What is access path in as400?

0 Answers  


Diff B/w ref and reffld?

1 Answers  


How we will get issues on AS/400 technology ? I mean which issue/Defect Tracking tool is using in all companies when any issue comes? Can anybody explain about the work flow of AS/400 project ? plzzz

0 Answers  


What is the use of OVRDBF ?

1 Answers  


Categories