User Tools

Site Tools


cdc:nos2.source:opl871:superm

SUPERM

Table Of Contents

Source Code

SUPERM.txt
  1. *NOSEQ
  2. DOC
  3. ***** CYBER SUPERMINI PROCEDURES.
  4. *
  5. * J. H. ERICKSON 84/06/01
  6. *
  7. * THESE PROCEDURES FRONT END THE STANDARD UTILITIES.
  8. * THESE PROCEDURE DO NOT PRESENT ALL THE OPTIONS
  9. * AVAILABLE UNDER NOS. THEY DO REQUIRE ONLY A MINIMAL
  10. * NUMBER OF DECISIONS ON THE PART OF THE USER. MOST
  11. * OF THE PROCEDURES ARE RUN FROM THE SYSTEM CONSOLE.
  12. * THREE OF THE PROCEDURES ARE RUN FROM A TERMINAL
  13. * IN SCREEN MODE.
  14. *
  15. * BEFORE THE PROCEDURES CAN BE RUN THEY MUST BE
  16. * INSTALLED USING THE SYSTEM PROCEDURE,
  17. * MAINTAIN SYSTEM *MS*.
  18. *
  19. * FROM DSD ENTER: X.MS(SETUP)
  20. *
  21. * THIS WILL TAKE THE PROCEDURES AND THE VALIDATION TYPES
  22. * ON ULIB/SUPERM AND PLACE THEM ON USER NAME SYSTEMX ON
  23. * A PERMANENT FILE CALLED ZZZPFIL. THE PROCEDURE CPASS
  24. * WILL BE PLACED ON A PUBLIC PERMANENT FILE ON SYSTEMX.
  25. * *MS* WILL CREATE THE FILE ZZZZVDI USED BY VALUSER AND
  26. * WRITEVI. THESE FILES CREATED BY *MS* ON SYSTEMX WILL
  27. * GIVE USER NAME INSTALL WRITE PERMISSION.
  28. *
  29. * SETUP MAY ALSO BE USED AS FOLLOWS:
  30. *
  31. * X.MS(SETUP,XXXX)
  32. *
  33. * THIS FORMAT ALLOWS THE OPERATOR TO INSTALL PROTIONS
  34. * OF WHAT WAS INSTALLED BY * X.MS(SETUP) *. THE
  35. * PORTION IS SPECIFIED BY USING THE PARAMETER *XXXX*.
  36. * SUBSTITUTING ZZZZVDI FOR XXXX INSTALLS ZZZZVDI.
  37. * SUBSTITUTING SUPERM FOR XXXX INSTALLS THE PROCEDURES
  38. * AND VALIDATION TYPES.
  39. *
  40. * ALL THE TAPES USED IN THESE PROCEDURES ARE ASSUMED
  41. * TO BE PRELABELED GE DENSITY TAPES. THE PROCEDURES
  42. * FOR DAYFILE AND QUEUE FILE MAINTENANCE ASSUME ONLY
  43. * ONE TAPE WILL BE REQUIRED FOR EACH RUN. A SETNAME
  44. * PARAMETER IS SUPPLIED TO IDENTIFY THE SET OF TAPES
  45. * USED. THE SETNAME MUST BE 1-5 ALPHANUMERIC CHARACTERS.
  46. * THE PROCEDURES CONCATENATE THE SETNAME WITH THE
  47. * VOLUME NUMBER OF TAPE TO GET THE ACTUAL VSN.
  48. * EXAMPLE: THE SETNAME IS FRI AND THE VOLUME NUMBER
  49. * IS 2. THE VSNS WOULD BE FRI1 AND FRI2.
  50. * BE FRIDAY1 OR FRIDAY2, ETC.
  51. *
  52. * THE GLOBAL *CCL* REGISTER R1G IS USED TO COMMUNICATE
  53. * BETWEEN THE SYSTEM PROCEDURE, *MS* AND THE CALLED
  54. * PROCEDURES. IF R1G IS EQUAL TO ONE THEN *MS* KNOWS
  55. * THERE WAS A FAILURE IN THE CALLED PROCEDURES AND
  56. * THE CALLED PROCEDURE NOTIFIED THE OPERATOR. IF
  57. * *MS* GOES TO EXIT PROCESSING THEN *MS* KNOWS THERE
  58. * WAS AN ERROR IN THE CALLED PROCEDURE AND THE CALLED
  59. * PROCEDURE DID NOT NOTIFIED THE OPERATOR. IF R1G
  60. * IS EQUAL TO ZERO THEN THE CALLED PROCEDURE COMPLETED
  61. * SUCCESSFULLY.
  62. *
  63. *WEOR
  64. .PROC,MS*I
  65. ,TOOL =(*F)
  66. ,P1 =(*N=$$,*A)
  67. ,P2 =(*N=$$,*A)
  68. ,P3 =(*N=$$,*A)
  69. ,P4 =(*N=$$,*A)
  70. ,P5 =(*N=$$,*A)
  71. ,P6 =(*N=$$,*A)
  72. ,P7 =(*N=$$,*A)
  73. .
  74. .* MS - MAINTAIN SYSTEM
  75. .* THIS SYSTEM PROCEDURE IS USED TO INITIATE TOOLS
  76. .* THAT ARE USED IN MAINTAINING THE SYSTEM.
  77. .* DSD COMMAND FORMAT:
  78. .*
  79. .* X.MS(TOOL,P1,P2,P3...)
  80. .*
  81. .* WHERE TOOL IS THE PROCEDURE NAME, P1, P2, P3, ETC. ARE THE
  82. .* PARAMETERS TO THE PROCEDURE.
  83. .* THE PROCEDURE DESIGNED TO BE INITIATED FROM A TERMINAL WILL
  84. .* BE INITIATED AS:
  85. .*
  86. .* SCREEN,TERMINAL TYPE.
  87. .* MS(TOOL)
  88. .*
  89. .* IN THIS CASE, THE TOOL WILL PROMPT THE USER FOR THE PARAMETERS.
  90. .* CURRENTLY THE TOOLS RESIDE ON A PERMANENT FILE ZZZPFIL ON
  91. .* SYSTEMX.
  92. .IF,OT.EQ.SYO,MS1.
  93. * EXECUTE TOOL FROM THE CONSOLE
  94. .IF,$TOOL$.EQ.$SETUP$,MS2.
  95. * THIS IS A SETUP RUN.
  96. * ZZZPFIL AND/OR ZZZZVDI ARE INSTALLED
  97. * ON SYSTEMX DEPENDING ON THE P1 PARAMETER.
  98. * SETUP IS CREATED BY A .DATA STATEMENT IN MS.
  99. BEGIN(SETUP,SETUP,P1)
  100. REVERT. MS COMPLETE
  101. EXIT.
  102. RETURN,*,OUTPUT.
  103. ***********************************
  104. * *
  105. *SETUP IS NOT SUPPORTED AS CALLED. *
  106. *PLEASE CONSULT CYBER SUPERMINI *
  107. *OPERATIONS HANDBOOK AND TRY AGAIN *
  108. * *
  109. * WHEN YOU HAVE READ THIS MESSAGE *
  110. * *
  111. * ENTER: ASSIGN,JSN,2. *
  112. * *
  113. ************************************
  114. REQUEST(OPER) SETUP FAILED
  115. RETURN(OPER)
  116. REVERT. MS(SETUP) FAILED
  117. .ENDIF,MS2.
  118. ATTACH,ZZZPFIL.
  119. SKIP,MS3.
  120. EXIT.
  121. ***********************************
  122. * *
  123. * PROCFIL ZZZPFIL WAS NOT FOUND. *
  124. * RUN X.MS(SETUP) TO CREATE THIS *
  125. * PROCFIL. *
  126. * *
  127. * WHEN YOU HAVE READ THIS MESSAGE *
  128. * *
  129. * ENTER: ASSIGN,JSN,2. *
  130. * *
  131. ***********************************
  132. REQUEST(OPER) MS FAILED.
  133. RETURN(OPER)
  134. WRITEF.
  135. REVERT. MS
  136. ENDIF,MS3.
  137. * CHECK TO SEE IF TOOL IS
  138. * SUPPORTED FROM THE CONSOLE
  139. * IF SO CHECK TO SEE IF TOO MANY
  140. * PARAMETERS WERE SUPPLIED
  141. BEGIN(VERTOOL,ZZZPFIL,TOOL,P1,P2,P3,P4,P5,P6,P7)
  142.  
  143. * EXECUTE THE TOOL
  144. BEGIN(TOOL,ZZZPFIL,P1,P2,P3,P4,P5)
  145. SKIP,MS6.
  146. EXIT.
  147. * TOOL FAILED AND THE EXACT
  148. * ERROR COULD NOT BE IDENTIFIED.
  149. BEGIN(ERRTOOL,ZZZPFIL,TOOL)
  150. REVERT. MS
  151. ENDIF,MS6.
  152. * THE R1G REGISTER IS USED TO STATE WHETHER OR
  153. * NOT TOOL WAS SUCCESSFUL.
  154. * R1G=1 FOR ERROR IN TOOL.
  155. IF,R1G.EQ.1,MS7.
  156. * THERE WAS AN ERROR IN TOOL THAT WAS
  157. * REPORTED TO THE OPERATOR BY TOOL.
  158. WRITEF.
  159. REVERT. MS
  160. ENDIF,MS7.
  161. * TOOL COMPLETED SUCCESSFULLY.
  162. BEGIN(SUCCESS,ZZZPFIL,TOOL)
  163. .ELSE,MS1.
  164. .IF,OT.EQ.IAO,MS1.
  165. ATTACH,ZZZPFIL/UN=SYSTEMX,NA.
  166. ATTACH,ZZPPFIL/UN=SYSTEMX.
  167. SKIP,MS8.
  168. EXIT.
  169. NOTE(OUTPUT)* PROCFIL ZZPPFIL WAS NOT FOUND.
  170. NOTE(OUTPUT)* RUN X.MS(SETUP)
  171. NOTE(OUTPUT)* FROM THE CONSOLE
  172. NOTE(OUTPUT)* TO CREATE THIS PROCFIL.
  173. ROLLOUT(5)
  174. REVERT. MS(TOOL) FAILED
  175. ENDIF,MS8.
  176.  
  177. * CHECK TO SEE IF TOOL IS SUPPORTED
  178. * FROM A TERMINAL
  179. BEGIN(VERIAT,ZZPPFIL,TOOL)
  180.  
  181. * BEGIN EXECUTION OF THE TOOL
  182. .IF,$TOOL$.EQ.$WRITEVI$,MS11.
  183. ATTACH,ZZZPFIL/UN=SYSTEMX.
  184. BEGIN(TOOL,ZZZPFIL,P1,P2,P3,P4,P5,P6,P7)
  185. REVERT. MS (TOOL) COMPLETED.
  186. EXIT.
  187. * WRITEVI CANNOT BE RUN FROM THIS
  188. * USER.
  189. REVERT. MS (TOOL) FAILED.
  190. .ELSE,MS11.
  191. BEGIN(TOOL,ZZPPFIL,P1,P2,P3,P4,P5,P6,P7)
  192. REVERT. MS (TOOL) COMPLETED.
  193. .ENDIF,MS11
  194.  
  195. SKIP,MS9.
  196. EXIT.
  197. NOTE(OUTPUT,NR)* TOOL FAILED. PLEASE
  198. NOTE(OUTPUT,NR)* EXAMINE THE DAYFILE
  199. NOTE(OUTPUT,NR)* TO IDENTIFIED THE CAUSE.
  200. ROLLOUT(5)
  201. REVERT. MS (TOOL) FAILED
  202. ENDIF,MS9.
  203. REVERT. (TOOL) COMPLETE
  204. .ELSE,MS1.
  205. * TOOL NOT SUPPORTED FROM
  206. * THIS ORIGIN TYPE.
  207. * #TOOLS ARE ONLY SUPPORTED FROM A
  208. * TERMINAL OR THE CONSOLE BY MS.
  209. * PLEASE TRY TOOL FROM AN ORIGIN
  210. * TYPE WHICH SUPPORTS IT.
  211. * TOOL WAS NOT RUN.
  212. REVERT. MS FAILED.
  213. .ENDIF,MS1.
  214. .IF,OT.EQ.SYO,MS10.
  215. .DATA,SETUP.
  216. .EXPAND,OFF.
  217. .PROC,SETUP*I
  218. ,P1 [SETUP THIS]
  219. =(*N=0,PROCFIL=1,ZZZZVDI=2)
  220. .
  221. IF,((P1.EQ.0).OR.(P1.EQ.2)),SETUP1.
  222. * INSTALL ZZZZVDI.
  223. PURGE(ZZZZVDI/NA)
  224. DEFINE(ZZZZVDI)
  225. PERMIT(ZZZZVDI,INSTALL=W)
  226. RETURN(ZZZZVDI)
  227. SKIP,SETUP1.
  228. EXIT.
  229. IF,PNL.EQ.2,SETUP3.
  230. RETURN,*,OUTPUT.
  231. ENDIF,SETUP3.
  232. ***************************************
  233. * *
  234. * SETUP FAILED WHILE TRYING *
  235. * TO CREATE ZZZZVDI. PLEASE EXAMINE *
  236. * THE OUTPUT TO ISOLATE THE CAUSE. *
  237. * *
  238. * WHEN YOU HAVE READ THIS MESSAGE *
  239. * *
  240. * ENTER: ASSIGN,JSN,2. *
  241. * *
  242. ***************************************
  243. IF,PNL.EQ.2,SETUP4.
  244. REQUEST(OPER) SETUP FAILED
  245. RETURN(OPER)
  246. ELSE,SETUP4.
  247. REVERT,EX.REVERT,ABORT. SETUP FAILED.
  248. ENDIF,SETUP4.
  249. REVERT. SETUP FAILED
  250. ENDIF,SETUP1.
  251. IF,((P1.EQ.0).OR.(P1.EQ.1)),SETUP2.
  252. * INSTALL THE PROCFILS, ZZZPFIL AND ZZPPFIL.
  253. COMMON(SYSTEM)
  254. PURGE(ZZZPFIL,ZZPPFIL/NA)
  255. DEFINE(ZZZPFIL)
  256. DEFINE(ZZPPFIL/CT=PU)
  257. PERMIT(ZZZPFIL,INSTALL=W)
  258. GTR(SYSTEM,TEMP)ULIB/SUPERM
  259. GTR(TEMP)SPRI-EPRI
  260. LIBEDIT(N=ZZZPFIL,P=0,Z)/*FILE LGO/*IGNORE,SPRI,EPRI/*BUILD ZZZPFIL
  261. RETURN,LGO.
  262. GTR(TEMP)SPUB-EPUB
  263. LIBEDIT(N=ZZPPFIL,P=0,Z)/*FILE LGO/*IGNORE,SPUB,EPUB/*BUILD ZZPPFIL
  264. ENDIF,SETUP2.
  265. IF,PNL.EQ.2,SETUP5.
  266. BEGIN(SUCCESS,ZZZPFIL,SETUP)
  267. ENDIF,SETUP5.
  268. WRITEF,OUTPUT.
  269. REVERT. SETUP COMPLETE
  270. EXIT.
  271. IF,PNL.EQ.2,SETUP6.
  272. RETURN,*,OUTPUT.
  273. ENDIF,SETUP6.
  274. ***************************************
  275. * *
  276. * SETUP FAILED WHILE TRYING *
  277. * TO CREATE PROCFILS. PLEASE EXAMINE *
  278. * THE OUTPUT TO ISOLATE THE CAUSE. *
  279. * *
  280. * WHEN YOU HAVE READ THIS MESSAGE *
  281. * *
  282. * ENTER: ASSIGN,JSN,2. *
  283. * *
  284. ***************************************
  285. IF,PNL.EQ.2,SETUP7.
  286. REQUEST(OPER) SETUP FAILED
  287. RETURN(OPER)
  288. ELSE,SETUP7.
  289. REVERT,EX.REVERT,ABORT. SETUP FAILED.
  290. ENDIF,SETUP7.
  291. REVERT. SETUP FAILED
  292. .EXPAND.
  293. .ENDIF,MS10.
  294. *WEOR
  295. SPUB
  296. *WEOR
  297. .PROC,CPASS*I
  298. ,OLDPASS [OLD PASSWORD]
  299. =(*S7(ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789)),
  300. ,NEWPASS [NEW PASSWORD]
  301. =(*S7(ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789)),
  302. ,NPASS [ENTER NEW PASSWORD AGAIN]
  303. =(*S7(ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789)).
  304. .*
  305. .* COMMAND FORMAT : MS(CPASS)
  306. .* THIS PROCEDURE CAN BE RUN FROM ANY TERMINAL LOGGED INTO A VALID
  307. .* USER NAME. CPASS WILL ASK FOR THE OLD PASSWORD AND THE NEW
  308. .* PASSWORD. THEN IT WILL ASK FOR THE NEW PASSWORD AGAIN. IF THE
  309. .* SECOND REPONSE MATCHES THE FIRST, CPASS WILL CHANGE BOTH THE
  310. .* BATCH AND INTERACTIVE PASSWORDS TO THE NEW PASSWORD. IF THE
  311. .* NEW PASSWORD IS NOT TYPED IN THE SAME BOTH TIMES CPASS WILL
  312. .* ASK THE USER TO TRY AGAIN.
  313. .*
  314. .IF, $NEWPASS$ .NE. $NPASS$, CPASS1.
  315. NOTE(OUTPUT,NR)++ YOUR NEW PASSWORDS DISAGREE. TRY AGAIN.+
  316. SET,R1G=1.
  317. .ELSE,CPASS1.
  318. PASSWOR,OLDPASS,NEWPASS.
  319. SUBMIT,CHGPASS,N.
  320. .ENDIF,CPASS1.
  321. REVERT. CPASS COMPLETED.
  322. .DATA,CHGPASS
  323. /JOB
  324. PASSWOR.
  325. /USER
  326. PASSWOR,OLDPASS,NEWPASS.
  327. EXIT.
  328. *WEOR
  329. .PROC,FINDJSN*I
  330. ,JSN [JOB SEQUENCE NUMBER]
  331. =(*S4(ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890)).
  332. .*
  333. .* COMMAND FORMAT : *FINDJSN(JSN)*
  334. .* THIS PROCEDURE PRINTS ALL DAYFILE ENTRIES FOR A SPECIFIC JOB
  335. .* BY EXAMINING THE CURRENT ACTIVE SYSTEM DAYFILE FOR ALL ENTRIES
  336. .* MADE BY THE JOB WITH A SPECIFIC JSN.
  337. .*
  338. ATTACH,DF=DAYFILE/UN=SYSTEMX/NA.
  339. IF,.NOT.FILE(DF,AS),FNDJSN1.
  340. SET,R1G=1. ABORT.
  341. NOTE.++ DAYFILE NOT FOUND IN SYSTEMX.+
  342. RETURN,DF,FIEDIT.
  343. WRITEF,OUTPUT.
  344. REVERT. FINDJSN ABORTED.
  345. ENDIF,FNDJSN1.
  346. EDIT,DF,I=FIEDIT,L=ZZLIST.
  347. REWIND,*,OUTPUT.
  348. SKIP,FINDJS1.
  349. EXIT.
  350. REVERT,ABORT. FINDJSN FAILED.
  351. ENDIF,FINDJS1.
  352. VERIFY,ZZLIST,ZZZFIND,A.
  353. .* IF THE FILES VERIFY THAN THE JSN WAS NOT FOUND IN THE DAYFILE.
  354. SET,R1G=1.
  355. NOTE(OUTPUT,NR)* *
  356. NOTE(OUTPUT,NR)* ERROR-- #JSN JSN WAS NOT FOUND *
  357. NOTE(OUTPUT,NR)* IN THE DAYFILE. RETRY WITH A *
  358. NOTE(OUTPUT,NR)* DIFFERENT #JSN. *
  359. NOTE(OUTPUT,NR)* *
  360. ROLLOUT,7.
  361. REVERT. FINDJSN FAILED.
  362. EXIT.
  363. REWIND,*,OUTPUT.
  364. COPYEI,ZZLIST,OUTPUT.
  365. RETURN,DF,FIEDIT.
  366. WRITEF,OUTPUT.
  367. REVERT. FINDJSN COMPLETED.
  368. .DATA,FIEDIT
  369. L:/. JSN/;*
  370. END
  371. .DATA,ZZZFIND.
  372. BEGIN TEXT EDITING.
  373. -END OF FILE-
  374. END TEXT EDITING.
  375. *WEOR
  376. .PROC,LOADLOG*I
  377. ,VSN [VOLUME SERIAL NUMBER]
  378. =(*S6(ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890)),
  379. ,ACCOUNT [LOAD ACCOUNT FILE. ENTER YES OR NO]
  380. =(NO,YES),
  381. ,DAYFILE [LOAD DAYFILE FILE. ENTER YES OR NO]
  382. =(NO,YES),
  383. ,ERRLOG [LOAD ERRLOG FILE. ENTER YES OR NO]
  384. =(NO,YES),
  385. ,MAINLOG [LOAD MAINLOG FILE. ENTER YES OR NO]
  386. =(NO,YES).
  387. .*
  388. .* COMMAND FORMAT : *LOADLOG(VSN,ACCOUNT,DAYFILE,ERRLOG,MAINLOG)*
  389. .* THIS PROCEDURE USES RECLAIM TO LOAD THE PERMANENT FILES (ACCOUNT,
  390. .* DAYFILE, ERRLOG, AND MAINLOG) FROM A TAPE CREATED BY ENDLOG.
  391. .* THE TAPE IS A GE DENSITY LABELED TAPE WITH A VSN.
  392. .* ANY SUBSET OF THESE LOGS MAY BE LOADED.
  393. .*
  394. EDIT,INDIR,I=LOEDIT,L=ZZSCR.
  395. RECLAIM,I=INDIR,DB=0.
  396. UNLOAD,INDIR,TAPE,LOEDIT,ZZSCR.
  397. WRITEF,OUTPUT.
  398. REVERT. LOADLOG COMPLETED.
  399. EXIT.
  400. UNLOAD,INDIR,TAPE,LOEDIT,ZZSCR.
  401. WRITEF,OUTPUT.
  402. REVERT. LOADLOG FAILED.
  403. .DATA,INDIR
  404. LOAD,D=GE,NT,TN=VSN,RP=Y,PF=*
  405. .IF,$ACCOUNT$ .EQ. $YES$.#ACCOUNT+
  406. .IF,$DAYFILE$ .EQ. $YES$.-#DAYFILE+
  407. .IF,$ERRLOG$ .EQ. $YES$.-#ERRLOG+
  408. .IF,$MAINLOG$ .EQ. $YES$.-#MAINLOG
  409. .DATA,LOEDIT
  410. CS:/+/,/-/;*
  411. /,/
  412. RS:/+/,/ /;1
  413. DS:/-/;1
  414. END
  415. *WEOR
  416. .PROC,VERIAT*I
  417. ,P1 [TOOL]
  418. =(WRITEVI=1,FINDJSN=1,LOADLOG=1,CPASS=1,1=L,*A)
  419. .
  420. .IF,($P1$.EQ.$1$).REVERT,NOLIST. TOOL SUPPORTED FROM TERMINAL
  421. NOTE(OUTPUT)* P1 NOT SUPPORTED FROM A TERMINAL
  422. ROLLOUT(5)
  423. REVERT,EX.REVERT. P1 FAILED
  424. *WEOR
  425. EPUB
  426. *WEOR
  427. SPRI
  428. *WEOR
  429. .PROC,BLANKST*I"BLANK LABEL A SET OF TAPES"
  430. ,SETNAME [SETNAME OF DUMP TAPES]
  431. =(*A,*N=)
  432. ,NUMBER [NUMBER OF DUMP TAPES TO BLANK LABEL]
  433. =(*A,*N=)
  434. .
  435. .*
  436. .* COMMAND FORMAT : *X.MS(BLANKST,SETNAME,NUMBER)*
  437. .* WHERE NUMBER IS THE NUMBER OF VOLUMES TO BE LABELED.
  438. .* THIS PROCEDURE BLANK LABELS (NUMBER) TAPES USING (SETNAME)
  439. .* AS THE ROOT. THE VSNS WILL BE;
  440. .* SETNAME_1 SETNAME_2 .... (MAX OF 8 TAPES)
  441.  
  442.  
  443. .*
  444. BEGIN,VERSETN,ZZZPFIL,SETNAME. VERIFY SETNAME
  445. SKIP,BLANKST1.
  446. EXIT.
  447. BEGIN,ERRSETN,ZZZPFIL,BLANKST,SETNAME.
  448. SET(R1G=1)
  449. WRITEF,OUTPUT.
  450. REVERT. BLANKST FAILED
  451. ENDIF,BLANKST1.
  452. BEGIN,VERSETM,ZZZPFIL,NUMBER. VERIFY MAX SETNAME
  453. SKIP,BLANKST2.
  454. EXIT.
  455. BEGIN,ERRSETM,ZZZPFIL,BLANKST,NUMBER.
  456. SET(R1G=1)
  457. WRITEF,OUTPUT.
  458. REVERT. BLANKST FAILED
  459. ENDIF,BLANKST2.
  460.  
  461. SET,R1=0.
  462. WHILE,R1 .LT. NUMBER, BLANKST3.
  463. SET,R1=R1+1.
  464. BEGIN,BLANKX,ZZZPFIL,SETNAME,R1+D,BLANKST.
  465. ENDW,BLANKST3.
  466. WRITEF,OUTPUT.
  467. REVERT. BLANKST COMPLETED
  468. *WEOR
  469. .PROC,BLANKX,ROOT,TAPENUM,P1.
  470. ***************************************
  471. * *
  472. * TO ASSIGN A TAPE TO A TAPE DRIVE *
  473. * ENTER: ASSIGN,JSN,NN. *
  474. * WHERE NN IS THE EST OF THE *
  475. * TAPE DRIVE, FOUND IN THE E,T *
  476. * DISPLAY. *
  477. * *
  478. ***************************************
  479. BLANK,VSN=ROOT_TAPENUM,D=GE.
  480. REVERT,NOLIST. BLANKX COMPLETE.
  481. EXIT.
  482. RETURN,*,OUTPUT.
  483. SET,R1G=1.
  484. ***************************************
  485. * *
  486. * ERROR--BLANKST : SETNAME=ROOT *
  487. * MAY BE OPERATOR TERMINATION ELSE *
  488. * CONSULT DAYFILE. THEN TRY AGAIN *
  489. * WHEN YOU HAVE READ THIS MESSAGE *
  490. * *
  491. * ENTER: ASSIGN,JSN,2. *
  492. * *
  493. ***************************************
  494. REQUEST,OPER. P1 FAILED.
  495. RETURN,OPER.
  496. WRITEF,OUTPUT.
  497. REVERT,EX. REVERT. BLANKST FAILED.
  498. *WEOR
  499. .PROC,DUMPALL*I"DUMP ALL FILES"
  500. ,P1 [SETNAME OF DUMP TAPES]
  501. =(*A,*N=)
  502. .
  503. .*
  504. .* COMMAND FORMAT : *X.MS(DUMPALL,SETNAME)*
  505. .* THIS PROCEDURE DUMPS ALL PERMANENT FILES TO THE SET OF
  506. .* TAPES IDENTIFIED BY SETNAME. DUMPALL WILL ALSO CREATE
  507. .* A PERMANENT FILE, ZZDUMPM, ON USER NAME SYSTEMX WHICH
  508. .* CONTAINS THE SETNAME FOR THIS DUMP AND THE DATE AND TIME OF THE
  509. .* DUMP. THIS INFORMATION IS USED TO CONNECT THIS DUMP
  510. .* WITH SUBSEQUENT DUMPS OF FILES THAT ARE MODIFIED
  511. .* AFTER THIS DUMP.
  512. .*
  513. .* WHEN THIS PROCEDURE COMPLETES CHECK THE DAYFILE
  514. .* TO DETERMINE THAT ALL THE FILES WERE DUMPED. IT
  515. .* IS POSSIBLE FOR DUMPALL TO COMPLETE SUCESSFULLY
  516. .* AND NOT HAVE ALL THE FILES DUMPED TO TAPE. IF
  517. .* A DIRECT ACCESS FILE IS ATTACHED IN WRITE MODE TO A JOB THEN
  518. .* THAT FILE IS SKIPPED BY DUMPALL.
  519. .*
  520. BEGIN(LABELS,ZZZPFIL,P1,DUMPALL,DATE+D)
  521. BEGIN(DUMPFUL,ZZZPFIL,DATE+D,P1,TIME+D)
  522. WRITEF,OUTPUT.
  523. REVERT. DUMPALL COMPLETED
  524. *WEOR
  525. .PROC,DUMPFUL*I
  526. ,P [DATE OF FULL DUMP]
  527. =(*A)
  528. ,P2 [SETNAME OF FULL DUMP]
  529. =(*A)
  530. ,P3 [TIME OF FULL DUMP]
  531. =(*A).
  532. REPLACE,ZZDUMPM. *P = CURRENT DATE. *
  533. PFDUMP.
  534. REVERT,NOLIST. DUMPFUL COMPLETED.
  535. .DATA,ZZDUMPM
  536. .PROC,ZZDUMPM.
  537. PFDUMP,OP=M,AD=P,AT=P3_00,PVSN=P2_1. * P2 = SETNAME OF FULL DUMP. *
  538. REVERT,NOLIST. ZZDUMPM COMPLETED.
  539. *WEOR
  540. .PROC,DUMPLOG*I
  541. ,VSN [VOLUME SERIAL NUMBER]
  542. =(*A,*N=)
  543. ,P [PURGE ON/OFF]
  544. =(*A,*N=).
  545. .*
  546. .* COMMAND FORMAT : *DUMPLOG(VSN,PURGE)*
  547. .* THIS PROCEDURE USES RECLAIM TO DUMP PERMANENT FILES
  548. .* (ACCOUNT, DAYFILE, ERRLOG, AND MAINLOG) CREATED BY
  549. .* PROCEDURE ENDLOG TO TAPE. THE TAPE IS A GE DENSITY
  550. .* LABELED TAPE WITH A VSN. IF PARAMETER PURGE IS SET
  551. .* TO PURGE, THE PERMANENT FILES ARE PURGED AFTER THEY
  552. .* ARE DUMPED. IF PURGE IS NOT SUPPLIED, THE FILES WILL
  553. .* NOT BE PURGED.
  554. .*
  555. BEGIN,VERPURG,ZZZPFIL,P,DUMPLOG.
  556.  
  557. ATTACH,ACCOUNT/NA.
  558. ATTACH,DAYFILE/NA.
  559. ATTACH,ERRLOG/NA.
  560. ATTACH,MAINLOG/NA.
  561. IF,(FILE(ACCOUNT,PM).AND.
  562. FILE(DAYFILE,PM).AND.
  563. FILE(MAINLOG,PM).AND.
  564. FILE(ERRLOG,PM)).SKIP,DUMPLOG2.
  565. RETURN,*,OUTPUT.
  566. SET,R1G=1.
  567. ****************************************
  568. * *
  569. * ERROR-- DUMPLOG FAILED *
  570. * ENDLOG OR ENDDF MUST BE EXECUTED *
  571. * BEFORE DUMPLOG. EXAMINE THE *
  572. * OUTPUT FROM THIS JOB TO *
  573. * DETERMINE THE CAUSE OF THE *
  574. * FAILURE. *
  575. * *
  576. * WHEN YOU HAVE READ THIS MESSAGE *
  577. * *
  578. * ENTER: ASSIGN,JSN,2. *
  579. ***************************************
  580. REQUEST,OPER. DUMPLOG FAILED.
  581. RETURN,OPER.
  582. REVERT. DUMPLOG FAILED.
  583. ENDIF,DUMPLOG2.
  584. RETURN,ACCOUNT,DAYFILE,ERRLOG,MAINLOG.
  585.  
  586.  
  587. BEGIN(LABELV,ZZZPFIL,VSN,DUMPLOG,DATE+D)
  588.  
  589. RECLAIM,Z./DUMP,EI=NO,DN=TAPE,PF=*/ACCOUNT,DAYFILE,ERRLOG,MAINLOG
  590. IF,$P$.EQ.$PURGE$,DUMPLOG1.
  591. PURGE,ACCOUNT,DAYFILE,ERRLOG,MAINLOG/NA.
  592. ENDIF,DUMPLOG1.
  593. WRITEF,OUTPUT.
  594. REVERT. DUMPLOG COMPLETED.
  595. *WEOR
  596. .PROC,DUMPMOD*I"DUMP MODIFIED FILES"
  597. ,P1 [SETNAME OF DUMP TAPES]
  598. =(*A,*N=)
  599. .
  600. .*
  601. .* COMMAND FORMAT : *X.MS(DUMPMOD,SETNAME)*
  602. .* THIS PROCEDURE WILL DUMP PERMANENT FILES THAT HAVE BEEN
  603. .* MODIFIED SINCE THE LAST DUMPALL. DUMPMOD USES
  604. .* THE INFORMATION ON THE FILE ZZDUMPM TO DETERMINE
  605. .* WHEN DUMPALL WAS LAST CALLED. IT ALSO STORES THE VSN
  606. .* OF THE FIRST TAPE USED IN THE DUMPALL ON THIS DUMP.
  607. .*
  608. BEGIN(LABELS,ZZZPFIL,P1,DUMPMOD,DATE+D)
  609. IF,R1G.EQ.1.REVERT. DUMPMOD FAILED
  610.  
  611.  
  612. GET,ZZDUMPM/NA.
  613. IF,FILE(ZZDUMPM,LO),DUMPMOD2.
  614. BEGIN,,ZZDUMPM.
  615. ELSE,DUMPMOD2.
  616. BEGIN(DUMPFUL,ZZZPFIL,DATE+D,P1,TIME+D)
  617. ************************************
  618. * A DUMPALL WAS PERFORMED BECAUSE
  619. * THE RECORD OF WHEN THE LAST DUMPALL
  620. * WAS PERFORMED WAS NOT FOUND.
  621. **************************************
  622. WRITEF,OUTPUT.
  623. REVERT. DUMPALL COMPLETED.
  624. ENDIF,DUMPMOD2.
  625. WRITEF,OUTPUT.
  626. REVERT. DUMPMOD COMPLETED.
  627. *WEOR
  628. .PROC,DUMPOLD*I"ARCHIVE FILES"
  629. ,P1 [SETNAME OF TAPES TO BE USED]
  630. =(*A,*N=)
  631. ,P2 [LAST ACCESS BEFORE DATE CUTOFF]
  632. =(*A,*N=).
  633. .*
  634. .* COMMAND FORMAT : *X.MS(DUMPOLD,SETNAME,DATE)*
  635. .* THIS PROCEDURE WILL DUMP PERMANENT FILES THAT HAVE NOT
  636. .* BEEN READ, EXECUTED OR WRITTEN AFTER DATE. AFTER THESE
  637. .* FILES HAVE BEEN DUMPED THEY WILL BE PURGED. THE OUTPUT
  638. .* FROM THIS PROC WILL BE STORED ON A PERMANENT FILE ON
  639. .* SYSTEMX NAMED DYYMMDD WHERE YYMMDD IS THE DATE OF THE DUMP.
  640. .*
  641. BEGIN,VERDATE,ZZZPFIL,P2,DUMPQUE.
  642.  
  643. ***************************************
  644. * NOTE--IF THIS PROCEDURE CONTINUES, *
  645. * PERMANENT FILES HAVING A LAST *
  646. * ACCESS DATE PRIOR TO P2 ARE *
  647. * DUMPED TO TAPE AND PURGED. *
  648. * *
  649. * TO "NOT" DUMP ANS PURGE FILES: *
  650. * ENTER DROP,JSN. *
  651. * TO DUMP AND PURGE FILES: *
  652. * ENTER: ASSIGN,JSN,2. *
  653. * *
  654. ***************************************
  655. REQUEST,OPER. STOP OR PURGE?
  656. RETURN,OPER.
  657. SKIP,DUMPOLD1.
  658. EXIT.
  659. RETURN,*,OUTPUT.
  660. SET(R1G=1)
  661. *************************************
  662. * *
  663. * NO FILES WERE DUMPED TO TAPE OR *
  664. * PURGED. *
  665. * DUMPOLD STOPPED AS REQUESTED. *
  666. * WHEN YOU HAVE READ THIS MESSAGE *
  667. * *
  668. * ENTER: ASSIGN,JSN,2. *
  669. * *
  670. *************************************
  671. REQUEST,OPER. DUMPOLD STOPPED.
  672. RETURN,OPER.
  673. WRITEF,OUTPUT.
  674. REVERT. DUMPOLD STOPPED.
  675. ENDIF,DUMPOLD1.
  676.  
  677.  
  678. BEGIN(LABELS,ZZZPFIL,P1,DUMPOLD,DATE+D)
  679.  
  680. PFDUMP(OP=AP,BD=P2).
  681. ***************************************
  682. * *
  683. * ALL FILES HAVING A LAST ACCESS DATE *
  684. * BEFORE ** P2 ** HAVE NOW *
  685. * BEEN DUMPED TO TAPE AND PURGED. *
  686. ***************************************
  687. WRITEF,OUTPUT.
  688. REVERT. DUMPOLD COMPLETED.
  689. *WEOR
  690. .PROC,DUMPQUE*I
  691. ,VSN [VOLUME SERIAL NUMBER]
  692. =(*A,*N=).
  693. .*
  694. .* COMMAND FORMAT : *X.MS(DUMPQUE,VSN)*
  695. .* THIS PROCEDURE IS USED TO DUMP AND PURGE ALL QUEUE FILES.
  696. .*
  697. BEGIN(LABELV,ZZZPFIL,VSN,DUMPQUE,DATE+D)
  698.  
  699. QREC(OP=DI,PO=N)
  700. QDUMP(DA=ALL,PO=N,FN=TAPE)
  701. QREC(OP=PI,PO=N)
  702. WRITEF,OUTPUT.
  703. REVERT. DUMPQUE COMPLETED.
  704. *WEOR
  705. .PROC,ENDDF*I"RESTART A DAYFILE"
  706. ,P1 [TYPE OF DAYFILE]
  707. =(ACCOUNT=1,DAYFILE=2,ERRLOG=3,MAINLOG=4,*A,*N=$$).
  708. .* COMMAND FORMAT: X.MS(ENDDF,DAYFILE)
  709. .* THIS PROCEDURE CAUSES THE SYSTEM TO APPEND THE SPECIFIED
  710. .* *DAYFILE* TO A PERMANENT FILE WITH THE SAME NAME. IF THE
  711. .* CORRESPONDING PERMANENT FILE ALREADY EXISTS, THE DAYFILE IS
  712. .* COPIED TO THE PERMANENT FILE AS AN ADDITIONAL RECORD.
  713. .* IF THE PERMANENT FILE DOES NOT EXIST, ENDDF DEFINES IT, AND THE
  714. .* CORRESPONDING DAYFILE IS COPIED THE PERMANENT FILE AS THE FIRST
  715. .* RECORD. A NEW SYSTEM DAYFILE IS CREATED TO RECEIVE SUBSEQUENT
  716. .* DAYFILE MESSAGES. THE SUPPORTED VALUES FOR THE PARAMETER,
  717. .* *DAYFILE* ARE ACCOUNT, DAYFILE, ERRLOG, AND MAINLOG.
  718. .*
  719. .IF,P1.EQ.1,ENDDF1.
  720. BEGIN,ENDDFL,ZZZPFIL,ACCOUNT,AC.
  721. .ELSE,ENDDF1.
  722. .IF,P1.EQ.2,ENDDF1.
  723. BEGIN,ENDDFL,ZZZPFIL,DAYFILE,DF.
  724. .ELSE,ENDDF1.
  725. .IF,P1.EQ.3,ENDDF1.
  726. BEGIN,ENDDFL,ZZZPFIL,ERRLOG,ER.
  727. .ELSE,ENDDF1.
  728. .IF,P1.EQ.4,ENDDF1.
  729. BEGIN,ENDDFL,ZZZPFIL,MAINLOG,ML.
  730. .ELSE,ENDDF1.
  731. BEGIN(ERRDAY,ZZZPFIL,ENDDF,P1)
  732. .ENDIF,ENDDF1.
  733. WRITEF,OUTPUT.
  734. REVERT,NOLIST. ENDDF COMPLETED.
  735. *WEOR
  736. .PROC,ENDDFL*I
  737. ,P1 [SYSTEM LOG FILE NAME]
  738. =(ACCOUNT,DAYFILE,ERRLOG,MAINLOG)
  739. ,P2 [TWO CHARACTER LOG FILE IDENTIFIER]
  740. =(AC,DF,ER,ML)
  741. .
  742. PURGE,P2_FILE/NA.
  743. DFTERM,FT=P1,NM=FILE,PO=N.
  744. ATTACH(P2_FILE)
  745. ATTACH,P1/M=W,NA.
  746. IF,FILE(P1,.NOT.PM),ENDDF1.
  747. DEFINE,P1.
  748. ENDIF,ENDDF1.
  749. SKIPEI,P1.
  750. COPYEI,P2_FILE,P1.
  751. PURGE,P2_FILE.
  752. ***************************************
  753. * *
  754. * P1 RESTART COMPLETE *
  755. * *
  756. ***************************************
  757. REVERT. ENDDFL COMPLETE
  758. *WEOR
  759. .PROC,ENDLOG.
  760. .*
  761. .* COMMAND FORMAT : *X.MS(ENDLOG)*
  762. .* THIS PROCEDURE CALLS *ENDDF* FOR EACH OF THE FOUR SYSTEM
  763. .* DAYFILES.
  764. .*
  765. BEGIN(ENDDFL,ZZZPFIL,ACCOUNT,AC)
  766. BEGIN(ENDDFL,ZZZPFIL,DAYFILE,DF)
  767. RETURN,*.
  768. BEGIN(ENDDFL,ZZZPFIL,ERRLOG,ER)
  769. BEGIN(ENDDFL,ZZZPFIL,MAINLOG,ML)
  770. WRITEF,OUTPUT.
  771. REVERT. ENDLOG COMPLETED.
  772. *WEOR
  773. .PROC,ERRDAY*I
  774. ,P1 [TOOL]
  775. =(*F)
  776. ,P2 [ERRONEOUS DAYFILE]
  777. =(*A,*N=NULL)
  778. .
  779. RETURN,*,OUTPUT.
  780. SET(R1G=1)
  781. *************************************
  782. * *
  783. * ERROR--DAYFILE : P2. *
  784. * NOT PROPERLY SPECIFIED *
  785. * TRY AGAIN WITH ACCOUNT, DAYFILE, *
  786. * ERRLOG, OR MAINLOG. *
  787. * *
  788. * WHEN YOU HAVE READ THIS MESSAGE *
  789. * *
  790. * ENTER: ASSIGN,JSN,2. *
  791. * *
  792. *************************************
  793. REQUEST,OPER. P1 FAILED
  794. RETURN,OPER.
  795. REVERT,EX.REVERT. P1 FAILED
  796. *WEOR
  797. .PROC,ERRJSN*I
  798. ,P1 [PROCEDURE ERRJSN IS CALLED FROM]
  799. =(*F)
  800. ,P2 [JSN THAT WAS INCORRECT]
  801. =(*A,*N=NONE).
  802. SET(R1G=1)
  803. RETURN,*,OUTPUT.
  804. ***************************************
  805. * *
  806. * ERROR--#JSN : P2 *
  807. * NOT PROPERLY SPECIFIED. *
  808. * TRY AGAIN WITH A 1-6 ALPHANUMERIC *
  809. * CHARACTER JSN. *
  810. * WHEN YOU HAVE READ THIS MESSAGE *
  811. * *
  812. * ENTER: ASSIGN,JSN,2. *
  813. * *
  814. ***************************************
  815. REQUEST,OPER. P1 FAILED.
  816. RETURN,OPER.
  817. REVERT,NOLIST. ERRJSN COMPLETED.
  818. *WEOR
  819. .PROC,ERRNOU.
  820. SET(R1G=1)
  821. RETURN,*,OUTPUT.
  822. ***************************************
  823. * *
  824. * ERROR--TO SPECIFY A PERMANENT FILE, *
  825. * THE USER NAME MUST ALSO BE GIVEN. *
  826. * WHEN YOU HAVE READ THIS MESSAGE *
  827. * *
  828. * ENTER: ASSIGN,JSN,2. *
  829. * *
  830. ***************************************
  831. REQUEST,OPER. LOADF FAILED.
  832. RETURN,OPER.
  833. WRITEF,OUTPUT.
  834. REVERT,EX.REVERT. LOADF FAILED.
  835. *WEOR
  836. .PROC,ERRSETM*I
  837. ,P1 [PROCEDURE ERRSETM IS CALLED FROM]
  838. =(*F)
  839. ,P2 [NUMBER THAT WAS INCORRECT]
  840. =(*A,*N=NONE).
  841. SET(R1G=1)
  842. RETURN,*,OUTPUT.
  843. ***************************************
  844. * *
  845. * ERROR--NUMBER OF DUMP TAPES TO *
  846. * BLANK LABEL NOT PROPERLY SPECIFIED. *
  847. * TRY AGAIN WITH A NUMERIC DIGIT IN *
  848. * RANGE : 1 TO 8. *
  849. * WHEN YOU HAVE READ THIS MESSAGE *
  850. * *
  851. * ENTER: ASSIGN,JSN,2. *
  852. * *
  853. ***************************************
  854. REQUEST,OPER. P1 FAILED.
  855. RETURN,OPER.
  856. REVERT,NOLIST. ERRSETM COMPLETED.
  857. *WEOR
  858. .PROC,ERRSETN*I
  859. ,P1 [PROCEDURE ERRSETN IS CALLED FROM]
  860. =(*F)
  861. ,P2 [SETNAME THAT WAS INCORRECT]
  862. =(*A,*N=NONE).
  863. SET(R1G=1)
  864. RETURN,*,OUTPUT.
  865. ***************************************
  866. * *
  867. * ERROR--SETNAME : P2 *
  868. * NOT PROPERLY SPECIFIED. *
  869. * TRY AGAIN WITH A 1-5 ALPHANUMERIC *
  870. * CHARACTER SETNAME. *
  871. * WHEN YOU HAVE READ THIS MESSAGE *
  872. * *
  873. * ENTER: ASSIGN,JSN,2. *
  874. * *
  875. ***************************************
  876. REQUEST,OPER. P1 FAILED.
  877. RETURN,OPER.
  878. REVERT,NOLIST. ERRSETN COMPLETED.
  879. *WEOR
  880. .PROC,ERRTOOL*I
  881. ,P1 [TOOL]
  882. =(*F)
  883. .
  884. SET(R1G=1)
  885. RETURN,*,OUTPUT.
  886. ****************************************
  887. * *
  888. * ERROR--P1 FAILED *
  889. * EXAMINE THE OUTPUT FROM THIS JOB TO *
  890. * DETERMINE THE CAUSE OF THE FAILURE *
  891. * *
  892. * WHEN YOU HAVE READ THIS MESSAGE *
  893. * *
  894. * ENTER ASSIGN,JSN,2. *
  895. * *
  896. ****************************************
  897. REQUEST,OPER. P1 FAILED
  898. RETURN,OPER.
  899. WRITEF.
  900. REVERT,EX.REVERT. P1 FAILED
  901. *WEOR
  902. .PROC,ERRUSER*I
  903. ,P1 [PROCEDURE ERRUSER IS CALLED FROM]
  904. =(*F)
  905. ,P2 [USER NAME THAT WAS INCORRECT]
  906. =(*A,*N=NONE).
  907. SET(R1G=1)
  908. RETURN,*,OUTPUT.
  909. ***************************************
  910. * *
  911. * ERROR--USER NAME P2. *
  912. * NOT PROPERLY SPECIFIED. *
  913. * TRY AGAIN WITH A USER NAME MADE UP *
  914. * OF 1-7 ALPHANUMERIC CHARACTERS. *
  915. * WHEN YOU HAVE READ THIS MESSAGE *
  916. * *
  917. * ENTER: ASSIGN,JSN,2. *
  918. * *
  919. ***************************************
  920. REQUEST,OPER. P1 FAILED.
  921. RETURN,OPER.
  922. REVERT,NOLIST. ERRUSER COMPLETED.
  923. *WEOR
  924. .PROC,ERRVSN*I
  925. ,P1 [PROCEDURE ERRVSN IS CALLED FROM]
  926. =(*F)
  927. ,P2 [VSN THAT WAS INCORRECT]
  928. =(*A,*N=NONE).
  929. SET(R1G=1)
  930. RETURN,*,OUTPUT.
  931. ***************************************
  932. * *
  933. * ERROR--#VSN : P2 *
  934. * NOT PROPERLY SPECIFIED. *
  935. * TRY AGAIN WITH A 1-6 ALPHANUMERIC *
  936. * CHARACTER VSN. *
  937. * WHEN YOU HAVE READ THIS MESSAGE *
  938. * *
  939. * ENTER: ASSIGN,JSN,2. *
  940. * *
  941. ***************************************
  942. REQUEST,OPER. P1 FAILED.
  943. RETURN,OPER.
  944. REVERT,NOLIST. ERRVSN COMPLETED.
  945. *WEOR
  946. .PROC,FINDJSN*I
  947. ,JSN [JOB SEQUENCE NUMBER]
  948. =(*A,*N=).
  949. .*
  950. .* COMMAND FORMAT : *FINDJSN(JSN)*
  951. .* THIS PROCEDURE USES DFD TO GET SYSTEM DAYFILE AND EXTRACTS FROM
  952. .* IT THE DAYFILE FOR JOB (JSN). THE JSN DAYFILE IS WRITTEN TO
  953. .* FILE OUTPUT.
  954. .*
  955. BEGIN,VERJSN,ZZZPFIL,JSN,FINDJSN. VERIFY #JSN
  956. SKIP,FDJSN0.
  957. EXIT.
  958. BEGIN,ERRJSN,ZZZPFIL,JSN,FINDJSN.
  959. SET,R1G=1.
  960. REVERT. FINDJSN FAILED.
  961. ENDIF,FDJSN0.
  962. DFD.
  963. RENAME,DF=OUTPUT.
  964. EDIT,DF,I=FIEDIT,L=ZZLIST.
  965. RETURN,DF,VERJSN,ERRJSN.
  966. REWIND,*,OUTPUT.
  967. SKIP,FINDJS1.
  968. EXIT.
  969. REVERT,ABORT. FINDJSN FAILED.
  970. ENDIF,FINDJS1.
  971. VERIFY,ZZLIST,ZZZFIND,A.
  972. .* IF THE FILES VERIFY THAN THE JSN WAS NOT FOUND IN THE DAYFILE.
  973. SET,R1G=1.
  974. **************************************
  975. * *
  976. * ERROR-- #JSN JSN WAS NOT FOUND *
  977. * IN THE DAYFILE. RETRY WITH A *
  978. * DIFFERENT #JSN. *
  979. * *
  980. * WHEN YOU HAVE READ THIS MESSAGE *
  981. * *
  982. * ENTER: ASSIGN,#JSN,2. *
  983. * *
  984. **************************************
  985. REQUEST,OPER. FINDJSN FAILED.
  986. RETURN,OPER.
  987. REVERT. FINDJSN FAILED.
  988. EXIT.
  989. REWIND,*,OUTPUT.
  990. COPYEI,ZZLIST,OUTPUT.
  991. REVERT. FINDJSN COMPLETE.
  992. .DATA,FIEDIT
  993. L:/. JSN/;*
  994. END
  995. .DATA,ZZZFIND.
  996. BEGIN TEXT EDITING.
  997. -END OF FILE-
  998. END TEXT EDITING.
  999. *WEOR
  1000. .PROC,GETTYPE*I
  1001. ,P1 [VALIDATION TYPE]
  1002. =(*F)
  1003. ,P2 [TOOL]
  1004. =(*F)
  1005. .
  1006. GTR(ZZZPFIL,P1,,,,NA)P1
  1007. IF,FILE(P1,LO),GETYPE1.
  1008. EDIT,P1,I=GEEDIT.
  1009. REVERT. GETTYPE COMPLETE
  1010. ELSE,GETYPE1.
  1011. GET(P1/UN=INSTALL)
  1012. REVERT. GETTYPE COMPLETE
  1013. EXIT.
  1014. SET(R1G=1)
  1015. ENDIF,GETYPE1.
  1016. ****************************************
  1017. * *
  1018. * ERROR-- TYPE FILE: P1 *
  1019. * NOT FOUND. DETERMINE THE FILE NAME *
  1020. * YOU WANT TO USE AND RETRY P2 *
  1021. * *
  1022. * WHEN YOU HAVE READ THIS MESSAGE *
  1023. * *
  1024. * ENTER: ASSIGN,JSN,2. *
  1025. * *
  1026. ****************************************
  1027. REVERT,EX.REVERT. P2 FAILED
  1028. .DATA,GEEDIT
  1029. SET;-1
  1030. DELETE
  1031. END
  1032. *WEOR
  1033. .PROC,LABELS*I"REQUEST SET OF TAPES"
  1034. ,P1 [SETNAME OF TAPES]
  1035. =(*A,*N=)
  1036. ,P2 [TOOL]
  1037. =(*F)
  1038. ,P3 [DATE]
  1039. =(*S6(0123456789),*N=$$)
  1040. .
  1041. BEGIN,VERSETN,ZZZPFIL,P1. VERIFY SETNAME
  1042. SKIP,LABELS1.
  1043. EXIT.
  1044. BEGIN,ERRSETN,ZZZPFIL,P2,P1.
  1045. SET(R1G=1)
  1046. REVERT,EX. REVERT. P2 FAILED.
  1047. ENDIF,LABELS1.
  1048. .IF,$P3$.EQ.$$,LABELS2.
  1049. VSN,TAPE=P1_1/P1_2/P1_3/P1_4/P1_5/P1_6/P1_7/P1_8.
  1050. LABEL,TAPE,NT,D=GE,PO=FR.
  1051. .ELSE,LABELS2.
  1052. VSN,TAPE=P1_1/P1_2/P1_3/P1_4/P1_5/P1_6/P1_7/P1_8.
  1053. LABEL,TAPE,NT,D=GE,PO=FW,W,FI=$P3$.
  1054. .ENDIF,LABELS2.
  1055. REVERT. LABELS COMPLETE
  1056. *WEOR
  1057. .PROC,LABELV*I"REQUEST A TAPE"
  1058. ,P1 [VSN OF TAPES]
  1059. =(*A,*N=)
  1060. ,P2 [TOOL]
  1061. =(*F)
  1062. ,P3 [DATE]
  1063. =(*S6(0123456789),*N=$$)
  1064. .
  1065. BEGIN,VERVSN,ZZZPFIL,P1. VERIFY VSN
  1066. SKIP,LABELV1.
  1067. EXIT.
  1068. BEGIN,ERRVSN,ZZZPFIL,P2,P1.
  1069. SET(R1G=1)
  1070. REVERT,EX. REVERT. P2 FAILED
  1071. ENDIF,LABELV1.
  1072. .IF,$P3$.EQ.$$,LABELV2.
  1073. LABEL,TAPE,VSN=P1,NT,D=GE,PO=FR.
  1074. .ELSE,LABELV2.
  1075. LABEL,TAPE,VSN=P1,NT,D=GE,PO=FW,W,FI=$P3$.
  1076. .ENDIF,LABELV2.
  1077. REVERT. LABELV COMPLETE
  1078. *WEOR
  1079. .PROC,LISTQUE.
  1080. .*
  1081. .* COMMAND FORMAT : *X.MS(LISTQUE)*
  1082. .* THIS PROCEDURE PRODUCES A LISTING WHICH DESCRIBES ALL THE
  1083. .* QUEUE FILES IN THE SYSTEM. THIS LISTING MAY BE HELPFUL IN
  1084. .* IDENTIFING QUEUE FILES THAT COULD BE DROPPED FROM THE SYSTEM.
  1085. .*
  1086. QFTLIST(PO=N,LO=F)
  1087. WRITEF,OUTPUT.
  1088. REVERT. LISTQUE COMPLETE.
  1089. EXIT.
  1090. WRITEF,OUTPUT.
  1091. REVERT. LISTQUE FAILED.
  1092. *WEOR
  1093. .PROC,LOADF*I"LOAD PERMANENT FILES"
  1094. ,P1 [SETNAME OF TAPES]
  1095. =(*A,*N=)
  1096. ,USERNAME [USER NAME]
  1097. =(*A,*N=)
  1098. ,PF1 [PERMANENT FILE NAME 1]
  1099. =(*A,*N=)
  1100. ,PF2 [PERMANENT FILE NAME 2]
  1101. =(*A,*N=).
  1102. .*
  1103. .* COMMAND FORMAT : *X.MS(LOADF,SETNAME,USERNAME,PF,PF)*
  1104. .* THIS PROCEDURE LOADS PERMANENT FILES FROM TAPES CREATED BY
  1105. .* DUMPALL, DUMPMOD OR DUMPOLD.
  1106. .* WHEN LOADF IS CALLED TO LOAD FILES STARTING WITH A SET OF
  1107. .* TAPES CREATED BY DUMPALL OR DUMPMOD IT WILL LOAD FILES
  1108. .* FROM THAT SET ONLY. WHEN LOADF IS CALLED TO LOAD FILES
  1109. .* STARTING WITH A SET OF TAPES CREATED BY DUMPMOD IT LOADS
  1110. .* THE FILES ON THE DUMPMOD SET OF TAPES. THEN IT LOADS THE
  1111. .* FILES FROM THE LAST DUMPALL SET OF TAPES CREATED BEFORE
  1112. .* THIS DUMPMOD SET. TO BE LOADED, THESE FILES MUST MEET
  1113. .* THE FOLLOWING CRITERIA: 1) THE FILES WERE ON THE DISKS
  1114. .* WHEN THE DUMPMOD WAS EXECUTES. 2) THE FILES WERE NOT MODIFIED
  1115. .* AFTER THE DUMPALL.
  1116. .* LOADF CAN BE CALLED TO LOAD ALL THE FILES, THE FILES FOR A
  1117. .* USERNAME, OR ONE OR TWO SPECIFIED FILES. TO LOAD ALL FILES
  1118. .* ONLY THE SETNAME PARAMETER IS SUPPLIED. TO LOAD THE FILES FOR
  1119. .* A USERNAME, THE SETNAME AND USERNAME PARAMETER ARE REQUIRED.
  1120. .* TO LOAD ONE OR TWO SPECIFIC FILES, THE SETNAME, USERNAME AND
  1121. .* ONE OR TWO OF THE FILENAME PARAMETERS ARE REQUIRED. IF A FILE
  1122. .* IS ALREADY ON DISK AND LOADF WAS SPECIFICALLY ASKED TO LOAD
  1123. .* THAT FILE BY THE FILENAME PARAMETER THEN LOADF WILL ASK IF IT
  1124. .* SHOULD OVERWRITE THE FILE. IN THE CASE WHERE LOADF WAS CALLED
  1125. .* TO LOAD ALL THE FILES OR ALL FILES FOR A USERNAME LOADF WILL
  1126. .* NOT RELOAD A FILE THAT IS ALREADY ON DISK.
  1127.  
  1128.  
  1129. BEGIN,VERF,ZZZPFIL,PF1,LOADF.
  1130.  
  1131. BEGIN,VERF,ZZZPFIL,PF2,LOADF.
  1132.  
  1133. .IF,$USERNAME$.EQ.$$,LOADF1.
  1134. .IF,$PF1$.NE.$$,LOADF2.
  1135. BEGIN(ERRNOU,ZZZPFIL,PF1)
  1136. .ELSE,LOADF2.
  1137. .IF,$PF2$.NE.$$,LOADF2.
  1138. BEGIN(ERRNOU,ZZZPFIL,PF2)
  1139. .ELSE,LOADF2.
  1140. BEGIN(LABELS,ZZZPFIL,P1,LOADF) REQUEST SET OF TAPES
  1141. IF,(R1G.EQ.1).REVERT. LOADF FAILED
  1142. PFLOAD,OP=LV. EXECUTE A FULL LOAD.
  1143. ****************************
  1144. * FULL LOAD COMPLETE *
  1145. ****************************
  1146. .ENDIF,LOADF2.
  1147. .ELSE,LOADF1. USER NAME SUPPLIED
  1148. BEGIN,VERUSER,ZZZPFIL,USERNAME,LOADF.
  1149. BEGIN(LABELS,ZZZPFIL,P1,LOADF) REQUEST SET OF TAPES
  1150. IF,(R1G.EQ.1).REVERT. LOADF FAILED
  1151. .IF,(($PF1$.EQ.$$).AND.($PF2$.EQ.$$)),LOADF3.
  1152. PFLOAD,UD,UN=USERNAME,OP=LV.
  1153. ****************************
  1154. * USER NAME LOAD COMPLETE *
  1155. ****************************
  1156. .ELSE,LOADF3.
  1157. .IF,(($PF1$.NE.$$).AND.($PF2$.NE.$$)),LOADF3.
  1158. PFLOAD,UD,UN=USERNAME,PF=PF1,PF=PF2,OP=LV.
  1159. **************************
  1160. * TWO FILE LOAD COMPLETE *
  1161. **************************
  1162. .ELSE,LOADF3.
  1163. .IF,($PF1$.NE.$$),LOADF3. LOCAL--PURGE OR OVERWRITE?
  1164. PFLOAD,UD,UN=USERNAME,PF=PF1,OP=LV.
  1165. **************************
  1166. * ONE FILE LOAD COMPLETE *
  1167. **************************
  1168. .ELSE,LOADF3.
  1169. PFLOAD,UD,UN=USERNAME,PF=PF2,OP=LV.
  1170. **************************
  1171. * ONE FILE LOAD COMPLETE *
  1172. **************************
  1173. .ENDIF,LOADF3.
  1174. .ENDIF,LOADF1.
  1175. WRITEF,OUTPUT.
  1176. REVERT,NOLIST. LOADF COMPLETE
  1177. *WEOR
  1178. .PROC,LOADLOG*I
  1179. ,VSN [VOLUME SERIAL NUMBER]
  1180. =(*A,*N=)
  1181. ,ACCOUNT [LOAD ACCOUNT FILE. DEFAULT IS NO]
  1182. =(ACCOUNT=1,DAYFILE=2,ERRLOG=3,MAINLOG=4,*A,*N=0),
  1183. ,DAYFILE [LOAD DAYFILE FILE. DEFAULT IS NO]
  1184. =(ACCOUNT=1,DAYFILE=2,ERRLOG=3,MAINLOG=4,*A,*N=0),
  1185. ,ERRLOG [LOAD ERRLOG FILE. DEFAULT IS NO]
  1186. =(ACCOUNT=1,DAYFILE=2,ERRLOG=3,MAINLOG=4,*A,*N=0),
  1187. ,MAINLOG [LOAD MAINLOG FILE. DEFAULT IS NO]
  1188. =(ACCOUNT=1,DAYFILE=2,ERRLOG=3,MAINLOG=4,*A,*N=0).
  1189. .*
  1190. .* COMMAND FORMAT : *LOADLOG(VSN,ACCOUNT,DAYFILE,ERRLOG,MAINLOG)*
  1191. .* THIS PROCEDURE USES RECLAIM TO LOAD THE PERMANENT FILES (ACCOUNT,
  1192. .* DAYFILE, ERRLOG, AND MAINLOG) FROM A TAPE CREATED BY ENDLOG.
  1193. .* THE TAPE IS A GE DENSITY LABELED TAPE WITH A VSN.
  1194. .* ALL OR ANY SUBSET OF THESE LOGS MAY BE LOADED.
  1195. .*
  1196. BEGIN,VERVSN,ZZZPFIL,VSN. VERIFY #VSN
  1197. SKIP,LOADLOG1.
  1198. EXIT.
  1199. BEGIN,ERRVSN,ZZZPFIL,LOADLOG,VSN.
  1200. SET,R1G=1.
  1201. REVERT. LOADLOG FAILED.
  1202. ENDIF,LOADLOG1.
  1203. RETURN,ZZSCR.
  1204. BEGIN,,VERLOG,ACCOUNT.
  1205. BEGIN,,VERLOG,DAYFILE.
  1206. BEGIN,,VERLOG,ERRLOG.
  1207. BEGIN,,VERLOG,MAINLOG.
  1208. IF,.NOT.FILE(ZZSCR,AS),LOADLOG2.
  1209. BEGIN,LOADLOG,ZZPPFIL,
  1210. VSN,YES,YES,YES,YES.
  1211. REQUEST,OPER. LOADLOG COMPLETED.
  1212. RETURN,OPER.
  1213. REVERT,NOLIST. LOADLOG COMPLETED.
  1214. ENDIF,LOADLOG2.
  1215. BEGIN,,CALLLOG.
  1216. REVERT. LOADLOG COMPLETED.
  1217. EXIT.
  1218. REVERT. LOADLOG FAILED.
  1219. .DATA,CALLLOG
  1220. .PROC,CALLLOG.
  1221. BEGIN,LOADLOG,ZZPPFIL,
  1222. VSN,#ACCOUNT=NO,#DAYFILE=NO,#ERRLOG=NO,#MAINLOG=NO.
  1223. REVERT,NOLIST.
  1224. .DATA,VERLOG
  1225. .PROC,VERLOG,P1.
  1226. REWIND,INACCT,INDAYF,INERRL,INMLOG.
  1227. #.IF,$P1$ .EQ. $1$.EDIT,CALLLOG,I=INACCT,M=N,L=ZZSCR.
  1228. #.IF,$P1$ .EQ. $2$.EDIT,CALLLOG,I=INDAYF,M=N,L=ZZSCR.
  1229. #.IF,$P1$ .EQ. $3$.EDIT,CALLLOG,I=INERRL,M=N,L=ZZSCR.
  1230. #.IF,$P1$ .EQ. $4$.EDIT,CALLLOG,I=INMLOG,M=N,L=ZZSCR.
  1231. #.IF,NUM(P1),VERLOG1.
  1232. #.IF,$P1$ .EQ. $0$.REVERT,NOLIST.
  1233. IF,P1 .GT. 0 .AND. P1 .LT. 5.REVERT,NOLIST.
  1234. #.ENDIF,VERLOG1.
  1235. SET,R1G=1.
  1236. ***************************************
  1237. * *
  1238. * ERROR--BAD PARAMETER- P1
  1239. * TRY AGAIN WITH VALID FILE NAMES *
  1240. * WHEN YOU HAVE READ THIS MESSAGE *
  1241. * *
  1242. * ENTER: ASSIGN,JSN,2. *
  1243. * *
  1244. ***************************************
  1245. REQUEST,OPER. LOADLOG FAILED.
  1246. RETURN,OPER.
  1247. REVERT,EX.REVERT. LOADLOG FAILED.
  1248. .DATA,INACCT
  1249. RS:/#ACCOUNT=NO/,/#ACCOUNT=YES/;1
  1250. END
  1251. .DATA,INDAYF
  1252. RS:/#DAYFILE=NO/,/#DAYFILE=YES/;1
  1253. END
  1254. .DATA,INERRL
  1255. RS:/#ERRLOG=NO/,/#ERRLOG=YES/;1
  1256. END
  1257. .DATA,INMLOG
  1258. RS:/#MAINLOG=NO/,/#MAINLOG=YES/;1
  1259. END
  1260. *WEOR
  1261. .PROC,LOADQUE*I"LOAD QUEUE FILES"
  1262. ,VSN [VOLUME SERIAL NUMBER]
  1263. =(*A,*N=).
  1264. .*
  1265. .* COMMAND FORMAT : *X.MS(LOADQUE,VSN)*
  1266. .* THIS PROCEDURE IS USED TO LOAD ALL QUEUE FILES ON TO
  1267. .* THE SYSTEM FROM A GE DENSITY TAPE WITH A VSN.
  1268. .*
  1269. BEGIN,LABELV,ZZZPFIL,VSN,LOADQUE.
  1270.  
  1271. QLOAD,DA=ALL,PO=N,FN=TAPE.
  1272.  
  1273. WRITEF,OUTPUT.
  1274. REVERT. LOADQUE COMPLETE
  1275. *WEOR
  1276. .PROC,PURGLOG.
  1277. .*
  1278. .* COMMAND FORMAT : *PURGLOG.*
  1279. .* THIS PROCEDURE PURGES THE PERMANENT FILES, CREATED BY ENDLOG,
  1280. .* ACCOUNT, DAYFILE, ERRLOG AND MAINLOG ON USER NAME SYSTEMX.
  1281. .*
  1282. ***************************************
  1283. * *
  1284. * NOTE--IF THIS PROCEDURE CONTINUES, *
  1285. * PERMANENT FILES CREATED BY ENDLOG *
  1286. * ACCOUNT, DAYFILE, ENDLOG, AND *
  1287. * MAINLOG WILL BE PURGED. *
  1288. * TO NOT PURGE THE FILES *
  1289. * ENTER: DROP,JSN. *
  1290. * TO PURGE THE FILES *
  1291. * ENTER: ASSIGN,JSN,2. *
  1292. * *
  1293. ***************************************
  1294. REQUEST,OPER. PURGE OR STOP?
  1295. RETURN,OPER.
  1296.  
  1297. SKIP,PURGLOG1.
  1298. EXIT.
  1299. RETURN,*,OUTPUT.
  1300. *************************************
  1301. * *
  1302. * PROCESSING HAS BEEN STOPPED. *
  1303. * THE LOG FILES WERE NOT PURGED. *
  1304. * WHEN YOU HAVE READ THIS MESSAGE *
  1305. * *
  1306. * ENTER: ASSIGN,JSN,2. *
  1307. * *
  1308. *************************************
  1309. REQUEST,OPER. PURGLOG STOPPED.
  1310. RETURN,OPER.
  1311. WRITEF,OUTPUT.
  1312. REVERT. PURGLOG STOPPED
  1313. ENDIF,PURGLOG1.
  1314.  
  1315. PURGE,ACCOUNT/NA.
  1316. PURGE,DAYFILE/NA.
  1317. PURGE,ERRLOG/NA.
  1318. PURGE,MAINLOG/NA.
  1319. WRITEF,OUTPUT.
  1320. REVERT. PURGLOG COMPLETE
  1321. *WEOR
  1322. .PROC,SUCCESS*I
  1323. ,P1 [TOOL]
  1324. =(*F)
  1325. .
  1326. RETURN,*,OUTPUT.
  1327. ****************************************
  1328. * *
  1329. * P1 COMPLETE *
  1330. * THIS TOOL RAN TO COMPLETION *
  1331. * *
  1332. * WHEN YOU HAVE READ THIS MESSAGE *
  1333. * *
  1334. * ENTER ASSIGN,JSN,2. *
  1335. * *
  1336. ****************************************
  1337. REQUEST,OPER. P1 COMPLETE
  1338. RETURN,OPER.
  1339. REVERT,EX.REVERT. P1 COMPLETE
  1340. *WEOR
  1341. .PROC,VALUSER*I
  1342. ,TYPE [NAME OF VALIDATION TYPE FILE]
  1343. =(*F,*N=$$)
  1344. ,USERNAME [USERNAME]
  1345. =(*F,*N=INSTALL)
  1346. ,PASSWORD [PASSWORD IS]
  1347. =(*F,*N=UNSECUR).
  1348. .*
  1349. .* COMMAND FORMAT : *VALUSER(TYPE,USERNAME,PASSWORD)*
  1350. .* THIS PROCEDURE CAN EITHER CREATE, DELETE OR MODIFY A SINGLE
  1351. .* USERNAME OR MULTIPLE USERNAMES. IF THE PARAMETERS WERE
  1352. .* SUPPLIED, THEY WILL FUNCTION AS DESCRIBED FOR WRITEVI.
  1353. .* IF NO PARAMETERS ARE SUPPLIED, TYPE FILE IS ZZZZVDI CREATED
  1354. .* BY WRITEVI AND CALLS MODVAL WITH THAT FILE AS THE DIRECTIVE
  1355. .* INPUT FILE.
  1356. .* AFTER A DIRECTIVE INPUT FILE HAS BEEN CREATED FROM THESE
  1357. .* PARAMETERS, MODVAL IS CALLED. AFTER A SUCCESSFUL MODVAL
  1358. .* RUN ZZZZVDI IS PURGED AND REDEFINED.
  1359. .*
  1360. .IF,#$TYPE$.EQ.$$,VALUSER1.
  1361.  
  1362. BEGIN(VERVDI,ZZZPFIL,VALUSER)
  1363.  
  1364. MODVAL,OP=U,I=ZZZZVDI,FA.
  1365. REWIND,ZZZZVDI.
  1366. WRITER,ZZZZVDI.
  1367. RETURN,ZZZZVDI.
  1368. BEGIN(SETUP,SETUP,ZZZZVDI)
  1369. REVERT. VALUSER COMPLETE
  1370.  
  1371. .ENDIF,VALUSER1.
  1372.  
  1373. BEGIN(VERUSER,ZZZPFIL,USERNAME,VALUSER)
  1374.  
  1375. .IF,#$TYPE$.EQ.$DELETE$,VALUSER2.
  1376. MODVAL,I=DELUSER,OP=UR,FA.
  1377. .ELSE,VALUSER2.
  1378.  
  1379. BEGIN(VERPASS,ZZZPFIL,PASSWORD,VALUSER)
  1380.  
  1381. BEGIN(GETTYPE,ZZZPFIL,TYPE,VALUSER)
  1382.  
  1383. SKIPR,INUSER.
  1384. COPYBR(TYPE,INUSER)
  1385. PACK(INUSER)
  1386. MODVAL,I=INUSER,OP=U,FA.
  1387. .ENDIF,VALUSER2.
  1388. REVERT. VALUSER COMLETE.
  1389. .DATA,INUSER.
  1390. /USERNAME,PW=PASSWORD.
  1391. .DATA,DELUSER.
  1392. /USERNAME,PW=DELETE.
  1393. /USERNAME,DAC=USERNAME.
  1394. *WEOR
  1395. .PROC,VERDATE*I
  1396. ,P1 [DATE SUPPLIED]
  1397. =(*A,*N=).
  1398. ,P2 [TOOL]
  1399. =(*F)
  1400. .
  1401. ZZVERD1,P1. INSURE DATE IS ATLEAST SIX CHARACTERS
  1402. SKIP,VERDATE1.
  1403. EXIT. DATE NOT TOO SHORT
  1404. ZZVERD,P1. INSURE DATE IS ONLY SIX NUMERIC CHARACTERS
  1405. REVERT,NOLIST. VERDATE COMPLETE
  1406. EXIT.
  1407. SET(R1G=1)
  1408. ****************************************
  1409. * *
  1410. * ERROR--DATE: P1. *
  1411. * NOT PROPERLY SPECIFIED *
  1412. * TRY AGAIN WITH A 6 CHARACTER DATE *
  1413. * IN THE FORM YYMMDD. *
  1414. * *
  1415. * WHEN YOU HAVE READ THIS MESSAGE *
  1416. * *
  1417. * ENTER ASSIGN,JSN,2. *
  1418. * *
  1419. ****************************************
  1420. REQUEST,OPER. P2 FAILED
  1421. RETURN,OPER.
  1422. REVERT,EX.REVERT. P2 FAILED
  1423. .DATA,ZZVERD
  1424. .PROC,ZZVERD*I
  1425. ,R1 [DATE SUPPLIED]
  1426. =(*S6(0123456789))
  1427. .
  1428. REVERT,NOLIST.
  1429. .DATA,ZZVERDM
  1430. .PROC,ZZVERDM*I
  1431. ,R1 [DATE SUPPLIED]
  1432. =(*S5(0123456789))
  1433. .
  1434. REVERT. THIS PROC SHOULD FAIL
  1435. *WEOR
  1436. .PROC,VERF*I
  1437. ,P1 [PERMANENT FILE NAME]
  1438. =(*A,*N=)
  1439. ,P2 [TOOL]
  1440. =(*F)
  1441. .
  1442. ZZVERF,P1.
  1443. REVERT,NOLIST. VERF COMPLETED.
  1444. EXIT.
  1445. SET(R1G=1)
  1446. RETURN,*,OUTPUT.
  1447. ****************************************
  1448. * *
  1449. * ERROR--FILE NAME: P1. *
  1450. * NOT PROPERLY SPECIFIED *
  1451. * TRY AGAIN WITH A 1-7 CHARACTER *
  1452. * ALPHANUMERIC FILE NAME. *
  1453. * *
  1454. * WHEN YOU HAVE READ THIS MESSAGE *
  1455. * *
  1456. * ENTER ASSIGN,JSN,2. *
  1457. * *
  1458. ****************************************
  1459. REQUEST,OPER. P2 FAILED
  1460. RETURN,OPER.
  1461. REVERT,EX.REVERT. P2 FAILED
  1462. .DATA,ZZVERF
  1463. .PROC,ZZVERF*I
  1464. ,R1 [FILE NAME]
  1465. =(*F,*N=)
  1466. .
  1467. REVERT,NOLIST.
  1468. *WEOR
  1469. .PROC,VERJSN*I
  1470. ,JSN [JOB SEQUENCE NUMBER]
  1471. =(*S4(ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890)).
  1472. REVERT. VERJSN COMPLETED.
  1473. *WEOR
  1474. .PROC,VERMPL*I
  1475. ,R1 [PASSWORD SUPPLIED]
  1476. =(*S3(0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ))
  1477. .
  1478. NOTE(OUTPUT,NR)* ERROR-- PASSWORD: R1 TOO SHORT
  1479. NOTE(OUTPUT,NR)* TRY AGAIN WITH A 4 TO 7 CHARACTER PASSWORD
  1480. ROLLOUT(5)
  1481.  
  1482. REVERT. THIS PROC SHOULD FAIL
  1483. *WEOR
  1484. .PROC,VERPASS*I
  1485. ,P1 [PASSWORD SUPPLIED]
  1486. =(*A,*N=)
  1487. ,P2 [TOOL]
  1488. =(*F)
  1489. .
  1490. BEGIN(VERMPL,ZZZPFIL,P1) PASSWORD AT LEAST FOUR CHARACTERS
  1491. SKIP,VERPASS1.
  1492. EXIT. PASSWORD NOT TOO SHORT
  1493. ZZVERP,P1. INSURE PASSWORD IS 7 OR FEWER CHARACTERS
  1494. REVERT,NOLIST. VERPASS COMPLETED.
  1495. EXIT.
  1496. ENDIF,VERPASS1.
  1497. SET(R1G=1)
  1498. RETURN,*,OUTPUT.
  1499. ****************************************
  1500. * *
  1501. * ERROR--PASSWORD: P1. *
  1502. * NOT PROPERLY SPECIFIED *
  1503. * TRY AGAIN WITH A 4-7 CHARACTER *
  1504. * ALPHANUMERIC PASSWORD. *
  1505. * *
  1506. * WHEN YOU HAVE READ THIS MESSAGE *
  1507. * *
  1508. * ENTER ASSIGN,JSN,2. *
  1509. * *
  1510. ****************************************
  1511. REQUEST,OPER. P2 FAILED
  1512. RETURN,OPER.
  1513. REVERT,EX.REVERT. P2 FAILED
  1514. .DATA,ZZVERP
  1515. .PROC,ZZVERP*I
  1516. ,R1 [PASSWORD SUPPLIED]
  1517. =(*S7(0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ))
  1518. .
  1519. REVERT,NOLIST.
  1520. *WEOR
  1521. .PROC,VERPURG*I
  1522. ,P [PURGE ON-OFF]
  1523. =(PURGE=PURGE,*N=,*A).
  1524. IF,$P$.EQ.$PURGE$,VERPURG1.
  1525. REVERT. FILES WILL BE PURGED.
  1526. ENDIF,VERPURG1.
  1527. IF,$P$.EQ.$$,VERPURG2.
  1528. REVERT. FILES WILL NOT BE PURGED.
  1529. ELSE,VERPURG2.
  1530. REVERT,ABORT. VERPURGE FAILED.
  1531. ENDIF,VERPURG2.
  1532. REVERT,NOLIST. VERPURGE COMPLETED.
  1533. *WEOR
  1534. .PROC,VERSETM*I
  1535. ,NUMBER [NUMBER OF TAPES IN SET]
  1536. =(*S1(12345678)).
  1537. REVERT,NOLIST. VERSETM COMPLETED.
  1538. *WEOR
  1539. .PROC,VERSETN*I
  1540. ,SETNAME [SETNAME OF TAPE SET]
  1541. =(*S5(ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890)).
  1542. REVERT,NOLIST. VERSETN COMPLETED.
  1543. *WEOR
  1544. .PROC,VERSTPN*I
  1545. ,TOOL [TOOL TO EXECUTE]
  1546. =(DUMPALL=1,DUMPMOD=1,DUMPQUE=1,DUMPLOG=2,
  1547. ENDLOG =0,ENDDF =1,LOADF =4,LOADQUE=1,
  1548. LOADLOG=5,DUMPOLD=2,PURGLOG=0,VALUSER=3,
  1549. LISTQUE=0,FINDJSN=1,BLANKST=2)
  1550. ,P1 [FIRST PARAMETER]
  1551. =(*N=,*A)
  1552. ,P2 [SECOND PARAMETER]
  1553. =(*N=,*A)
  1554. ,P3 [THIRD PARAMETER]
  1555. =(*N=,*A)
  1556. ,P4 [FOURTH PARAMETER]
  1557. =(*N=,*A)
  1558. ,P5 [FIFTH PARAMETER]
  1559. =(*N=,*A)
  1560. ,P6 [SIXTH PARAMETER]
  1561. =(*N=,*A)
  1562. ,P7 [SEVENTH PARAMETER]
  1563. =(*N=,*A)
  1564. .
  1565. .IF,((TOOL.LE.5).AND.(($P6$.NE.$$).OR.($P7$.NE.$$))).SKIP,VERSTP1.
  1566. .IF,((TOOL.LE.4).AND.($P5$.NE.$$)).SKIP,VERSTP1.
  1567. .IF,((TOOL.LE.3).AND.($P4$.NE.$$)).SKIP,VERSTP1.
  1568. .IF,((TOOL.LE.2).AND.($P3$.NE.$$)).SKIP,VERSTP1.
  1569. .IF,((TOOL.LE.1).AND.($P2$.NE.$$)).SKIP,VERSTP1.
  1570. .IF,((TOOL.EQ.0).AND.($P1$.NE.$$)).SKIP,VERSTP1.
  1571. * NUMBER OF PARAMETERS VERIFIED.
  1572. REVERT,EX.REVERT. VERTOOL COMPLETE
  1573. ENDIF,VERSTP1.
  1574. RETURN,*,OUTPUT.
  1575. ****************************************
  1576. * *
  1577. * ERROR-- TOO MANY PARAMETERS WERE *
  1578. * SUPPLIED FOR THIS #TOOL *
  1579. * *
  1580. * WHEN YOU HAVE READ THIS MESSAGE *
  1581. * *
  1582. * ENTER: ASSIGN,JSN,2 *
  1583. * *
  1584. ****************************************
  1585. REQUEST,OPER. MS FAILED
  1586. RETURN,OPER.
  1587. REVERT,EX.REVERT,EX.REVERT. MS FAILED
  1588. *WEOR
  1589. .PROC,VERTOOL*I
  1590. ,TOOL [TOOL TO EXECUTE]
  1591. =(*N=,*A)
  1592. ,P1 [FIRST PARAMETER]
  1593. =(*N=,*A)
  1594. ,P2 [SECOND PARAMETER]
  1595. =(*N=,*A)
  1596. ,P3 [THIRD PARAMETER]
  1597. =(*N=,*A)
  1598. ,P4 [FOURTH PARAMETER]
  1599. =(*N=,*A)
  1600. ,P5 [FIFTH PARAMETER]
  1601. =(*N=,*A)
  1602. ,P6 [SIXTH PARAMETER]
  1603. =(*N=,*A)
  1604. ,P7 [SEVENTH PARAMETER]
  1605. =(*N=,*A)
  1606. .
  1607. BEGIN(VERSTPN,ZZZPFIL,TOOL,P1,P2,P3,P4,P5,P6,P7)
  1608. REVERT,ABORT.
  1609. EXIT.
  1610. RETURN,*,OUTPUT.
  1611. ****************************************
  1612. * *
  1613. * ERROR--#TOOL: TOOL *
  1614. * NOT SUPPORTED FROM THE CONSOLE *
  1615. * *
  1616. * WHEN YOU HAVE READ THIS MESSAGE *
  1617. * *
  1618. * ENTER: ASSIGN,JSN,2. *
  1619. * *
  1620. ****************************************
  1621. REQUEST,OPER. TOOL FAILED
  1622. RETURN,OPER.
  1623. REVERT,EX.REVERT. X.MS(TOOL) FAILED
  1624. *WEOR
  1625. .PROC,VERUSER*I
  1626. ,P1 [USER NAME IS]
  1627. =(*A,*N=)
  1628. ,P2 [TOOL]
  1629. =(*F)
  1630. .
  1631. BEGIN,ZZVERU,ZZZPFIL,P1.
  1632. REVERT,NOLIST. VERUSER COMPLETED.
  1633. EXIT.
  1634. SET(R1G=1)
  1635. BEGIN,ERRUSER,ZZZPFIL,P2,P1.
  1636. REVERT,EX.REVERT. P2 FAILED
  1637. *WEOR
  1638. .PROC,VERVDI*I
  1639. ,P1 [TOOL]
  1640. =(*F)
  1641. .
  1642. .* FIND VALIDATION DIRECTIVE INPUT FILE.
  1643. .* PUT OUT AN ERROR MESSAGE IF IT IS NOT FOUND.
  1644. .*
  1645. ATTACH,ZZZZVDI/M=W.
  1646. SKIP,VERVDI1.
  1647. EXIT.
  1648. SET(R1G=1)
  1649. RETURN,*,OUTPUT.
  1650. ***************************************
  1651. * *
  1652. * ERROR--THE VALIDATION DIRECTIVE FILE*
  1653. * WAS NOT FOUND. CREATE THIS FILE *
  1654. * USING: X.MS(SETUP,ZZZZVDI) *
  1655. * USE MS(WRITEVI) AT A TERMINAL TO *
  1656. * PUT DATA ON ZZZZVDI. *
  1657. * WHEN YOU HAVE READ THIS MESSAGE *
  1658. * *
  1659. * ENTER: ASSIGN,JSN,2. *
  1660. * *
  1661. ***************************************
  1662. REQUEST,OPER. P1 FAILED.
  1663. RETURN,OPER.
  1664. REVERT,EX.REVERT. P1 FAILED
  1665. ENDIF,VERVDI1.
  1666. REVERT,NOLIST. VERVDI COMPLETE.
  1667. *WEOR
  1668. .PROC,VERVSN*I
  1669. ,VSN [VOLUME SERIAL NUMBER]
  1670. =(*S6(ABCDEFGHIJKLMNOPQRSTUVWXYZ01234567890)).
  1671. REVERT. VERVSN COMPLETED.
  1672. *WEOR
  1673. .PROC,VUSER*I" WRITEVI "
  1674. ,TYPE [ENTER DELETE OR VALIDATION TYPE]
  1675. =(*F)
  1676. ,USERNAM [USER NAME]
  1677. =(*F)
  1678. ,PASSWOR [PASSWORD]
  1679. =(*F,*N=UNSECUR)
  1680. .
  1681. .HELP,TYPE,NOLIST.
  1682. * A DELETE RESPONSE CAUSES THE USER NAME TO BE DELETED
  1683. * FROM THE VALIDATION FILE.
  1684. *
  1685. * THE FOLLOWING ARE SYSTEM SUPPLIED VALIDATION TYPES
  1686. *
  1687. * CDCCHS CDC CENTRAL HARDWARE SUPPORT
  1688. * CDCCSS CDC CENTRAL SOFTWARE SUPPORT
  1689. * SYSADM SYSTEM ADMINISTRATOR OR OPERATOR
  1690. * NOLIMIT USERS WITH UNLIMITED RESOURCE LIMITS
  1691. * LIMITED USERS WITH LIMITED RESOURCES
  1692. *
  1693. * THIS TOOL WILL ACCEPT USER DEFINED VALIDATION TYPES
  1694. * SUPPLY THE FILE NAME THAT CONTAINS THESE VALIDATIONS.
  1695. *
  1696. *
  1697. .HELP,USERNAM,NOLIST.
  1698. *
  1699. * 1-7 ALPHANUMERIC CHARACTER USER NAME. *
  1700. *
  1701. .HELP,PASSWOR,NOLIST.
  1702. *
  1703. * 4-7 ALPHANUMERIC CHARACTER PASSWORD. *
  1704. *
  1705. .ENDHELP.
  1706. IF,$TYPE$.EQ.$DELETE$,VUSER1.
  1707. REWIND,IN.
  1708. NOTE(IN,NR)+/USERNAM
  1709. NOTE(IN,NR)+/USERNAM,DAC=USERNAM.+
  1710. REWIND,IN.
  1711. COPYEI,IN,DVDI.
  1712. .* DVDI IS THE LOCAL FILE THAT CONTAINS ALL THE
  1713. .* INFORMATION TO DELETE USER NAMES.
  1714. .* PLEASE NOTE THIS PROCEDURE IS SETUP TO PROCESS
  1715. .* AN ATTEMPT TO DELETE A NON-EXISTENT USER NAME
  1716. .* IN THE SAME WAY IT PROCESSES ONE THAT EXISTS.
  1717. ELSE,VUSER1.
  1718. BEGIN(GETTYPE,ZZZPFIL,TYPE,WRITEVI)
  1719. IF,FILE(TYPE,.NOT.LO),VUSER2.
  1720. NOTE(OUTPUT,NR)*
  1721. NOTE(OUTPUT,NR)* ERROR--FILE TYPE NOT FOUND
  1722. NOTE(OUTPUT,NR)* PLEASE SELECT A _TYPE LISTED
  1723. NOTE(OUTPUT,NR)* BY HELP FOR THE _TYPE PARAMETER.
  1724. NOTE(OUTPUT,NR)* RUNNING X.MS(INSTALL,_TYPE) WILL REINSTALL THE
  1725. NOTE(OUTPUT,NR)* VALIDATION TYPES SUPPLIED BY CDC.
  1726. ROLLOUT,10.
  1727. REVERT,EX.BEGIN,VUSER,ZZZPFIL,$?$,USERNAM,PASSWOR.
  1728. ELSE,VUSER2.
  1729. REWIND,IN.
  1730. SKIP,VUSER3.
  1731. EXIT.
  1732. REVERT,ABORT. VUSER FAILED
  1733. ENDIF,VUSER3.
  1734. IF,$PASSWOR$.LE.$ZZZ$,VUSER4.
  1735. RETURN,TYPE.
  1736. REVERT,EX.BEGIN,VUSER,ZZZPFIL,TYPE,USERNAM,$?$)
  1737. ENDIF,VUSER4.
  1738. SKIPR,ZZIN.
  1739. COPYBR,TYPE,ZZIN.
  1740. RETURN,TYPE.
  1741. REWIND,ZZIN.
  1742. COPYEI,ZZIN,ZVDI.
  1743. RETURN,ZZIN.
  1744. * ZVDI IS Z LOCAL FILE THAT CONTAINS THE
  1745. * VALIDATION DIRECTIVES FOR USER NAMES BEING
  1746. * ADDED OR UPDATED.
  1747. ENDIF,VUSER2.
  1748. ENDIF,VUSER1.
  1749. REVERT,EX.BEGIN,VUSER,ZZZPFIL.
  1750. REVERT. VUSER COMPLETED SUCCESSFULLY.
  1751. EXIT.
  1752. NOTE(OUTPUT,NR)+ WRITEVI FAILED IN PROCEDURE VUSER.
  1753. NOTE(OUTPUT,NR)+ PLEASE EXAMINE THE DAYFILE TO
  1754. NOTE(OUTPUT,NR)+ DETERMINE THE REASON.
  1755. REVERT. VUSER FAILED.
  1756. .DATA,ZZIN
  1757. /USERNAM,PW=PASSWOR.
  1758. *WEOR
  1759. .PROC,WRITEVI.
  1760. .*
  1761. .* COMMAND FORMANT: MS(WRITEVI)
  1762. .* THIS IS AN INTERACTIVE PROCEDURE USED TO CREATE A DIRECTIVE
  1763. .* FILE TO BE USED TO CREATE, DELETE OR MODIFY MULTIPLE USER NAMES.
  1764. .* THIS PROCEDURE PROMPTS FOR THE USER NAME, PASSWORD AND A DELETE
  1765. .* REQUEST OR VALIDATION TYPE. THE USER NAME IS THE USER NAME
  1766. .* THAT WILL BE CREATED, DELETED OR MODIFIED BY THE DIRECTIVES
  1767. .* CREATED BY THIS PROCEDURE. THE PASSWORD SUPPLIED IS THE PASSWORD
  1768. .* FOR THAT USER NAME. THE TYPE IS THE NAME OF THE TYPE FILE.
  1769. .* (FIVE VALIDATION TYPES ARE SUPPLIED) CDCCHS, CDCCSS, SYSADM,
  1770. .* NOLIMIT, LIMITED. THAT WILL BE USED TO SUPPLY THE VALIDATION
  1771. .* DIRECTIVES FOR THIS USER NAME. IF DELETE IS SUPPLIED FOR TYPE, THE
  1772. .* PROCEDURE WILL CREATE THE DIRECTIVE TO DELETE USER NAME FROM THE
  1773. .* VALIDATION FILE. THIS PROCEDURE IS A RECURSIVE FUNCTION ALLOWING
  1774. .* PROCESSING OF MULTIPLE USER NAMES. THE PROCEDURE IS STOPPED BY
  1775. .* ENTERING THE QUIT FUNCTION.
  1776. .* SITE ADMINISTRATORS CREATE A VALIDATION TYPE BY PLACING THE
  1777. .* THE DESIRED VALIDATION DIRECTIVES ON A FILE ON USER NAME INSTALL
  1778. .* AND SUPPLYING THAT FILE NAME WHEN PROMPTED FOR VALIDATION TYPE.
  1779. .* IF A PASSWORD IS NOT SUPPLIED IT WILL BE SET TO XPWXPWX. ALL
  1780. .* PASSWORDS ON ZZZZVDI WILL BE ENCRYPTED BY WRITEVI.
  1781. .*
  1782. ATTACH,ZZZZVDI/M=W,NA,UN=SYSTEMX.
  1783. IF,FILE(ZZZZVDI,.NOT.PM),WRITEVI1.
  1784. NOTE(OUTPUT,NR)/ FILE ZZZZVDI NOT FOUND.
  1785. NOTE(OUTPUT,NR)/ RUN X.MS(SETUP,ZZZZVDI)
  1786. NOTE(OUTPUT,NR)/ FROM THE CONSOLE TO CREATE ZZZZVDI.
  1787. NOTE(OUTPUT,NR)/ AFTER THIS COMPLETES RERUN MS(WRITEVI).
  1788. ROLLOUT(10)
  1789. REVERT. WRITEVI FAILED.
  1790. SKIP,WRITEVI1.
  1791. EXIT.
  1792. NOTE(OUTPUT,NR)/ WRITEVI FAILED. PLEASE EXAMINE THE
  1793. NOTE(PUTPUT,NR)/ DAYFILE TO DETERMINE THE CAUSE.
  1794. ROLLOUT(5)
  1795. REVERT. WRITEVI FAILED.
  1796. ELSE,WRITEVI1.
  1797. BEGIN,VUSER,ZZZPFIL.
  1798. SKIP,WRITEVI2.
  1799. EXIT. VUSER ENDED WITH QUIT FUNCTION KEY
  1800. ENDIF,WRITEVI2.
  1801. PACK(DVDI)
  1802. PACK(ZVDI)
  1803. * DVDI IS A LOCAL FILE ON WHICH VUSER STORES DIRECTIVES
  1804. * TO DELETE USER NAMES
  1805. * ZVDI IS A LOCAL FILE ON WHICH VUSER STORES DIRECTIVES
  1806. * TO CREATE OR MODIFY USER NAMES.
  1807. * THE FOLLOWING MODVAL COMMANDS ENCRYPT THE PASSWORDS ON ZVDI.
  1808. MODVAL,OP=C,P=0,I=ZVDI,LO=E,L=OUTPUT,SI.
  1809. MODVAL,OP=S,P=NEWVAL.
  1810. EDIT,SOURCE,I=WREDIT,L=ZZZSCRA.
  1811. REWIND,SOURCE,ZZZZVDI.
  1812. SKIPR,ZZZZVDI.
  1813. COPYBR,SOURCE,ZZZZVDI.
  1814. COPYBR,DVDI,ZZZZVDI.
  1815. PACK(ZZZZVDI)
  1816. RETURN,ZZZZVDI.
  1817. ENDIF,WRITEVI1.
  1818. REVERT. WRITEVI COMPLETED
  1819. EXIT.
  1820. NOTE(OUTPUT,NR)/ WRITEVI FAILED. PLEASE EXAMINE THE DAYFILE
  1821. NOTE(OUTPUT,NR)/ TO DETERMINE THE CAUSE. A LIKELY CAUSE IS AN
  1822. NOTE(OUTPUT,NR)/ UNSUPPORTED MODVAL DIRECTIVE.
  1823. NOTE(OUTPUT,NR)/ PASSWORDS MUST BE AT LEAST 4 CHARACTERS LONG.
  1824. ROLLOUT(5)
  1825. REVERT. WRITEVI FAILED.
  1826. .DATA,WREDIT.
  1827. D:/UI = /;*
  1828. END
  1829. *WEOR
  1830. .PROC,ZZVERU*I
  1831. ,R1 [USER NAME]
  1832. =(*F).
  1833. REVERT,NOLIST.
  1834. *WEOR
  1835. CDCCHS
  1836. RL=ALL
  1837. IS=BATCH
  1838. VM=DI
  1839. AW=NUL
  1840. AW=CNRD,AW=CASF,AW=CSRP
  1841. AW=CLPF,AW=CSPF,AW=CAND,AW=CCNR,AW=CMNT,AW=COPR
  1842. SC=10B
  1843. SAV=NUL
  1844. SAV=CULT,SAV=COLD
  1845. SH=RMSHELL
  1846. AP=NUL
  1847. AP=IAF,AP=RBF
  1848. PX=HALF
  1849. TT=TTY
  1850. PA=EVEN
  1851. XT=7
  1852. *WEOR
  1853. CDCCSS
  1854. RL=ALL
  1855. IS=BATCH
  1856. VM=DI
  1857. AW=NUL
  1858. AW=CNRD,AW=CSRP
  1859. AW=CLPF,AW=CSPF,AW=CAND,AW=CCNR
  1860. AW=CNOP,AW=CSOJ,AW=CASF,AW=COPR,AW=CMNT
  1861. SC=10B
  1862. SAV=NUL
  1863. SAV=CULT
  1864. AP=NUL
  1865. AP=CS
  1866. AP=IAF,AP=RBF
  1867. PX=HALF
  1868. TT=TTY
  1869. PA=EVEN
  1870. XT=7
  1871. *WEOR
  1872. LIMITED
  1873. DS=5,DF=77B,CC=77B,MS=20B,DT=3,LP=77B,CP=77B,MT=1,RP=2,TL=77B
  1874. CM=40B,CS=4,FC=7,DB=4,SL=77B,FS=6
  1875. IS=BATCH
  1876. VM=DI
  1877. AW=NUL
  1878. AW=CPWC,AW=CNRD,AW=CSRP
  1879. AW=CLPF,AW=CSPF,AW=CAND,AW=CCNR
  1880. AW=CPLK,AW=CQLK,AW=CUST,AW=COPR
  1881. SC=77B
  1882. SAV=NUL
  1883. SAV=CFPX
  1884. SAV=CULT
  1885. AP=NUL
  1886. AP=IAF,AP=RBF
  1887. XT=4095
  1888. *WEOR
  1889. NOSVE
  1890. DS=5,DF=77B,CC=77B,MS=20B,DT=3,LP=77B,CP=77B,MT=1,RP=2,TL=77B
  1891. CM=40B,CS=4,FC=7,DB=4,SL=77B,FS=6
  1892. IS=BATCH
  1893. VM=DI
  1894. AW=NUL
  1895. AW=CPWC,AW=CNRD,AW=CSRP
  1896. AW=CLPF,AW=CSPF,AW=CAND,AW=CCNR
  1897. AW=CPLK,AW=CQLK,AW=CUST,AW=COPR
  1898. AW=CNVE,AW=CUCP
  1899. SC=77B
  1900. SAV=NUL
  1901. SAV=CFPX
  1902. SAV=CULT
  1903. AP=NUL
  1904. AP=IAF,AP=RBF
  1905. XT=4095
  1906. *WEOR
  1907. NOLIMIT
  1908. RL=ALL
  1909. IS=BATCH
  1910. VM=DI
  1911. AW=NUL
  1912. AW=CPWC,AW=CNRD,AW=CASF,AW=CSRP
  1913. AW=CLPF,AW=CSPF,AW=CAND,AW=CCNR
  1914. AW=CPLK,AW=CQLK,AW=CUST,AW=COPR
  1915. SC=77B
  1916. SAV=NUL
  1917. SAV=CFPX
  1918. SAV=CULT
  1919. AP=NUL
  1920. AP=IAF,AP=RBF
  1921. XT=4095
  1922. *WEOR
  1923. SYSADM
  1924. RL=ALL
  1925. IS=BATCH
  1926. VM=DI
  1927. AW=NUL
  1928. AW=CPWC
  1929. AW=CNRD,AW=CSRP,AW=CSRP
  1930. AW=CLPF,AW=CSPF,AW=CAND,AW=CCNR
  1931. AW=CNOP,AW=CSOJ,AW=CASF
  1932. AW=CPLK,AW=CQLK,AW=CUST,AW=COPR
  1933. SC=77B
  1934. SAV=NUL
  1935. SAV=CPWX
  1936. SAV=CFPX
  1937. SAV=CULT
  1938. AP=NUL
  1939. AP=CS
  1940. AP=IAF,AP=RBF
  1941. XT=4095
  1942. *WEOR
  1943. EPRI
cdc/nos2.source/opl871/superm.txt ยท Last modified: 2023/08/05 17:24 by Site Administrator