Specifying the record layout to be interpreted
The View Record Layout - Dataset Specification screen (see the following figure) is used to specify the data set name and member name of the record layout to be interpreted.
You can specify a pattern data set name in the Dataset name field. If you do not specify a member, File-AID displays a member list.
In this example, you examine the interpreted record layout for the member INVFILE.
Steps:
- Type the dataset name FASAMP.LAYOUTS.
- Type the member name INVFILE.
- Type N in the Expand Occurrences field.
- Press Enter.
View Record Layout - Dataset Specification screen
More about the view record layout - dataset specification screen
- The dataset name you specify here is displayed on all screens where you can specify a record layout dataset name (for example, Browse and Edit).
- Record layouts to be interpreted may reside in any supported source library including:
- PDS (80 byte records)
- CA Panvalet
- CA Librarian
- File-AID map library (Release 6 and prior).
- The member specified must contain only data declarations for one or more structures of data beginning at structure level 01. You can specify a data declaration with COBOL or PL/I, but you cannot specify both within a single member.
- When using a multiple structure member in Browse or Edit, issue the formatted mode command, USE, to see a list of all layouts from which you may select an alternate layout.
To specify a concatenation list to be used in place of the Record Layout dataset, enter a plus sign followed by the member name (+membername) of the member containing the list. Enter this in the Record layout dataset field instead of the Record Layout dataset name. For example, if the member RLPROD contains the list to be used, enter +RLPROD instead of a Record Layout Dataset name. You specified the name of the concatenation list data set in Option 0.1, File-AID system parameters (see Concatenation List DSN). The concatenation list data set contains members known as concatenation lists. Each such list contains names of record layout datasets, each of which in turn contains record layout members.
The concatenation list is used in place of the single Record Layout dataset name. If the concatenated libraries contain duplicate member names, File-AID will always select the first occurrence of the member name.
Expand occurrences - When a record layout contains an OCCURS or ODO you can specify to view all occurrences (YES) or only the first occurrence of each field.
Y: (Default) View all occurrences.
N: View only the first occurrence.
Viewing the interpreted layout
The VIEW LAYOUT display screen (see the following figure) accepts the following primary commands:
DOWN
Scrolls down by the scroll amount.
END
Exits from the VIEW LAYOUT screen.
FIND xx
Searches for string xx and scrolls to the field.
REPEAT
Repeats previous find.
UP
Scrolls up by the scroll amount.
You are done with this example so return to the File-AID Primary Option Menu now.
Use the END command (press PF3) TWO TIMES to redisplay the File-AID Primary Option Menu.
View Utility - Display of Interpreted Layout with EXPAND OCCURRENCES = NO
More about the view display
If the member contains multiple 01-level structures, File-AID identifies how many layouts there are and displays a message line to identify the first and next layout(s). For example:
MEMBER CONTAINS 6 LAYOUTS
-------- FIELD LEVEL/NAME --------- --PICTURE-- FLD START END LENGTH
> > > > > START OF LAYOUT NUMBER 1 < < < < <
.
.
.
> > > > > START OF LAYOUT NUMBER 2< < < < <
Related topics