69 SUBROUTINE w3fi66(COCBUF,COCBLK,NFLAG,NSIZE)
71 CHARACTER*10 COCBUF(*),COCBLK(*)
75 entry w3ai05(cocbuf,cocblk,nflag,nsize)
87 cocblk(m) =
'END RECORD'
92 READ(cocbuf(4)(8:10),30) nwds
97 n01byt = (n10wrd * 10) - 10
98 IF (nflag+nchars.GT.n01byt)
THEN
104 IF (cocbuf(nwds).NE.
'END REPORT')
THEN
107 print 102, cocbuf(2)(1:6)
112 cocblk((nflag/10)+n) = cocbuf(n)
115 nflag = nflag + (nwds * 10)
117 101
FORMAT(/
' *** W3FI66 ERROR- INPUT ARGUMENT "NEXT" (NFLAG) IS ',
118 $
'LESS THAN ZERO - RECORD IS FULL, WRITE IT OUT AND START FILLING'
119 $,
' A NEW RECORD WITH CURRENT REPORT'/)
120 102
FORMAT(/
' *** W3FI66 ERROR- REPORT: ',a6,
' DOES NOT END WITH THE',
121 $
' STRING "END REPORT" - INVALID REPORT LENGTH'/6x,
'- CODE WILL ',
122 $
'MOVE AHEAD TO NEXT REPORT WITHOUT BLOCKING THIS REPORT'/)
subroutine w3fi66(cocbuf, cocblk, nflag, nsize)
Blocks reports which have been packed into nmc office note 29 character format into fixed-length reco...