ACCESS Procedure Reference |
Defines an IMS segment.
Required statement |
|
Applies to: |
access descriptor
|
RECORD=record-name SEGMENT=segment-name
SEGLNG=segment-length;
|
The RECORD= statement defines an IMS segment.
A value of 01 is automatically assigned as the level number of a record, so
the RECORD= statement does not include a level number argument. You should
begin your database definition with a RECORD= statement immediately after
the DATABASE= statement.
The following list explains each of the
arguments that can appear in a RECORD= statement.
-
RECORD=
|RE=
-
specifies an arbitrary name for the segment.
A record name can be a maximum of 32 characters. If special characters or
blanks are included in the name, enclose the entire name in single quotation
marks. This is a required argument.
-
SEGMENT= |
SG=
-
specifies the name of the segment as defined
in the DBD. A segment name can be a maximum of eight characters. If your
database is a GSAM database, enter GSAM
as the segment name.
This is a required argument.
-
SEGLNG= |SL=
-
specifies the segment length as defined
in the DBD. This is a required argument. See Handling Segments of Varying Length for more
information.
Copyright © 2007 by SAS Institute Inc., Cary, NC, USA. All rights reserved.