Table of Contents

NAME3800 Source

References

Source Listing

NAME3800.MACRO.txt
  1. MACRO 00001000
  2. &LABEL NAME3800 &CPNAME=,&SYSVOL=,&SYSSTRT=,&SYSPGCT= @V60B9BA 00002000
  3. .* THIS MACRO CREATED FOR VM/370 SUPPORT OF 3800 PRINTER @V60B9BA 00003000
  4. GBLA &N38SW @V60B9BA 00004000
  5. LCLA &A,&B @V60B9BA 00005000
  6. DMKQNTBL CSECT @V60B9BA 00006000
  7. AIF ('&N38SW' EQ '1').NTFIRST @V60B9BA 00007000
  8. &N38SW SETA 1 @V60B9BA 00008000
  9. AGO .BEG @V60B9BA 00009000
  10. .NTFIRST ANOP @V60B9BA 00010000
  11. ORG *-4 @V60B9BA 00011000
  12. .BEG ANOP @V60B9BA 00012000
  13. S&SYSNDX EQU * @V60B9BA 00013000
  14. DC AL4(E&SYSNDX-S&SYSNDX) DSPLCMENT TO NEXT ENT. @V60B9BA 00014000
  15. DC AL4(0) RESERVED FOR FUTURE USE @V60B9BA 00015000
  16. AIF ('&CPNAME' EQ '').NAMERR @V60B9BA 00016000
  17. &B SETA K'&CPNAME @V60B9BA 00017000
  18. AIF (&B LT 1).NAMER1 NAME LT 1 CHAR - ERROR @V60B9BA 00018000
  19. AIF (&B GT 8).NAMER1 NAME GT 8 CHARS - ERROR @V60B9BA 00019000
  20. DC CL8'&CPNAME' SYSTEM NAME @V60B9BA 00020000
  21. .VOL1 ANOP @V60B9BA 00021000
  22. AIF ('&SYSVOL' EQ '').SVOLERR @V60B9BA 00022000
  23. DC CL6'&SYSVOL' VOL SER CONTAINING SAVED SYSTEM @V60B9BA 00023000
  24. DC X'00' CP*1 - CURRENT ACTIVITY COUNT @V60B9BA 00024000
  25. DC X'00' CP*2 - RESERVED FOR FUTURE USE @V60B9BA 00025000
  26. .STRT1 ANOP @V60B9BA 00026000
  27. AIF ('&SYSSTRT' EQ '').STRTERR @V60B9BA 00027000
  28. &A SETA 1 @V60B9BA 00028000
  29. DC AL2(&SYSSTRT(&A)) CYLINDER @V60B9BA 00029000
  30. &A SETA &A+1 @V60B9BA 00030000
  31. AIF ('&SYSSTRT(&A)' EQ '0').PERR @V60B9BA 00031000
  32. DC AL1(&SYSSTRT(&A)) PAGE NUMBER @V60B9BA 00032000
  33. DC AL1(0) @V60B9BA 00033000
  34. .PGCT1 ANOP @V60B9BA 00034000
  35. AIF ('&SYSPGCT' EQ '').PGCTERR @V60B9BA 00035000
  36. DC AL4(&SYSPGCT) NUMBER OF PAGES SAVED @V60B9BA 00036000
  37. .END ANOP @V60B9BA 00037000
  38. E&SYSNDX DS 0F @V60B9BA 00038000
  39. DC X'00000000' @V60B9BA 00039000
  40. SPACE 2 @V60B9BA 00040000
  41. AGO .EXIT @V60B9BA 00041000
  42. .NAMERR MNOTE 12,'''CPNAME'' NOT SPECIFIED' @V60B9BA 00042000
  43. AGO .VOL1 @V60B9BA 00043000
  44. .NAMER1 MNOTE 12,'INVALID ''CPNAME'' OPERAND' @V60B9BA 00044000
  45. AGO .VOL1 @V60B9BA 00045000
  46. .SVOLERR MNOTE 12,'''SYSVOL'' NOT SPECIFIED' @V60B9BA 00046000
  47. AGO .STRT1 @V60B9BA 00047000
  48. .STRTERR MNOTE 12,'''SYSSTRT'' NOT SPECIFIED' @V60B9BA 00048000
  49. AGO .PGCT1 @V60B9BA 00049000
  50. .PERR MNOTE 12,'''SYSSTRT'' PAGE NUMBER MUST BE ''1'' OR MORE' 00050000
  51. AGO .PGCT1 @V60B9BA 00051000
  52. .PGCTERR MNOTE 12,'''SYSPGCT'' NOT SPECIFIED' @V60B9BA 00052000
  53. AGO .END @V60B9BA 00053000
  54. .PGCTER1 MNOTE 12,'''SYSPGCT'' GREATER THAN NUMBER OF PAGES IMPLIED BY X00054000
  55. ''CPSIZE'' PARAMETER.' @V60B9BA 00055000
  56. AGO .END @V60B9BA 00056000
  57. .EXIT ANOP @V60B9BA 00057000
  58. MEND @V60B9BA 00058000