User Tools

Site Tools


ibm:vm370-lib:macro:waitd.macro_src

WAITD Source

References

Source Listing

WAITD.MACRO.txt
  1. MACRO 00001000
  2. &LABEL WAITD &ERROR=*+4 00002000
  3. LCLA &NUM 00003000
  4. CNOP 0,4 00004000
  5. AIF (N'&SYSLIST EQ 0).ERR1 00005000
  6. &LABEL BAL 1,DMS&SYSNDX.B 00006000
  7. DC CL8'WAIT' 00007000
  8. .LOOP ANOP 00008000
  9. &NUM SETA &NUM+1 00009000
  10. AIF (&NUM GT N'&SYSLIST).CONT 00010000
  11. AIF (K'&SYSLIST(&NUM) EQ 0).LOOP 00011000
  12. AIF (K'&SYSLIST(&NUM) LE 4).NAME 00012000
  13. MNOTE 4,'DEVICE NAME TRUNCATED TO 4 CHARACTERS' 00013000
  14. .NAME ANOP 00014000
  15. DC CL4'&SYSLIST(&NUM)' 00015000
  16. AGO .LOOP 00016000
  17. .CONT ANOP 00017000
  18. DC F'0' 00018000
  19. DMS&SYSNDX.A DC F'0' 00019000
  20. DMS&SYSNDX.B SVC 202 00020000
  21. DC AL4(&ERROR) 00021000
  22. L 1,DMS&SYSNDX.A 00022000
  23. MEXIT 00023000
  24. .ERR1 MNOTE 8,'NO DEVICE NAME SPECIFIED' 00024000
  25. MEND 00025000
ibm/vm370-lib/macro/waitd.macro_src.txt ยท Last modified: 2023/08/06 13:38 by Site Administrator