Table of Contents

GOTO Source

References

Source Listing

GOTO.MACRO.txt
  1. MACRO 00001000
  2. &NAME GOTO &SUBR,&PARM= 00002000
  3. AIF ('&NAME' EQ '').S1 LABEL OMITTED? 00003000
  4. &NAME DS 0H 00004000
  5. .S1 AIF ('&PARM' EQ '').S2 "PARM" NOT GIVEN? 00005000
  6. LA R2,&PARM 00006000
  7. .S2 AIF (T'&SUBR(1) EQ 'N').S3 IS '&SUBR' NUMERIC? 00007100
  8. AIF ('&SUBR' EQ 'DMKDSPCH').S6 ADCON IN PSA? 00009000
  9. L R12,=A(&SUBR) 00010000
  10. AGO .S5 00011000
  11. .S3 AIF (&SUBR(1) EQ 12).S5 FOR &SUBR NUMERIC IS IT 12 00012000
  12. LR R12,R&SUBR(1) 00013000
  13. .S5 BR R12 00014100
  14. MEXIT 00019000
  15. .S6 L R12,ADSPCH 00020000
  16. AGO .S5 00022000
  17. MEND 00024000