subcodes of the PLI-ONCODEs




For ONCODE 93 and 99 ( Open failed for dataset ) a subcode is supplied, which specifies the reason of the failure.



SUBCODE meaning
1,2 the extended attributes of a REGIONAL(1) file weren't found and neither RECCOUNT nor RECSIZE were specified using ENV() or SET DD
3 positioning error for a sequentiel output file
4 filetype is FIXED, but filesize is not a multiple of recsize
5,13 positioning error for REGIONAL(1) file
6-12 positioning error for output file
21-23 AMTHD(DDM) specified using SET DD, but DDLs ( DUBRUN and DUBLDM ) are not available
24 erroneous attributes of a DDM-file
25 ORGANIZATION of ENV() conflicts with dataset-type
26 usage of file ist inconsistent
27 composite-key was found when opening with key
28-30 create failed for new DDM-file
31 positioning error for DDM-file
35 AMTHD(BTRIEVE) specified, but modules BTRCALLS are not available (or don't even exist)
36 unexpected error occured when opening a BTRIEVE-file
37 create failed for new BTRIEVE-file
38 positioning error for BTRIEVE-file
40 AMTHD(ISAM) specified,but modules IBMW2x20x are not available (or don't even exist)
41 unexpected error occured when opening a ISAM-file
42 create failed for new ISAM-file
43 positioning error for ISAM-file
50 ISAM-file does not exist
51 unexpected error occured when opening an ISAM file (subcode 2 supplies the ISAM code)
52-53 unexpected error occured when opening a REGIONAL(1) file
54 BTRIEVE-file does not exist
55 unexpected error occured when opening a BTRIEVE file (subcode 2 supplies the BTRIEVE code)
56 unexpected error occured when opening a DDM file
57-58 unexpected error occured when opening a DDM file (subcode 2 supplies the DDM code)
59 file already open
60 filetype is invalid ( eg. VSAM-file under UNIX )
62 file-informationen couldn't be determined ( VSAM file )
63 a nont-VSAM-file was opened as VSAM-file
64 type of VSAM-file is invalid ( not of type KSDS,ESDS or RRDS )
65 VSAM-file was opened in a non-MVS batch environment
66 error when opening a VSAM-file (subcode 2 supplies the VSAM code)
67 a VSAM-file was opened as non-VSAM-file
68 VSAM-file is invalid
69 fileinformationen couldn't be determined ( non-VSAM file )
70 positioning error for a VSAM-file
71 VSAM-file was opened in a non-MVS batch environment
72 invalid PL/1-file
73 SFS-library couldn't be loaded
74 DCE-library couldn't be loaded
75 create failed for new SFS-file
76 retry-attempt failed when opening a SFS-file
77 positioning error for a SFS-file
79 SFS-file not found
80 empty VSAM-file was opened for UPDATE

Home
Impressum / Datenschutz