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IBRARY FILE NOT FOUND/ REVERT,EX.ULIB,OP,REC. .ENDIF,HAVELIB. .* .* FETCH .* .IFE($OP$.EQ.$F$,FETCH) RETURN,REC. REWIND,LIB. COPYX,LIB,LIB,REC,1. COPYBR,LIB,REC. RETURN,ZZZZZUV. WRITER,ZZZZZUV. ERRMSG,OFF. VERIFY,REC,ZZZZZUV,L=LISTVE,A,R. ERRMSG,ON. NOTE,OUTPUT./RECORD FILE REC NOT FOUND/ RETURN,REC,LISTVE,ZZZZZUV. REVERT,EX.ULIB,OP,,LIB. EXIT. ERRMSG,ON. RETURN,LISTVE,ZZZZZUV. REWIND,LIB,REC. REVERT,NOLIST. .ENDIF,FETCH. .* .* REPLACE OR ADD .* .IFE($OP$.EQ.$R$.OR.$OP$.EQ.$A$,REPLACE) .IFE(.NOT.FILE(REC,AS),ADDREC) NOTE,OUTPUT./RECORD FILE REC NOT FOUND/ REVERT,EX.ULIB,OP,,LIB. .ENDIF,ADDREC. REWIND,LIB,REC,ZZZZZUU. COPY,LIB,ZZZZZUU. LIBRARY,LIB/D. RETURN,LIB. LIBEDIT,P=ZZZZZUU,N=LIB,L=0,I=0,U=LIB,B=REC. RETURN,ZZZZZUU,ZZZZZG2. REVERT,NOLIST. .ENDIF,REPLACE. .* .* DELETE .* .IFE($OP$.EQ.$D$,DELETE) REWIND,LIB,REC,ZZZZZUU. COPYX,LIB,ZZZZZUU,REC,3. COPYBR,LIB,REC. RETURN,ZZZZZUV. WRITER,ZZZZZUV. ERRMSG,OFF. VERIFY,REC,ZZZZZUV,L=LISTVE,A,R. ERRMSG,ON. NOTE,OUTPUT./RECORD FILE REC NOT FOUND/ RETURN,REC,LISTVE,ZZZZZUV. REVERT,EX.ULIB,OP,,LIB. EXIT. ERRMSG,ON. COPY,LIB,ZZZZZUU. LIBRARY,LIB/D. RETURN,LIB,LISTVE,ZZZZZUV,REC. LIBGEN,F=ZZZZZUU,P=LIB. RETURN,ZZZZZUU. REVERT,NOLIST. .ENDIF,DELETE. .ENDIF,CREATE. EXIT. *WEOR
cdc/nos2.source/opl871/ulib.txt ยท Last modified: 2023/08/05 17:24 by Site Administrator