User Tools

Site Tools


ibm:vm370-lib:rscs:genq.macro_src

GENQ Source

References

Source Listing

GENQ.MACRO.txt
  1. MACRO 00001000
  2. &START GENQ &LEN=,&NUM= 00002000
  3. LCLA &COUNT 00003000
  4. &COUNT SETA 1 00004000
  5. &START DC 0F'0' 00005000
  6. .NEXT ANOP 00006000
  7. DC A(&START+4*&LEN*&COUNT) ADDRESS OF NEXT ELEMENT 00007000
  8. DC (&LEN-1)A(0) CONTENTS OF THIS ELEMENT 00008000
  9. SPACE 00009000
  10. &COUNT SETA &COUNT+1 00010000
  11. AIF (&COUNT LT &NUM).NEXT 00011000
  12. DC A(0) LAST ELEMENT IN QUEUE 00012000
  13. DC (&LEN-1)A(0) CONTENTS OF THIS ELEMENT 00013000
  14. MEND 00014000
ibm/vm370-lib/rscs/genq.macro_src.txt ยท Last modified: 2023/08/06 13:39 by Site Administrator