36
37
38
40
41
42
43#include "implicit_f.inc"
44
45
46
47 INTEGER NELOF, IREC
48 CHARACTER *5, KEY0*5
49
50
51
52#include "units_c.inc"
53
54
55
56 INTEGER IV2(10), J, JJ, K, N, K3, NBC
57 CHARACTER KEY2*5
58
59
60 k=0
61 jj = 0
62 DO 600 n=1,nelof
63 READ(iusc1,rec=irec+k,fmt='(7X,A,1X,I5,31X,I10)',err=999)
64 . key2,k3,nbc
65 IF(key2==key)THEN
66 IF(k3==1)THEN
67 CALL read10p(irec+k+1,nbc,key0//key,iv2,jj)
68 ELSE
69 CALL read5p(irec+k+1,nbc,key0//key,iv2,jj)
70 ENDIF
71 ENDIF
72 k=k+nbc+1
73 600 CONTINUE
74 IF(jj/=0) WRITE(iin,'(10I10)')(iv2(j),j=1,jj)
75 RETURN
76 999 CONTINUE
77 CALL ancmsg(msgid=73,anmode=aninfo,
78 . c1=key0)
subroutine read10p(irec, nbc, key0, iv2, jj)
subroutine read5p(irec, nbc, key0, iv2, jj)
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)