Previous Topic: SET TERMINAL CommandNext Topic: HELP Format


DATAVIEW Format

An unmodeled (VSAM or sequential file) dataview, when exported or imported using the Source Transport Utility, has the following format. For a description of the lowercase values, refer to the sections on defining sequential and VSAM dataviews in the Creating Dataviews Guide.

‑>DATAVIEW dvwname VERSION version STATUS stat
[IDEAL nn.nx]
            [MVS]
OPER‑SYSTEM [VSE]
              {QSAM}
ACCESS‑METHOD {VSAM}
                   
[DATE‑CREATED yymmdd CREATED‑BY username]
[DATE‑MODIFIED yymmdd TIME‑MODIFIED hhmm MODIFIED‑BY username]
[DATE‑CATALOGED yymmdd TIME‑CATALOGED hhmm]

[SHORT‑DESC  'shortdescription']
[ TEXT1 '1st line of long‑description' ]
[[TEXT2 '2nd line of long‑description']]
[[TEXT3 '3rd line of long‑description']]
[[TEXT4 '4th line of long‑description']]
[[TEXT5 '5th line of long‑description']]

[                  {KSDS} ]
[FILE‑ORGANIZATION {ESDS} ]
[                  {RRDS} ]
                
UPDATE‑INTENT {Y}
              {N}
[FILENAME filename]

[ [RECORD‑LENGTH  nnn]        ]
[ [BLOCK‑SIZE  nnn]           ]
[                             ]
[ [              {FBLK  }]    ]
[ [RECORD‑FORMAT {FUNB  }]    ]
[ [              {      }]    ]
[ [DEVICE‑TYPE  device]       ]
[                             ]
[ [            {YES} ]        ]
[ [TAPE‑LABELS {NO } ]        ]

[ ‑>FIELD‑DATA               ]
[[columnar format field data]]

[PRIMARY‑KEY fieldname    ]
[ALTERNATE‑KEYS           ]
[ columnar format key data]

‑>END‑DATAVIEW

Field Data Column Format-The following are the column positions for the fields located in the dataview:

Column Position

Field

Col 2‑6

Level number

Col 8‑26

Field name

Col 28

Type

Col 30

Internal type

Col 32‑36

CH/DG

Col 38‑42

Occur

Col 44‑72

Value/comments/and so on

Col 73

Fixed character '1'

Col 74‑79

Sequence number

Col 80

Fixed character '0'

Column Position

Field

Col 3‑10

Path name

Col 12‑43

Key field name

Col 46

Unique key indicator (Y or N)

Col 48

Upgrade set indicator (Y or N)

Note: