Synonym: GETSTR - Read a delimited String from a logical Block Hex Code: $~X3~ $lX3~ DESCRIPTION: The GETSTR command copies a delimited string from a- logical block of a unit to the I/O buffer. When the string delimiter is not found,a maximum string of the size of one block is returned. At offset 2 in the CMDRAM the string delimiter can be specified. If this parameter is set to ~, the standard delimiter (installed with MAININIT, default is $~~) is used. The Parameter at offset 4 in CMDRAM holds the offset from the logical block base to the first byte of the requested string. PARAMETER PASSING: IN:
CMDRAM Offset Size Meaning ~ 2 4 8 12 14 W W L L W W Command/Target ID Optional String Delimiter First Byte Location in Block Logical Block Address Logical Unit Number Reserved for interprocessor cation communi- OUT: CMDRAM Offset Size Meaning ~ 2 4 8 12 14 W W L L W W Status/Error return code Extended Error Message Pointer to String Unused/reserved Unused/reserved Reserved for interprocessor cation communi:- POSSIBLE RETURN CODES: 8~~~, 9~~~ = Successful, no error 8~~2, 9~~2 = Address error 8~~6, 9~~6 = Missing or invalid parameter 8~~F, 9~~F = Extended Error Message (Refer to Appendix A for detailed information) 3-27