摘要:
因为在SEQUENTIAL访问模式下,只有I/O方式打开文件才能进行REWRITE操作,所以以下文件均用I/O方式打开。FILE-CONTROL. SELECT VFILE ASSIGN TO VF ORGANIZATION IS INDEXED ACCESS MODE IS SEQUENTIAL RECORD KEY IS VID FILE STATUS IS FS1. DATA DIVISION. FILE SECTION. FD VFILE. 01 VREC. 05 VID PIC X(4). 05 VINFO PIC X(76). WORKING-STORAGE SECT... 阅读全文
摘要:
StatusDescription00Successful completion02Indexed files only. Possible causes:For a READ statement, the key value for the current key is equal to the value of that same key in the next record in the current key of reference.For a WRITE or REWRITE statement, the record just written created a duplicat 阅读全文