Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

0 Answers  


What is a Device file?

1 Answers  


how can you detect and handle a record lock situation?

1 Answers   IBM,


Job is running in production 24/7 how do u debug that running job ?

1 Answers   Wipro,


writing an sql statement from selecting records from two files using single statement and nested select statement.

0 Answers   IBM,


What are Triggers?

14 Answers   Ordain Solutions, Seabus Solutions,


what are all the contents of subfile?

1 Answers   IBM,


HOW CAN WE ENTIRE OBJECTS& IT'S TYPE IN PGM?

1 Answers  


What is the purpose of the following I UDS I 1 60ORDER# I 7 90LINE#

1 Answers  


What is the difference between externally described file and program described file?

1 Answers  


List and explain the different type of data structures?

1 Answers  


What is primary file? How many primary file can be declared in a RPG program?

3 Answers   IBM, Valtech,


Categories