The first task in this tutorial is to view data that has been structured
into fields, without using a template. This demonstrates some of the
display issues that can occur when unformatted data is viewed. In
the next task, you view the same data, with a template.
From the File Manager Primary Option Menu, select option 1.
View.
In the Data set name field for the input data set, type 'FMN.V14R1M0.SFMNSAM1'.
In the Member field for the input data set, type FMNCDATA.
In the Copybook/template usage field, select option 3.
None.
The first twenty records in this member contain non-displayable
characters represented by periods and other characters. Without a
template, these records cannot be easily viewed or edited.
When you have finished examining the data, press the Exit function
key (F3) to return to the Edit (or View) Entry panel.
Now let's
view the same data using a template generated from the COBOL copybook
supplied in FMN.SFMNSAM1(FMNCCPY).
In the Data set name field for the Copybook or Template,
type 'FMN.V14R1M0.SFMNSAM1'.
In the Member field for the Copybook or Template, type FMNCCPY.
In the Copybook/template usage field, select option 1.
Above.
Press Enter.
For this example, we want to display the data
in tabular format. If the Format field (at the top right of
the panel) does not contain TABL, then overtype the
first letter of its current value with T and then
press Enter.
The sample data is now shown in TABL display
format, arranged in columns.
File Manager has used the first record type defined
in the copybook to display the data and the first set of records (REC-TYPE
= 01) are now readable. Any fields defined in the second record type
(REC-TYPE = 02) that match fields defined in the first type are also
displayed.