SMP/E for z/OS Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


UCLIN and ENDUCL syntax

SMP/E for z/OS Commands
SA23-2275-01

Three types of statements are needed for UCLIN processing:

  1. The UCLIN command indicates the start of UCL processing.
  2. 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.

  3. The ENDUCL command indicates the end of the UCL statements and the end of UCLIN processing.

This is the general syntax for these statements:

Read syntax diagramSkip visual syntax diagram
UCLIN Command

>>-UCLIN--+----------------------+--•--------------------------><
          |     .-,----------.   |      
          |     V            |   |      
          '-RC(---command=rc-+-)-'      

Read syntax diagramSkip visual syntax diagram
UCL Statements

         (1)                       
>>-+-ADD-----+--entry_type(name)-------------------------------->
   +-DEL-----+                     
   '-REP-----'                     

   .--------------------------------.      
   V                                |      
>----+----------------------------+-+--•-----------------------><
     +-subentry_type(value)-------+        
     |                .-,-----.   |        
     |                V       |   |        
     +-subentry_list(---value-+-)-+        
     '-subentry_indicator---------'        

Notes:
  1. You can specify more than one ADD, DEL, and REP statement.
Read syntax diagramSkip visual syntax diagram
ENDUCL Command

>>-ENDUCL--•---------------------------------------------------><

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014