All errors generated by the CPMT command are returned in EIBRESP, EIBRESP2 and EIBRCODE.
Table 1. >NOTFND (RESP 13) RESP2 values
| Value  | 
Description  | 
| 1  | 
The environment variable cannot be resolved. | 
| 3  | 
The length of the file name when added to the staging folder is too big.  | 
| 4  | 
The file name plus staging folder is incorrect. | 
| 8 | 
No staging folder has been defined. | 
| 12 | 
Program not found in staging folder. | 
 
 
Table 2. >IOERR (RESP 17) RESP2 values 
| Value  | 
Description  | 
| 16 | 
A Windows API function has failed. EIBRCODE contains:
- Pos 1: 'C' to indicate that CopyFileA has failed
 
- Pos 2-5: Windows error code in binary
 
 
 ,  | 
 
 
Table 3. >PGMIDERR (RESP 27) RESP2 values
| Value  | 
Description  | 
| 7 | 
Program not found (no PPT entry and program not loaded).,  |