Three types of statements are needed for UCLIN processing:
- The UCLIN command indicates the start of UCL processing.
- UCL statements follow the UCLIN command and describe
the changes for a specific entry. There are three types of UCL statements:
ADD, DEL, and REP. These statements can add, delete, or replace entries
or subentries in the entries.
ADD is used to add the following
entries:
- A new entry
- A new subentry to an existing entry
- A new subentry list to an existing entry
- A new subentry list value to an existing subentry list in an existing
entry
- A new subentry indicator to an existing entry
DEL is used to delete the following entries:
- An entire entry
- A subentry
- A complete subentry list
- A value from a subentry list
- A subentry indicator
REP is used to replace the following entries:
- A subentry in an existing entry
- A subentry list in an existing entry
- A subentry indicator in an existing entry
Note: Do not use the REP
statement to replace an individual value in a subentry list. If the
entry already contains the specified subentry list—for example, FMID(ABC1234,DEF5678)—SMP/E
replaces all the current values with the new
value specified on the REP statement.
Many UCL
statements can follow a single UCLIN command. UCL statement syntax describes
the syntax of specific UCL statements for each entry type.
- The ENDUCL command indicates the end of the UCL statements
and the end of UCLIN processing.
This is the general syntax for these statements:
UCLIN Command
>>-UCLIN--+----------------------+--•--------------------------><
| .-,----------. |
| V | |
'-RC(---command=rc-+-)-'
UCL Statements
(1)
>>-+-ADD-----+--entry_type(name)-------------------------------->
+-DEL-----+
'-REP-----'
.--------------------------------.
V |
>----+----------------------------+-+--•-----------------------><
+-subentry_type(value)-------+
| .-,-----. |
| V | |
+-subentry_list(---value-+-)-+
'-subentry_indicator---------'
Notes:
- You can specify more than one ADD, DEL, and REP statement.
ENDUCL Command
>>-ENDUCL--•---------------------------------------------------><