I/O Module Codes

The following lists the function codes, return codes, reason codes, and feedback codes issued by the Common Tape System (CTS) and Dynamic OSI I/O routines which interface to IBM data services.
cts14
The following lists the function codes, return codes, reason codes, and feedback codes issued by the Common Tape System (CTS) and Dynamic OSI I/O routines which interface to IBM data services.
FUNCTION CODES         +00   00            NOT VALID FUNCTION         +04   04            OPEN ACCESS TO DATA         +08   08            CLOSE ACCESS TO DATA         +12   0C            CONTROL PROCESSING         +16   10            GET         +20   14            PUT         +24   18            POINT TO RECORD BY KEY (NO I/O)         +28   1C            NOTE RECORD BY KEY (NO I/O)         +32   20            ADD RECORD TO DATA         +36   24            UPDATE EXISTING RECORD         +40   28            DELETE A RECORD         +44   2C            LOCK ACCESS TO DATA         +48   30            UNLOCK ACCESS TO DATA         +52   34            RESERVED         +56   38            RESERVED         +60   3C            RESERVED         +80   40            UNIQUE I/O FUNC START AT 80 X'50'         +84   44            UNIQUE I/O FUNC - RESERVED         +88   48            UNIQUE I/O FUNC - RESERVED         +92   4C            UNIQUE I/O FUNC - RESERVED RETURN CODES         +00   00            COMPLETED NORMALLY         +04   04            COMPLETED WITH WARNING         +08   08            ERROR BEFORE ATTEMPT         +12   0C            ERROR AFTER ATTEMPT         +16   10            CANNOT CONTINUE REASON CODES         +00   00            NO REASON AVAILABLE         +04   04            BAD VALUE FOR A PARM         +08   08            INCORRECT SEQUENCE         +12   0C            INCORRECT STATUS         +16   10            SPECIAL FORMAT FEEDBACK CODES         +00   00            NO FEED BACK         +04   04            RELATES TO FUNCTION         +08   08            RELATES TO FILE         +12   0C            RELATES TO KEY         +16   10            RELATES TO PGM LOGIC
This information is available in the online HELP files as message identifier IOCODES.