User Tools

Site Tools


cdc:nos2.source:nam5871:lfgrdsr

LFGRDSR

Table Of Contents

  • [00007] READ SEQUENTIAL RECORD.

Source Code

LFGRDSR.txt
  1. *DECK LFGRDSR
  2. USETEXT LFGFET,LFGIOD
  3. PROC LFGRDSR(FET,STATIS);
  4. BEGIN
  5. *IF DEF,IMS
  6. #
  7. ** LFGRDSR - READ SEQUENTIAL RECORD.
  8. *
  9. * M. E. VATCHER 81/02/23
  10. *
  11. * LFGRDSR READS FROM THE CURRENT POSITION OF THE CURRENT INPUT
  12. * FILE.
  13. *
  14. * PROC LFGRDSR(FET,STATIS)
  15. *
  16. * ENTRY FET FIRST WORD ADDRESS OF FET
  17. *
  18. * EXIT STATIS STATUS RETURNED BY READ
  19. *
  20. * METHOD
  21. *
  22. * SET FET IN AND OUT POINTERS AND DO THE READ.
  23. *
  24. #
  25. *ENDIF
  26.  
  27. #
  28. **** PROC LFGRDSR - XREF LIST BEGIN.
  29. #
  30.  
  31. XREF
  32. BEGIN
  33. PROC READ; # READ A RECORD #
  34. PROC RECALL; # CHECK COMPLETION BIT #
  35. END
  36.  
  37. #
  38. ****
  39. #
  40.  
  41.  
  42. ITEM FET U;
  43. ITEM STATIS U;
  44.  
  45. P<SIOFET> = FET;
  46. FETIN = FETFST;
  47. FETOUT = FETFST;
  48. READ(SIOFET);
  49. RECALL(SIOFET);
  50. STATIS = FETSTAT;
  51. END TERM
cdc/nos2.source/nam5871/lfgrdsr.txt ยท Last modified: 2023/08/05 17:22 by Site Administrator