- 论坛徽章:
- 0
|
1.代码如下:
SEU==> TESTID
FMT CB ......-A+++B+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
*************** Beginning of data *************************************
0001.00 PROCESS OPTIONS.
0002.00 IDENTIFICATION DIVISION.
0003.00 PROGRAM-ID. VERIFY.
0004.00 AUTHOR. PROGRAMMER NAME.
0005.00 INSTALLATION. TORONTO LABORATORY.
0006.00 DATE-WRITTEN. JANUARY 1, 1988.
0007.00 DATE-COMPILED.
0008.00 ENVIRONMENT DIVISION.
0009.00 CONFIGURATION SECTION.
0010.00 SOURCE-COMPUTER. IBM-AS400.
0011.00 OBJECT-COMPUTER. IBM-AS400.
0012.00 INPUT-OUTPUT SECTION.
0013.00 FILE-CONTROL.
0014.00 SELECT FILE1 ASSIGN TO DISK-FILE2
0015.00 ORGANIZATION IS SEQUENTIAL.
0016.00 DATA DIVISION.
0017.00 FILE SECTION.
0018.00 FD FILE1
0019.00 RECORD CONTAINS 92 CHARACTERS
0020.00 LABEL RECORDS ARE OMITTED
0021.00 DATA RECORD IS REC-1.
0022.00 01 REC-1 PIC X(92).
0023.00 WORKING-STORAGE SECTION.
0024.00 01 PRINT-LINE PIC X(5 VALUE
0025.00 "INSTALLATION OF THE AS/400 COBOL/400 COMPILER IS VERIFIED."
0026.00 PROCEDURE DIVISION.
0027.00 WRITE-REC.
0028.00 OPEN OUTPUT FILE1.
0029.00 WRITE REC-1 FROM PRINT-LINE.
0030.00 DISPLAY "TEST " PRINT-LINE.
0031.00 STOP RUN.
2.在执行到OPEN OUTPUT FILE1时,发生如下错误:
Message . . . . : I/O operation failed in program TESTID in FLAGLIB (C D F
G).
Cause . . . . . : Program TESTID in FLAGLIB issued an I/O operation on file
FILE2 at COBOL statement 27 which failed with file status 90; and no error
handler existed. When an unsuccessful file status is received from an I/O
3.请问大侠这是什么错?非常感谢!!!!!!!!!!!!!!! |
|