3 ! this testcase derived from NIST test FM413.FOR
4 ! tests writing direct access files in ascending and descending
8 IMPLICIT CHARACTER*14 (C
)
9 OPEN (7, ACCESS
= 'DIRECT', RECL
= 80, STATUS
='REPLACE' )
15 WRITE(7, REC
= IREC
) IPROG
, IFILE
, ITOTR
, IRLGN
, IRECN
, IEOF
,ICON21
, ICON22
, ICON31
, ICON32
, ICON33
, ICON34
, ICON55
, ICON56
22 WRITE(7, REC
= IREC
) IPROG
, IFILE
, ITOTR
, IRLGN
, IRECN
, IEOF
,ICON21
, ICON22
, ICON31
, ICON32
, ICON33
, ICON34
, ICON55
, ICON56
31 READ(7, REC
= IREC
) IPROG
, IFILE
, ITOTR
, IRLGN
, IRECN
, IEOF
,IVON21
, IVON22
, IVON31
, IVON32
, IVON33
, IVON34
, IVON55
, IVON56
32 IF (IRECN
.NE
. IRECCK
) CALL ABORT
40 READ(7, REC
= IREC
) IPROG
, IFILE
, ITOTR
, IRLGN
, IRECN
, IEOF
,IVON21
, IVON22
, IVON31
, IVON32
, IVON33
, IVON34
, IVON55
, IVON56
41 IF (IRECN
.NE
. IRECCK
) CALL ABORT
43 CLOSE(7, STATUS
='DELETE')