what is data structure?how many types of data structers?

Answer Posted / jeet

Data structure is specified in the Input Specification of an RPG 3 Program where as in RPG 1V we specified in 'D' specification.
Data Structure is define an area in storage and layout related subfields.
There are 4 types of data structures
1) Data Area Data Structure
2) File Information Data Structure
3) Program Status Data Structure
4) Multiple Occurence Data Structure

Data Structure is used for
1) To break fields into subfields
2) To change the format of the field
3) To Group non-contiguous data into contiguous format
4) To convert data.

Is This Answer Correct ?    12 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What Is The Object Type Of Pf, Lf, Printer File & Display File?

941


hi guys i am new for sqlrpgle, please suggest me good websites and theory and coding. plz plz its very urgent.

2337


If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?

1686


what keyword must be used with protect keyword ?

1442


what are indicators?

805


what is the disadvantage of using global variable?

892


give three main purposes of file specification ?

1359


how can u check no of records in a file?

883


what is match field indicator?

1338


What is the difference between crtdupobj and copyf?

930


what is the maximum number of subfiles that can specified in a display file ?

1390


define what a data area is along with a brief example of what it may be used for?

1255


can a indexed file be accessed in arrival sequence in rpg program?

1268


an access path may be in which sequence?

896


What is the difference between iter and do? We know both are used to execute set of statements repeatedly, but what is the main difference?

776