Item Descriptor
Use the Item Descriptor portion of the SET DESCRIPTOR
statement to set value for an individual field in a system-descriptor
area.
(explicit id idesc002)
idesc002
(explicit id idesc003)
idesc003
(explicit id idesc004)
idesc004
(explicit id idesc005)
idesc005
Item Descriptor
{ { TYPE | LENGTH | PRECISION | SCALE | NULLABLE | INDICATOR | ITYPE | ILENGTH } = { literal_int_var | literal_int } | { DATA | IDATA } = { <Literal Number>[] | <Literal DATETIME>[] | <Literal INTERVAL>[] | <Quoted String>[] | input_var } | { NAME | EXTYPENAME | EXTYPEOWNERNAME } = { <Quoted String>[] | input_var } | { SOURCEID | SOURCETYPE | EXTYPEID | EXTYPELENGTH | EXTYPEOWNERLENGTH } = { literal_int_var | 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.
1 See Literal Number
2 See Literal DATETIME
3 See Literal INTERVAL
4 See Quoted String