User Tools

Site Tools


cdc:nos2.source:nam5871:txtanvf

TXTANVF

Table Of Contents

  • [00002] PROC TXTANVF
  • [00003] TXTANVF - SYMPL TEXT FOR NVF RESIDENT CODE.
  • [00007] SYMPL TEXT FOR NVF RESIDENT CODE.
  • [00113] ACNST - ACN STATE DEFINITIONS.
  • [00134] CTQSTAT - CONNECTION TRAFFIC QUEUE ENTRY DEFINITIONS.
  • [00167] DTSTAT - DEVICE TYPE STATUS DEFINITIONS.
  • [00184] PDCTST - PDCT STATE DEFINITIONS.
  • [00196] PAACST - STATE DEFINITIONS FOR PAAC ENTRIES.
  • [00217] PTACST - PTAC STATE DEFINITIONS.
  • [00236] TABUF - LABELLED COMMON BLOCK.
  • [00244] CRQBUF - CPM REQUEST BUFFER.
  • [00294] CPMBUF - CONTROL POINT MANAGER REQUEST BUFFER.
  • [00310] VCBBUF - VCB (VALIDATION CONTROL BLOCK) DATA BUFFER.
  • [00444] LPIDBUF - LID PID BUFFER FOR SFM FUNCTION CALLS.

Source Code

TXTANVF.txt
  1. *DECK TXTANVF
  2. PROC TXTANVF;
  3. # TITLE TXTANVF - SYMPL TEXT FOR NVF RESIDENT CODE. #
  4.  
  5. BEGIN #TXTANVF #
  6. #
  7. ** TXTANVF - SYMPL TEXT FOR NVF RESIDENT CODE.
  8. *
  9. * S. H. FISCHER. 81/12/01.
  10. * C. J. BRION. 83/04/21. 83/05/10. 83/09/08.
  11. * C. J. BRION 83/10/19.
  12. *
  13. * THIS SYMPL TEXT CONTAINS DEFINITIONS NEEDED BY SEVERAL NVF
  14. * RESIDENT PROCESSES.
  15. *
  16. * PROC TXTANVF
  17. *
  18. #
  19.  
  20. CONTROL STEXT;
  21.  
  22. #
  23. ****
  24. #
  25. DEF ABAP$ #3#; # "ABAP" ACCOUNT MESSAGE TYPE #
  26. DEF ABUN$ #1#; # "ABUN" ACCOUNT MESSAGE TYPE #
  27. DEF AEAP$ #4#; # "AEAP" ACCOUNT MESSAGE TYPE #
  28. DEF AEUN$ #2#; # "AEUN" ACCOUNT MESSAGE TYPE #
  29. DEF ABER$ #5#; # "ABER" ACCOUNT MESSAGE TYPE #
  30. DEF ABIC$ #6#; # "ABIC" ACCOUNT MESSAGE TYPE #
  31. DEF SIPI$ #7#; # "SIPI" ACCONT MESSAGE TYPE #
  32. DEF ABAC$ #0#; # A-A ACCOUNT MSG TYPES #
  33. DEF ABAA$ #1#;
  34. DEF ABAE$ #2#;
  35. DEF ABEA$ #3#;
  36. DEF ABRE$ #4#;
  37. DEF AEAA$ #5#;
  38. DEF ABAR$ #6#;
  39. DEF SANW$ #0#; # APPLICATION STATUS ACCOUNT MSG TYPES #
  40. DEF SBNW$ #1#;
  41. DEF SBER$ #2#;
  42. DEF SENW$ #3#;
  43. DEF ALN$ #0#; # APPL LIST NUMBER FOR THE CONNECTION #
  44. DEF AWTAPP$ #1#; # AWAIT APPLICATION PROMPT - PTA$PROMPT #
  45. DEF AWTFAM$ #5#; # AWAIT FAMILY PROMPT - PTA$PROMPT #
  46. DEF AWTPID$ #2#; # AWAIT PERSONAL ID PROMPT - PTA$PROMPT #
  47. DEF AWTPWD$ #3#; # AWAIT PASSWORD PROMPT - PTA$PROMPT #
  48. DEF AWTUSR$ #4#; # AWAIT USER PROMPT - PTA$PROMPT #
  49. DEF CPMSIZ$ #15#; # MAXIMUM NUMBER OF CPM PARAMETERS - 1 #
  50. DEF CPM56B$ #O"56"#; # CPM VALIDATE FUNCTION CODE #
  51. DEF CPM73B$ #O"73"#; # CPM DECREMENT FAMILY COUNT FUNCTION CODE#
  52. DEF DSPROUTE$ #O"77"#; # DSP ROUTE FUNCTION CODE #
  53. DEF GLIDCFC$ #O"65"#; # GETLID CONFIGURATION FUNCTION CODE #
  54. DEF GPIDAFC$ #O"66"#; # GET PID ATTRIBUTES FUNCTION CODE #
  55. DEF SPIDAFC$ #O"67"#; # SET PID ATTRIBUTES FUNCTION CODE #
  56. DEF PIDOPST$ # 1 #; # SETPIDA NETWORK STATUS=PID AVAILABLE #
  57. DEF PIDINOP$ # 2 #; # SETPIDA NETWORK STATUS=PID NOT AVAILABLE#
  58. DEF GLIDBUFS$ #14#; # GETLIDC FX MINIMUM BUFFER SIZE #
  59. DEF GPIDBUFS$ # 6#; # GETPIDA FX BUFFER SIZE #
  60. DEF SPIDBUFS$ # 4#; # SETPIDA FX BUFFER SIZE #
  61. DEF LPIDLEN$ #20#; # CHAR LEN OF LID/PID FX REQ BUFFER #
  62. DEF GPIDABIAS$ #2#; # ACPID ENTRY BIAS FOR GETPIDA MACRO CALL #
  63. DEF GLIDCBIAS$ #3#; # ACPID ENTRY BIAS FOR GETLIDC MACRO CALL #
  64. DEF GETFC$ #O"76"#; # GET FILE INTERNAL FUNCTION CODE #
  65. DEF GETFETS$ #17#; # GET MACRO CALL FET SIZE + 1 #
  66. DEF CRQDSIZ$ #2#; # NUM OF WRDS PER DECREMNT FAM CT CPM REQ #
  67. DEF CRQVSIZ$ #4#; # NUM OF WORDS PER VALIDATE CPM REQUEST #
  68. DEF DSPVSIZ$ #9#; # NUM OF WORDS PER DSP ROUTE REQUEST #
  69. DEF TMBSIZ$ #4#; # TIMER REQUEST BUFFER SIZE #
  70. DEF DEFAULT$ #2#; # FAMILY/USER AUTOLOGIN TYPE INDICATOR #
  71. DEF EPFNBIT$ #16#; # STARTING BIT FOR EP FIELD NUMBER (FN) #
  72. DEF EPFN$ #49#; # EP FIELD NUMBER #
  73. DEF EPON$ #X"45503D59"#; # HEX CODE FOR "EP=Y" #
  74. DEF EPTLC$ #6#; # CTLR/DEF ECHOPLEX TEXT LENGTH IN CHARS #
  75. DEF ICT$ #4#; # INPUT CHARACTER TYPE FOR THE CONNECTION #
  76. DEF LCTRLO$ #4#; # CTRL/CHAR LENGTH IN OCTETS #
  77. DEF MATRY$ #128#; # MAXIMUM NUMBER OF APPL RETRIES ALLOWED #
  78. DEF MLTRY$ #4#; # MAXIMUM NUMBER OF LOGIN RETRIES ALLOWED #
  79. DEF MNDATRY$ #1#; # FAMILY/USER/APPL AUTOLOGIN TYPE IND #
  80. DEF NULL$ #0#; # NULL PARAMETER #
  81. DEF PRIMARY$ #3#; # APPLICATION AUTOLOGIN TYPE INDICATOR #
  82. DEF RTCLC$ #6#; # CTRL/RTC TEXT LENGTH IN CHARACTERS #
  83. DEF TCFNBIT$ #0#; # STARTING BIT FOR TC FIELD NUMBER (FN) #
  84. DEF TCFN$ #34#; # TC FIELD NUMBER #
  85. DEF TC9$ #9#; # SYNCHRONOUS TERMINAL CLASS #
  86. DEF VCBSIZ$ #8#; # NUMBER OF WORDS PER VCB ENTRY #
  87. DEF NETPTIME$ # 300 #; # NETON PENDING TIMEOUT IN SECS #
  88. DEF RTRYTIME$ # 30 #; # RETRY CONNECTION TIMEOUT IN SECS #
  89. DEF CONNOK$ # 0 #; # CONNECTION OK STATUS #
  90. DEF NOCONN$ # 1 #; # NO CONNECTION POSSIBLE STATUS #
  91. DEF NETP$ # 2 #; # NETON PENDING STATUS #
  92. DEF MCLIMIT$ # 3 #; # MAXIMUM CONNECTION/COPIES LIMIT REACHED #
  93. DEF AACON$ # 1 #; # AA CONNECTION TYPE ID #
  94. DEF TACON$ # 2 #; # TA CONNECTION TYPE ID #
  95. DEF ECABSY$ # 0 #; # APPLICATION BUSY ERROR CODE #
  96. DEF ECCANA$ # 7 #; # CONCURRENT ACCESS PROHIBITED ERROR CODE #
  97. DEF ECANP$ # 1 #; # APPLICATION NOT PRESENT EC #
  98. DEF ECAPNETP$ # 2 #; # APPLICATION NETON PENDING EC #
  99. #
  100. * LID/PID MANAGEMENT FUNCTION REASON CODES.
  101. #
  102. DEF LPIDSMALL$ # 6 #; # RETURN INFO TOO LONG FOR BUFFER #
  103. DEF LPIDBADLP$ # 7 #; # PID/LID NOT LEGAL #
  104. DEF LPIDBADAT$ #10 #; # INVALID ATTRIBUTE #
  105. DEF LPIDLIDOV$ #12 #; # LID TABLE OVERFLOW #
  106. DEF LPIDBUFSM$ #16 #; # BUFFER TOO SMALL #
  107.  
  108. #
  109. ****
  110. #
  111.  
  112. #
  113. ** ACNST - ACN STATE DEFINITIONS.
  114. *
  115. * THIS STATUS LIST DEFINES THE SYMBOLS TO BE USED IN SETTING AND
  116. * CHECKING THE STATE OF A CONNECTION TO NVF BY THE C LAYER.
  117. *
  118. #
  119.  
  120. STATUS ACNST
  121. CREATE, # CREATE IN PROGRESS #
  122. ACTIVE, # ACTIVE #
  123. BRKOUT, # BREAK OUTSTANDING #
  124. BROKEN, # CONNECTION BROKEN #
  125. ENDED, # CONNECTION ENDED (IN PROGRESS)#
  126. TRMPEND, # TERMINATE PENDING #
  127. SWTPEND, # SWITCH PENDING #
  128. CLEARI, # CLEAR INPUT #
  129. SWSTART, # SWITCH STARTED #
  130. BRKCMD, # BRK PENDING/CMD IN PROGRESS #
  131. ;
  132.  
  133. #
  134. ** CTQSTAT - CONNECTION TRAFFIC QUEUE ENTRY DEFINITIONS.
  135. ** FOLLOWING STATUS IS FOR USE BY *NVFCDQE**AND *NVFTDQE**PROCESSES
  136. * FOR DISPATCHING ITS SMS.
  137. #
  138. STATUS CTQSTAT
  139. SACC, # CR/ACC SM #
  140. SCB, # CR/CB SM #
  141. SITE, # CR/ITE SM #
  142. SIAP, # CR/IAP SM #
  143. SRAP, # CR/RAP SM #
  144. SRCN, # CR/RCN SM #
  145. SSWHN, # CR/SWH/N SM #
  146. STRMN, # CR/TRM/N SM #
  147. SACK, # FC/ACK SM #
  148. SBRK, # FC/BRK SM #
  149. SIUSR, # INTR/USR SM #
  150. SINA, # FC/INACT - TIMER EXPIRED #
  151. SINIT, # FC/INIT SM #
  152. SNAK, # FC/ACK SM #
  153. SBMRK, # BI/MARK SM #
  154. SHBRK, # HOP/BRK SM #
  155. SHCMD, # HOP/CMD SM #
  156. SHEND, # HOP/END SM #
  157. SHIG, # HOP/IG SM #
  158. SHPAGE, # HOP/PAGE SM #
  159. SHSTART, # HOP/START SM #
  160. STCHAR, # TCH/TCHAR SM #
  161. SSLL, # CR/SLL SM #
  162. SFAI, # FAI/APP/N SM #
  163. SNETN, # NET/ON/N SM #
  164. SNETA; # NET/ON/A SM #
  165.  
  166. #
  167. ** DTSTAT - DEVICE TYPE STATUS DEFINITIONS.
  168. ** FOLLOWING STATUS IS FOR USE BY *NVFTACC*, *NVFTDSP**AND *NVFTITE**
  169. * PROCESSES FOR CASING ON DEVICE TYPE.
  170. #
  171. STATUS DTSTAT
  172. SCON, # CONSOLE DEVICE TYPE 0 #
  173. SCR, # CARD READER DEVICE TYPE 1 #
  174. SLP, # LINE PRINTER DEVICE TYPE 2 #
  175. SCP, # CARD PUNCH DEVICE TYPE 3 #
  176. SPL, # PLOTTER DEVICE TYPE 4 #
  177. SAA1, # APPLICATION-TO-APPLICATION TYPE 5 #
  178. SAA2, # APPLICATION-TO-APPLICATION TYPE 6 #
  179. SCLP, # CDCNET LINE PRINTER (PSU) 7 #
  180. ,,,, # 8,9,10,11,#
  181. SUSER; # USER DEVICE TYPE 12 #
  182.  
  183. #
  184. ** PDCTST - PDCT STATE DEFINITIONS.
  185. *
  186. * THIS STATUS LIST DEFINES THE SYMBOLS TO BE USED IN SETTING AND
  187. * CHECKING THE STATE OF A PDCT BY THE T-A PROCESS.
  188. #
  189. STATUS PDCTST
  190. PDCNULL, # NULL STATE - NOT USED #
  191. CONSWT, # CONNECTION SWITCHED #
  192. AWTCVAL, # AWAIT CONSOLE VALIDATION #
  193. AWTCON; # AWAIT CONSOLE #
  194.  
  195. #
  196. ** PAACST - STATE DEFINITIONS FOR PAAC ENTRIES.
  197. #
  198.  
  199. STATUS PAACST
  200. PANULL, # S0 - NULL STATE/NO PAAC #
  201. PAIAP, # S1 - IAP REQUEST PROCESSED #
  202. PARAP, # S2 - RAP REQUEST PROCESSED #
  203. PAAWTVAL, # S3 - RAP AWAIT VALIDATION DATA #
  204. PAICBVCB, # S4 - IAP - CB WAITING ON VCB DATA #
  205. PARCBVCB, # S5 - RAP - CB WAITING ON VCB DATA #
  206. PAIRCNVCB, # S6 - IAP - RCN WAITING ON VCB DATA #
  207. PARRCNVCB, # S7 - RAP - RCN WAITING ON VCB DATA #
  208. PACB, # S8 - CB ON NON NVF CONNECTION #
  209. PAISWT, # S9 - IAP SWITCH SUCCESSFUL - VCB STATE #
  210. PARSWT, # S10 - RAP SWITCH SUCCESSFUL - VCB STATE #
  211. PARCN, # S11 - RCN ON NON NVF CONNECTION #
  212. PANETP, # NETON PENDING #
  213. PAAWTLPID, # AWAIT LID PID FUNCTION CALL #
  214. PAERR; # ERROR STATE #
  215.  
  216. #
  217. ** PTACST - PTAC STATE DEFINITIONS.
  218. *
  219. * THIS STATUS LIST DEFINES THE SYMBOLS TO BE USED IN SETTING AND
  220. * CHECKING THE STATE OF A PTAC BY THE T-A PROCESS.
  221. #
  222. STATUS PTACST
  223. PTANULL, # NULL STATE - NOT USED #
  224. AWTRSP, # AWAIT RESPONSE #
  225. AWTVAL, # AWAIT VALIDATION #
  226. CONBROK, # CONNECTION BROKEN #
  227. AWTVCBC, # AWAIT VCB FOR A CR/CB #
  228. AWTVCBR, # AWAIT VCB FOR A CR/RCN #
  229. AWTPRMT, # AWAIT PROMPT #
  230. AWTNETP, # AWAIT NETON PENDING #
  231. AWTAPPL, # AWAIT CONSOLE SWITCH TO APPLICATION #
  232. AWTVAA, # AWAIT VALIDATE APPLICATION ACCESS #
  233. AWTVCBL; # AWAIT VCB FOR LOANED CR/RCN #
  234.  
  235. #
  236. ** TABUF - LABELLED COMMON BLOCK.
  237. *
  238. * COMMON BLOCK OF BUFFERS USED BY THE TERMINAL-TO-APPLICATION
  239. * PROCESS OF NVF.
  240. #
  241. COMMON TABUF;
  242. BEGIN
  243. #
  244. ** CRQBUF - CPM REQUEST BUFFER.
  245. *
  246. * BUFFER FOR CPM REQUEST 56B (VALID) AND 73B (DECREMENT FAMILY
  247. * COUNT).
  248. *
  249. *
  250. * THE FOLLOWING IS THE FORMAT OF AN CRQ ENTRY. EACH ENTRY
  251. * IS 4-WORDS LONG.
  252. *
  253. *
  254. * 1 2 3 4 5
  255. * 012345678901234567890123456789012345678901234567890123456789
  256. *TEXT
  257. *T,WORD0,6/FC,18/,12/ACN,24/
  258. *TEXT
  259. *T,WORD1,42/FNAME,16/ ,1/RETPED,1/RETPID
  260. *ENDTEXT
  261. *T,WORD2,42/PASSWD,16/,1/F,1/P
  262. *T,WORD3,42/UNUM,18/
  263. *ENDTEXT
  264. *
  265. *
  266. #
  267. BASED ARRAY CRQBUF[00:00] S(DSPVSIZ$);
  268. BEGIN
  269. #
  270. ****
  271. #
  272. ITEM CRQ$FCWORD U(00,00,60); # REFERENCE FUNCTION CODE WORD #
  273. ITEM CRQ$FC U(00,00,06); # FUNCTION CODE OF REQUEST #
  274. ITEM CRQ$ACN U(00,24,12); # APPLICATION CONNECTION NUMBER #
  275. ITEM CRQ$VCB U(00,24,12); # VCB ORDINAL #
  276. ITEM CRQ$QNUM U(00,42,18); # QUEUE NUMBER FOR RECVD DATA #
  277. ITEM CRQ$FWORD U(01,00,60); # REFERENCE FAMILY WORD #
  278. ITEM CRQ$FNAM C(01,00,07); # FAMILY NAME #
  279. ITEM CRQ$NOROUT B(01,57,01); # NOT ROLL OUT JOB IF DEVICE ERR#
  280. ITEM CRQ$RETPED B(01,58,01); # CPM TO RETURN PASSWRD EXP DATE#
  281. ITEM CRQ$RETPID B(01,59,01); # CPM TO RETURN PERSONAL ID #
  282. ITEM CRQ$PWORD U(02,00,60); # REFERENCE PASSWORD WORD #
  283. ITEM CRQ$PASSWD C(02,00,07); # PASSWORD #
  284. ITEM CRQ$IFCTF B(02,58,01); # INCREMENT FAMILY COUNT FLAG #
  285. ITEM CRQ$VPWF B(02,59,01); # VALIDATE PASSWORD FLAG #
  286. ITEM CRQ$UWORD U(03,00,60); # REFERENCE USER WORD #
  287. ITEM CRQ$UNUM C(03,00,07); # USER NUMBER #
  288. #
  289. ****
  290. #
  291. END
  292.  
  293. #
  294. ** CPMBUF - CONTROL POINT MANAGER REQUEST BUFFER.
  295. *
  296. * THE FOLLOWING ARRAY DEFINES THE PARAMETER BLOCK FOR CPM REQUEST.
  297. #
  298. ARRAY CPMBUF[00:CPMSIZ$] S(1);
  299. BEGIN
  300. ITEM CPB$WORD U(00,00,60); # FULL WORD REFERENCE #
  301. ITEM CPB$FNAM C(00,00,07); # FAMILY NAME #
  302. ITEM CPB$CBIT B(00,59,01); # COMPLETE BIT #
  303. END
  304. ITEM WAITCPM B = FALSE; # TRUE WHEN CPM REQUEST ISSUED #
  305. ITEM FXACTIVE B = FALSE; # FUNCTION ACTIVE FLAG #
  306.  
  307. #
  308. **
  309. *E
  310. ** VCBBUF - VCB (VALIDATION CONTROL BLOCK) DATA BUFFER.
  311. *
  312. * BUFFER OF VCB DATA FOR WRITE VCB REQUEST.
  313. *
  314. *
  315. * THE FOLLOWING IS THE FORMAT OF A T-A VCB ENTRY. EACH ENTRY
  316. * IS 8-WORDS LONG.
  317. *
  318. *
  319. *TEXT
  320. *TEXT
  321. *T,WORD0,42/TN,1/H,1/N,1/C,1/I,1/ ,1/A,12/VCB
  322. *ENDTEXT
  323. *T,WORD1,30/CNTIME,30/SWTIME
  324. *T,WORD2,60/FWORD
  325. *T,WORD3,30/,4/DT,5/TC,12/AACN,9/ASORD
  326. *T,WORD4,60/UWORD
  327. *T,WORD5,42/ALIFAM,3/FI,3/UI,1/ ,11/XBZ
  328. *T,WORD6,42/ALIUSR,6/UBZ,1/ ,11/DBZ
  329. *T,WORD7,42/ALIAPP,3/AI,1/V,4/SDT,4/DO,6/SL
  330. *ENDTEXT
  331. *
  332. *
  333. #
  334. BASED ARRAY VCBBUF[00:00] S(VCBSIZ$);
  335. BEGIN
  336. #
  337. ****
  338. #
  339. ITEM VCB$TN C(00,00,07); # TERMINAL NAME #
  340. ITEM VCB$HW B(00,42,01); # HARDWIRED TERMINAL FLAG #
  341. ITEM VCB$NET B(00,43,01); # NETWORK TYPE #
  342. ITEM VCB$CACA B(00,44,01); # CONCURRENT ACCESS FLAG #
  343. ITEM VCB$ICF B(00,45,01); # INTERACTIVE CAPABILITY FLAG #
  344. ITEM VCB$ALIF B(00,47,01); # AUTO-LOGIN FLAG #
  345. ITEM VCB$VCB U(00,48,12); # VCB ORDINAL #
  346. ITEM VCB$CNTIME U(01,00,30); # CONNECT TIME - MODDHHMMSS #
  347. ITEM VCB$CTIME U(01,12,18); # CONNECT TIME - HHMMSS #
  348. ITEM VCB$SWTIME U(01,30,30); # SWITCH TIME - MODDHHMMSS #
  349. ITEM VCB$STIME U(01,42,18); # SWITCH TIME - HHMMSS #
  350. ITEM VCB$FWORD U(02,00,60); # REFERENCE FAMILY WORD #
  351. ITEM VCB$PRIAN U(03,00,09); # PRI APPL NUMBER #
  352. ITEM VCB$VTP U(03,09,08); # VTP VERSION #
  353. ITEM VCB$ICMCN B(03,26,01); # THIS IS AN INCOMING CONNECTION#
  354. ITEM VCB$RCNA B(03,28,01); # CR/RCN/A SENT FLAG #
  355. ITEM VCB$LCF B(03,29,01); # LOANED CONNECTION FLAG #
  356. ITEM VCB$DT U(03,30,04); # DEVICE TYPE #
  357. ITEM VCB$TC U(03,34,05); # TERMINAL CLASS #
  358. ITEM VCB$AACN U(03,39,12); # CONNECTED APPLICATION'S ACN #
  359. ITEM VCB$SWAPAN U(03,51,09); # APPLICATION NUMBER #
  360. ITEM VCB$UWORD U(04,00,60); # REFERENCE USER WORD #
  361. ITEM VCB$ALIFAM C(05,00,07); # AUTO-LOGIN FAMILY NAME #
  362. ITEM VCB$FAMIND U(05,42,03); # MANDATORY/DEFAULT FAMILY #
  363. ITEM VCB$USRIND U(05,45,03); # MANDATORY/DEFAULT USER #
  364. ITEM VCB$XBZ U(05,49,11); # TRANSMISSION BLOCK SIZE #
  365. ITEM VCB$ALIUSR C(06,00,07); # AUTO-LOGIN USER NAME #
  366. ITEM VCB$UBZ U(06,42,06); # UPLINE BLOCK SIZE #
  367. ITEM VCB$DBZ U(06,49,11); # DOWNLINE BLOCK SIZE #
  368. ITEM VCB$ALIAPP C(07,00,07); # AUTO-LOGIN APPLICATION NAME #
  369. ITEM VCB$APPIND U(07,42,03); # MANDATORY/PRIMARY APPLICATION #
  370. ITEM VCB$VDSF B(07,45,01); # VALIDUS APPL EXIST FLAG #
  371. ITEM VCB$SDT U(07,46,04); # SUB-DEVICE TYPE #
  372. ITEM VCB$DO U(07,50,04); # DEVICE ORDINAL #
  373. ITEM VCB$SL U(07,56,04); # SECURITY LEVEL #
  374. #
  375. ****
  376. #
  377. #
  378. **
  379. *E
  380. * THE FOLLOWING THE FORMAT OF A MULT-HOST A-A VCB ENTRY.
  381. * EACH ENTRY IS 8-WORDS LONG.
  382. *
  383. *
  384. * 1 2 3 4 5
  385. * 012345678901234567890123456789012345678901234567890123456789
  386. *TEXT
  387. *T,WORD0,18/ARHID,4/AMO,2/,12/ANACN,12/APACN,12/VCB
  388. *T,WORD1,4/ASL,2/,8/AIAPRC,1/ ,4/ADT,2/,3/AH,28/,8/APORT
  389. *T,WORD2,42/AFAM,6/AFORD,7/,1/F,1/P,1/C,1/I,1/
  390. *T,WORD3,42/AUSER,18/AUSRIDX
  391. *T,WORD4,30/ACNTIME,30/ASWTIME
  392. *T,WORD5,42/ASWAP,8/ASWAPAN,1/ ,9/ASWAPAST
  393. *T,WORD6,8/ANUMOUT,1/ ,8/ASNODE,1/ ,8/ADNODE,34/
  394. *T,WORD7,60/
  395. *ENDTEXT
  396. #
  397.  
  398. #
  399. ****
  400. #
  401. ITEM VCB$ATN C(00,00,07); # A-A TERMINAL NAME #
  402. ITEM VCB$AVCB U(00,48,12); # VCB ORDINAL #
  403. ITEM VCB$ACNTIME U(01,00,30); # CONNECT TIME #
  404. ITEM VCB$ACTIME U(01,12,18); # CONNECT TIME HHMMSS #
  405. ITEM VCB$ASWTIME U(01,30,30); # SWITCH TIME #
  406. ITEM VCB$ASTIME U(01,42,18); # SWITCH TIME HHMMSS #
  407. ITEM VCB$AFAM C(02,00,07); # FAMILY NAME #
  408. ITEM VCB$AFORD U(02,48,06); # FAMILY ORDINAL #
  409. ITEM VCB$AUPFCF B(02,55,01); # INC FAM CNT FLAG #
  410. ITEM VCB$AUPWF B(02,56,01); # USE PASSWORD FLAG #
  411. ITEM VCB$ASCINV U(02,57,02); # REF SEC CNT & INV LOGIN #
  412. ITEM VCB$ASCEF B(02,57,01); # SEC CNT EXHAUSTED FLAG #
  413. ITEM VCB$AINVLF B(02,58,01); # INV LOGIN FLAG #
  414. ITEM VCB$ARHID C(03,00,03); # REMOTE HOST ID #
  415. ITEM VCB$AMODE U(03,18,04); # HOST MODE #
  416. ITEM VCB$ADT U(03,30,04); # DEVICE TYPE #
  417. ITEM VCB$ACNAA U(03,39,12); # CONNECTED APPL ACN #
  418. ITEM VCB$ASWAPAN U(03,51,09); # CONNECTED APPL NUMBER #
  419. ITEM VCB$AUSER C(04,00,07); # USER NUMBER #
  420. ITEM VCB$AUSRIDX U(04,42,18); # USER INDEX #
  421. ITEM VCB$ASWAP C(05,00,07); # SWITCHED APPL NAME #
  422. ITEM VCB$ASL U(05,42,04); # SECURITY LEVEL #
  423. ITEM VCB$ASTATE U(05,46,06); # PAAC STATE #
  424. ITEM VCB$AIAPRC U(05,52,08); # CR/IAP REASON CODE #
  425. ITEM VCB$ANUMOUT U(06,00,08); # NUMBER OUTCALL ATTEMPTS #
  426. ITEM VCB$ASNODE U(06,08,08); # SOURCE NODE #
  427. ITEM VCB$ADNOD U(06,16,08); # DESTINATION NODE #
  428. ITEM VCB$AVSTATE U(06,24,06); # VCB STATE #
  429. ITEM VCB$AABITS U(06,30,24); # REF APPL BITS OF AAWC #
  430. ITEM VCB$ANACN U(07,24,12); # NVF ACN #
  431. ITEM VCB$APORT U(07,40,08); # ACCESS PORT NUMBER ON NPU #
  432. ITEM VCB$WRD0 U(00,00,60); # WORD REFERENCES #
  433. ITEM VCB$WRD1 U(01,00,60);
  434. ITEM VCB$WRD2 U(02,00,60);
  435. ITEM VCB$WRD3 U(03,00,60);
  436. ITEM VCB$WRD4 U(04,00,60);
  437. ITEM VCB$WRD5 U(05,00,60);
  438. ITEM VCB$WRD6 U(06,00,60);
  439. #
  440. ****
  441. #
  442. END
  443. #
  444. ** LPIDBUF - LID PID BUFFER FOR SFM FUNCTION CALLS.
  445. #
  446. BASED ARRAY LPIDBUF [00:00] S(2);
  447. BEGIN
  448. ITEM LPI$WORD0 U(00,00,60);
  449. ITEM LPI$WORD1 U(01,00,60);
  450. ITEM LPI$FC U(00,00,06); # FUNCTION CODE #
  451. ITEM LPI$VCB U(00,24,12); # PAAC VCB ORDINAL #
  452. ITEM LPI$QNUM U(00,42,18); # Q NUMBER FOR RETURN #
  453. ITEM LPI$LID C(01,00,03); # LID IDENTIFIER #
  454. ITEM LPI$ULID U(01,00,18);
  455. ITEM LPI$PID C(01,18,03); # PID IDENTIFIER #
  456. ITEM LPI$UPID U(01,18,18);
  457. ITEM LPI$SIZE U(01,36,13); # ACPID TABLE SIZE NEEDED #
  458. ITEM LPI$NWST U(01,56,04); # SETPIDA PID STATUS #
  459. END
  460.  
  461. END # END TABUF #
  462.  
  463. END # END TXTANVF #
  464.  
  465. TERM
cdc/nos2.source/nam5871/txtanvf.txt ยท Last modified: 2023/08/05 17:23 by Site Administrator