OPCODE subcommand — retrieve operation code

Use the OPCODE subcommand to retrieve the mnemonic operation code associated with an instruction.

  • Syntax
      OPCODE 
    -------- Data Selection Parameters ----------------------------
    search-argument
    -------- Result Distribution Parameters ----------------
                 [ CLIST(var-list)     ]
                 [ DIALOG(var-list)     ] 
                 [ REXX(var-list)        ]
                 [ LIST ]
                 [ NOLIST                  ]
                 [ SCREEN               ]
    -------- SETDEF-Defined Parameters -------------------------
    Note: You can override the following SETDEF parameters.
    See SETDEF subcommand — set defaults.
                 [ PRINT | NOPRINT ]
                 [ TERMINAL | NOTERMINAL ]
                 [ TEST | NOTEST ]
  • Parameters
    search-argument
    The first 2-12 hexadecimal digits of the instruction of interest. If less digits are entered than needed to complete an instruction, trailing zero digits are supplied. Excess digits are ignored.
    CLIST(var-list)
    DIALOG(var-list)
    REXX(var-list)
    Requests that the information retrieved be made available to a command procedure or ISPF dialog. The syntax for var-list is as follows:
      MNEMONIC(variable-name)
    LIST
    NOLIST
    SCREEN
    Specifies whether the information retrieved is to be displayed and, if it is, whether it is to appear as part of a line mode report or as an ISPF message on the logical screen.
  • Example: In z/OS® V1R4, IPCS enhances the display of the multi-byte operation codes associated with z/Architecture®. The split-opcode instructions beginning with E3, EB, or ED are displayed as follows:
    Command ===> opcode e303                                                                                                                
                                                                        
     00000000   000A0000   000130E1   00000000   00000000   | ...............                                                                         
     00000010   00FC6FC0   00000000   00000000   00000000   | ..?{...........
                                                                              
     00000020.:3F.--All bytes contain X'00'                                   
    The response to the command opcode e303 is as follows:
      BLS18350I Split operation code X'E303' occupies bytes 0 and 5            
                                                                               
      Mnemonic for X'E303' is LRAG