23 Record not found or File not found 24 Key outside boundary of file 30 Permanent I/O Error 34 Record outside file boundary 35 While performing OPEN File and file is not present 37 OPEN file with wrong mode 38 Tried to OPEN a Locked file 39 OPEN failed because of conflicting file att...
VSAM文件存取方法教程说明书
FILERC1 Data Files and VSAM Data Sets 2007/11/11 STOA File Status Codes - Inquiry Option 20:30:00:00 Next File Status Code: 35__ (or extended hex value): __ Code Description PF3-Menu PF12=Esc Once a new File Status Code is entered the Repository of File Status Codes is accessed ...
FILE STATUS IS file-status 对于相对文件,还有声明如下: [ORGANIZATION IS RELATIVE]是相对文件必须的 [ACCESS MODE IS SEQUENTIAL [RELATIVE KEY IS data]]或者 [ACCESS MODE IS RANDOM/DYNAMIC RELATIVE KEY IS data] 访问方式有3种,缺省是SEQUENTIAL。 RELATIVE KEY可选。如果存在,则文件读取操作顺利完成后,data...
SELECT [OPTIONAL] file-name ASSIGN TO DEV/FILE [RESERVE N [AREA/AREAS]] [FILE STATUS IS VAR] SELECT 必须是第一句, 其他顺序无关。 file-name 是程序中传递使用的文件名, 相当于实际文件的一个别名。OPTIONAL 用于执行可能不存在的文件。 ASSIGN 将 file-name 连接到实际的外部设备或文件。 (TO 好像...
01 STATUS-CODE PIC XX. 01 VSAM-RETURN-CODE. 05 VSAM-R15-RETURN-CODE PIC S99 COMP. 05 VSAM-FUNCTION-CODE PIC S9 COMP. 05 VSAM-FEEDBACK-CODE PIC S999 COMP Also Read: How to define file status code for KSDS How to define file status code for RRDS...
From what I can tell, a VSAM file status = '22' is only returned for a write/rewrite. dbzTHEdinosauer Supermod Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany Posted: Thu Jul 10, 2008 10:23 amPost subject: when do you get the error 22. startbr or readnext?