User Tools

Site Tools


cdc:nos2.source:nam5871:iattach

IATTACH

Table Of Contents

  • [00006] IATTACH - ATTACH A PERMANENT FILE.
  • [00010] ATTACH A PERMANENT FILE.

Source Code

IATTACH.txt
  1. *DECK IATTACH
  2. IDENT IATTACH
  3. *CALL COPYRITE CDCNET - COPYRIGHT CONTROL DATA. 1992.
  4. ENTRY IATTACH
  5. SYSCOM B1
  6. TITLE IATTACH - ATTACH A PERMANENT FILE.
  7. COMMENT IATTACH - ATTACH A PERMANENT FILE.
  8. COMMENT COPYRIGHT CONTROL DATA SYSTEMS INC. 1994.
  9. SPACE 4,10
  10. ** ATTACH - ATTACH A PERMANENT FILE.
  11. *
  12. * ENTRY - FILE, AN ARRAY THAT CONTAINS THE FET.
  13. *
  14. * STATUS = IATTACH (FILE); *SYMPL* CALL.
  15. *
  16. * STATUS IS OBTAINED FROM WORD 0, BITS 17-10 OF THE FET.
  17. * REFER TO THE NOS REFERENCE MANUAL VOLUME 4.
  18. *
  19.  
  20.  
  21. IATTACH SUBR ENTRY/EXIT
  22. SB1 1
  23. SX2 X1 ADDRESS OF FET
  24. MX0 42 SET ERROR MESSAGE ADDRESS
  25. SA3 X2+10
  26. SX6 FATA
  27. BX3 X0*X3
  28. BX6 X3+X6
  29. SA6 A3+
  30. ATTACH X2,,,,R GET PERMANENT FILE
  31. SA3 X2 GET FET+0
  32. MX0 52
  33. AX3 10 RIGHT JUSTIFY BITS 17-10
  34. BX6 -X0*X3 ISOLATE ERROR CODE IN X6
  35. EQ IATTACHX RETURN
  36.  
  37.  
  38. FATA BSSZ 5 *PFM* ERROR MESSAGE BUFFER
  39.  
  40. END
cdc/nos2.source/nam5871/iattach.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator