Defines the fields within the record.
Type: | Required statement |
Applies to: | access descriptor |
In the ITEM= statement, you must enter the item name, level number, and the DBFORMAT= argument.
specifies the two-character numeric level of the IMS field. This level number is similar to the COBOL level number. To indicate that a field is in a group, the field's level number must be greater than the group's level number. This is a required argument.
specifies how the IMS field is stored in the database. This table also shows the SAS variable formats that the SAS/ACCESS interface to IMS generates for the DB Formats.
The other arguments define the item further and are not required.
is supported for SAS 6 compatibility only. It assigns a SAS variable name to the IMS field. When VALIDVARNAME=V6, the name assigned to this argument is also used as input to the subsetting WHERE statement.
assigns a SAS format to the SAS variable. This is an optional argument.
specifies the search field name defined for the field in the DBMS DBD. If you want the IMS engine to create SSAs directly from a WHERE statement or command that references the named item, then you must assign search field names. Otherwise, the WHERE statement is passed to SAS, and all occurrences of the segments referenced in the view descriptor in the database are read and passed to SAS for further processing. See Performance and Efficient View Descriptors for more information about SSAs and WHERE statements. This is an optional argument.
indicates with a Y, N, or U whether this field is defined in the DBD as a sequence or key field and whether the key sequence field is unique. The default setting, N, indicates the field is not a key sequence field. You must assign one key sequence field per segment if you use the view descriptors created from this access descriptor to update the IMS database. Keys are recommended, but not required, for all segments except the lowest hierarchical level if the view descriptors are used only for data retrieval. When KEY=U, retrieval calls to IMS are reduced because the IMS engine knows that there is only one segment in the database for this key.
indicates the number of times a repeating field occurs. This is an optional argument.
indicates that the values for this field need special handling by the IMS engine. This is an optional argument. You can use this argument to specify a SAS format that indicates the way date values are represented internally in the IMS database, or to indicate how a field is initialized or stored in the database. This is not the same as the value that you entered in the DBFORMAT= argument.
YYMMDD6.
|
DDMMYY6.
|
JULIAN5.
|
YYMMDD8.
|
DDMMYY8.
|
JULIAN7.
|
MMDDYY6.
|
TFGY2KD4.*
|
|
MMDDYY8.
|
TFGY2KN4.*
|
B | when values are blanks for zero. |
H | for high values. |
L | for low values. |
'MMDDYY8./L'Do not specify a DBCONTENT for records and groups.