Item Descriptor

Use the Item Descriptor portion of the SET DESCRIPTOR statement to set value for an individual field in a system-descriptor area.
(1)
Item Descriptor

1 
2.1 TYPE
2.1 LENGTH
2.1 PRECISION
2.1 SCALE
2.1 NULLABLE
2.1 INDICATOR
2.1 ITYPE
2.1 ILENGTH
1  = 
2.1 literal_int_var
2.1 literal_int
1 
2.1 DATA
2.1 IDATA
1  = 
2.1  %Literal Number1
2.1  %Literal
DATETIME2
2.1  %Literal INTERVAL3
2.1  %Quoted
String4
2.1 input_var
1 
2.1 NAME
2.1  EXTYPENAME
2.1  EXTYPEOWNERNAME
1  = 
2.1  %Quoted String4
2.1 input_var
1 
2.1 SOURCEID
2.1 SOURCETYPE
2.1 EXTYPEID
2.1 EXTYPELENGTH
2.1 EXTYPEOWNERLENGTH
1  = 
2.1 literal_int_var
2.1 literal_int
Element Description Restrictions Syntax
input_var Host variable storing data for the specified item descriptor field Must be appropriate for the specified field Language-specific
literal_int Integer value ( > 0 ) assigned to the specified item descriptor field Restrictions depend on the keyword to the left of = symbol Literal Number
literal_int_var Variable having literal_int value Same as for literal_int Language-specific

For information on codes that are valid for the TYPE or ITYPE fields and their meanings, see Setting the TYPE or ITYPE Field.

For the restrictions that apply to other field types, see the individual headings for field types under Using the VALUE Clause.