Download Span Macros Manual
Transcript
Page 26 #SPBINSR Macro Span Macros Manual ARGLEN= - general register (2 - 12), or integer value specifies the key length of the table and the length of the argument. The value specified must be less than or equal to the length of a table entry, and has a maximum value of 256 bytes. WKREG= - general register (2 - 12) specifies a register that may be used by the macro for working. The register specified may be the same as the register used for the TABLE or TABEND parameter. If the WKREG parameter is omitted, Register 2 will be used, and it will be saved in the save area addressed by Register 13, and restored at the completion of the macro. Return Codes After execution of the #SPBINSR macro, register 15 will contain one of the following return codes: Page 26 of 94 0 The search was successful. Register 1 contains the address of the table entry located. 4 The search was unsuccessful. The contents of Register 1 are unpredictable. Copyright © 2003 Span Software Consultants Limited - 1 February 2003