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

can we define multi-dimensional arrays in rpg ?

1 Answers   IBM,


What is the difference between crtdupobj and copyf?

0 Answers  


how many types of display are available on as/400 for user interaction?

0 Answers   IBM,


what key word is used when screen is re-display?

0 Answers   IBM,


what is a composite key?

1 Answers   IBM,






where can you specify an indicator in lokup operation?

1 Answers   IBM,


what does the ovrdbf command do?

0 Answers   IBM,


Q. 1.What would be structure of CL PGM. 2. What are the levels of CL PGM. 3.How many files can be defined in new CLLE program?

3 Answers   IBM,


What are the different types of access paths maintained on the file?

1 Answers  


How to reverse a string using RPG?

0 Answers  


Feedback about ELI Faridabad.

3 Answers   Eli India,


how will you find a string using pdm?

0 Answers   IBM,


Categories