The ascending key requirements of successive record key values has been violated, or, the prime record key value has been changed by a COBOL program between successful execution of a READ statement and execution of the next REWRITE statement for that file. 22 Indexed and relative files only. In...
file status COBOLFILESTATUS(returncode) Status Description 00 Successfulcompletion 02 Indexedfilesonly.Possiblecauses: ForaREADstatement,thekeyvalueforthecurrentkeyisequaltothevalueofthatsamekeyinthenextrecordinthecurrentkeyofreference. ForaWRITEorREWRITEstatement,therecordjustwrittencreateda...
网络文件状态字 网络释义 1. 文件状态字 COBOL通过2位长度的文件状态字(FILE-STATUS)来表示文件的操作结果是否成功,常见的文件状态值及意义: 1。 www.blogjava.net|基于48个网页 例句 释义: 全部,文件状态字 更多例句筛选
JCL执行上述COBOL程序 - //SAMPLE JOB(TESTJCL,XXXXXX),CLASS = A,MSGCLASS = C //STEP1 EXEC PGM = HELLO //IN1 DD DSN = OUTPUT-FILE-NAME,DISP = SHR 当你编译并执行上面的程序时,它会更新记录 - 1000 Tim Dumais 10 删除动词 删除动词只能在索引文件和相关文件上执行。 必须在IO模式下打开该文件。
COBOL FILE STATUS(return code) Status Description 00 Successful completion 02 Indexed 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 sta...
File status update To update the file status variable of the specified file. DSECT XINFO4 is the information structure. On input: XDSA4 (AMODE 31 only) The DSA address of the COBOL program. The file, whose file status variable is to be updated, must be defined in this program. X...
Restriction:The data item referenced in theFILE STATUSclause cannot be variably located; for example, it cannot follow a variable-length table. Related tasks Using file status keys Related references FILE STATUS clause(COBOL for Linux® on x86 Language Reference)...
01 IO-STATUS PIC XX.COPY MWFITECH.* *COBOL Record Description01 VS-ODCSF0-RECORD.06 X-VS-CUSTIDENT.07 VS-CUSTIDENT PIC 9(006).06 VS-CUSTLNAME PIC X(030).06 VS-CUSTFNAME PIC X(020).06 VS-CUSTADDRS PIC X(030).06 VS-CUSTCITY PIC X(020)....
15.1.1 RM/COBOL File Status Codes RM/COBOL file status codes are either ANSI'74 file status codes or can be mapped onto extended file status codes, as shown below. Status Key 1 Status Key 2 See Code Description 909/143REWRITE/DELETE not after successful READ ...
FILE STATUS variable is updated after each file operation.SyntaxOPEN "mode" file-name. Here, file-name is string literal, which you will use to name your file. A file can be opened in the following modes −Sr.No.Mode & Description 1 Input Input mode is used for existing files. In ...