Table of Contents

EPLIST Source

References

Source Listing

EPLIST.MACRO.txt
  1. MACRO 00001000
  2. EPLIST &SECT 00002000
  3. PUSH PRINT 00003000
  4. AIF ('&SYSPARM' NE 'SUP').ACC01 00004000
  5. PRINT OFF,NOGEN 00005000
  6. .ACC01 ANOP 00006000
  7. AIF ('&SECT' EQ 'CSECT').CSECT 00007000
  8. EPLIST DSECT 00008000
  9. AGO .CONT 00009000
  10. .CSECT ANOP 00010000
  11. * The extended parameter list (EPLIST) is used to pass the 00012000
  12. * untokenized command & argument string to a CMS command. 00013000
  13. EPLIST DS 0F extended parameter list 00014000
  14. .CONT ANOP 00011000
  15. EPLCMD DS A address of command 00015000
  16. EPLARGBG DS A address of start of arguments 00016000
  17. EPLARGND DS A address of 1st byte after args 00017000
  18. EPLUWORD DS F user word, feel free to use it 00018000
  19. SPACE 00019000
  20. * The following values are placed in the high order byte 00020000
  21. * of R1 to signal that an extended parameter list is 00021000
  22. * available in R0. 00022000
  23. EPLFNCFL EQU X'01' extended PLIST available 00023000
  24. EPLCMDFL EQU X'0B' extended PLIST available 00024000
  25. POP PRINT 00025000
  26. MEND 00026000