Table of Contents

USERSAVE Source

References

Source Listing

USERSAVE.MACRO.txt
  1. MACRO 00001000
  2. USERSAVE &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. USERSAVE DSECT 00008000
  9. AGO .CONT 00009000
  10. .CSECT ANOP 00010000
  11. * The user save area is passed to programs via R13. 00012000
  12. USERSAVE DS 0D user save area 00013000
  13. .CONT ANOP 00014000
  14. DS 12D reserved for user 00011000
  15. USERSIZE EQU *-USERSAVE size of reserved area 00015000
  16. USERINFO DS D information passed to user 00016000
  17. USECTYP DS X CALLTYP value 00017000
  18. USEUFLG DS X UFLAGS value 00018000
  19. DS 2X reserved for IBM use 00019000
  20. USEMFLG DS X miscellaneous bits 00020000
  21. DS 3X reserved for IBM use 00021000
  22. USERSAVL EQU (*-USERSAVE+7)/8 00022000
  23. USECMS EQU X'80' invoked by CMSCALL 00023000
  24. USEA31 EQU X'40' caller's AMODE is 31 00024000
  25. USESCBLK EQU X'20' SCBLOCK is available in R2 00025000
  26. USEPLIST EQU X'10' extended PLIST available in R0 00026000
  27. * only valid if invoked by CMSCALL 00027000
  28. USEAR EQU X'08' caller was in AR-mode at CMSCALL 00028000
  29. POP PRINT 00029000
  30. MEND 00030000