Coding a user-defined USS table

To code a supplementary USS table, create a module using the following macroinstructions:
  • USSTAB
  • USSCMD
  • USSPARM
  • USSMSG
  • USSEND

If a user-defined table is coded as part of another module, code an assembler EXTRN definition statement for the table name in that module so the table will be known externally and can be accessed by other modules.

If a character translation is to be specified, code the table using assembler DC statements as shown in the sample operation-level table Operation-level USS table (ISTINCNO).

Table 1 shows the USS macroinstructions, their associated operands, and where the operands are described.

Table 1. USS table macroinstructions and operands
Name

Macro
instruction

Operands Page Req Default

Restrictions,
dependencies

name USSTAB DATEDLM DATEDLM   / FORMAT; V4
    DATEFRM DATEFRM   MDY FORMAT; DATEDLM; V4
    FORMAT FORMAT (USSTAB)   OLD  
    TABLE TABLE      
    TIMEDLM TIMEDLM     FORMAT; V4
 
name USSCMD CMD CMD R    
    FORMAT FORMAT (USSCMD)   PL1  
    REP REP (USSCMD)      
 
name USSPARM PARM PARM R    
    DEFAULT DEFAULT      
    REP REP (USSPARM)      
    TRANSLATE TRANSLATE      
    VALUE VALUE      
 
name USSMSG BUFFER BUFFER R  

Terminal operator;
TEXT; OPT; SUPP

    MSG MSG R    
    TEXT TEXT R  

Required for
terminal operator
BUFFER

    DESC DESC     VTAM® operator
    MCSFLAG MCSFLAG     VTAM operator
    MSGLVL MSGLVL   START VTAM operator
    OPT OPT  

BLKSUP
NOBLKSUP

terminal operator
VTAM operator

    ROUTCDE ROUTCDE     VTAM operator
    SUPP SUPP   NEVER terminal operator
 
name USSEND          
 
Legend:
R
Required operand.