OPCODES

OPCODE is standard numeric parameter specifying the calling mode and options. This parameter must be supplied as the sum of the individual values for the desired mode and options. The name in italics to the left of the opcode numbers are the equivalent symbols as defined in MMOSYM.BSI. We strongly advise that you ++include MMOSYM.BSI in your programs and use the symbols rather than the hard coded numbers when specifying OPCODE. For example, to specify edit with a border and smart line insert/delete, but not redisplay the border, you should specify the opcode as MMO'EDT+ MMO'BDR+ MMO'LID+ MMO'NBR rather than 1+2+4+128. (Another example of this type of parameter is the SWITCHES variable in the SPOOL.SBR).