Upon completion, CTTTPI returns one of the following return codes (in register 15):
Table 395 CTTTPI Return Codes
Code  | 
Description  | 
|---|---|
0  | 
Successful completion  | 
4  | 
Operator requested termination by typing CANCEL in response to a program prompt.  | 
8  | 
The specified target volume is a non-scratch volume in the Media database.  | 
12  | 
The Media database could not be updated. MDBUPDAT was set to Y (Yes), but the specified target volume is not in the Media database and the volume could not be added (meaning, either ADD was set to N (No), or the operator responded negatively to the ADD prompt).  | 
16  | 
Syntax error in control statements or parameters  | 
20  | 
IEHINITT (or the specified substitute) failed or was stopped by the operator.  | 
24  | 
Error while opening the IOA Log file  | 
28  | 
Error while loading IOA modules or tables  | 
32  | 
Unable to open DD file CTTTPIxx for accessing a tape drive  | 
36  | 
Unable to open DD file SYSPRINT or its replacement  | 
40  | 
Unable to open DD file SYSIN or its replacement  | 
44  | 
Error while accessing the Media database  | 
48  | 
Erase of INITT failed.  | 
52  | 
TAPERASE command failed.  | 
56  | 
TAPEMAP EXCP command failed.  | 
60  | 
INITT command failed.  | 
64  | 
Automated tape library interface load failed.  | 
68  | 
Unable to change a volume status to active in a 3495 silo  | 
72  | 
Unable to scratch a volume in a 3495 silo  | 
76  | 
Authorization for one or more functions failed. Check the sysout for details.  | 
Parent Topic |