CIMFIL/ON,MACHIN $$ OUTPUT PARTNO
DMY=POSTF(2,1,1867,1) $$ SIMULATE ON
DMY=POSTF(13) $$ TURN POST ON
FROM/0,0,0
SPINDL/200
FEDRAT/FIPM
SEQNO/OFF
DISPLY/ON $$ ALLOW PPRINT TO PUNCH
DMY=POSTF(2,1,1867,0) $$ OUTPUT STARTUP DATA
TP=TEXT/OMIT,TP,2 $$ FIND PGM UPTO 3-NUMBERS
I3=INDXF(TP,(TEXT/' '))
IF(I3 .LT. 1)I3=CANF(TP,1)
DO/LM10,I1=1,I3
T1=TEXT/RANGE,TP,I1,I1
I2=ICHARF((TEXT/RANGE,TP,I1,I1))
IF(I2.GE.48 .AND. I2.LE.57) THEN
IF(CANF(TPGM,1) .LE. 3)THEN
TPGM=TEXT/TPGM,T1
ENDIF
ENDIF
LM10)CONTIN
IF(CANF(TPGM,1) .LT. 1)TPGM=TEXT/'71'
T1=TEXT/' % ',TP
T1=TEXT/RANGE,T1,1,64
INSERT/T1,'$'
T1=TEXT/' 0 BEGIN PGM ',TPGM,' MM'
INSERT/T1,'$'
$$T1=TEXT/' 1 TOOL CALL 0 Z S 1200,000'
$$INSERT/T1,'$'
SEQNO/1,INCR,1
DMY=POSTF(2,1,1867,1) $$ SIMULATE ON
CIMFIL/OFF
$$ |