Mainframe Environment - z/OS R1.2
I have coded a Rexx exec to run as the last step of a batch job. This exec checks to see if the previous step wrote anything to the SYSMDUMP dataset. If it has been written to it is copied to a cartridge GDG for retention.
When I test this exec in a batch job under my ID and issue the TSO Clist Alloc I process as expected. When I try to run using the USERID assigned to the Production job I receive the following RC(12):
32 *-* "ALLOC FI(SYSUT2) DS('"GDGNUM"')SHR EXPDT(98000)"
>O>"ALLOC FI(SYSUT2) DS('IDMSR.DOCIDMSE.DUMPGDG.G0036V00') SHR EXPDATE(98000)"
+++ RC(12)
I cannot see any error messages in SYSLOG that might help clarify.
What method can I use to find out why the allocation fails?
I have coded a Rexx exec to run as the last step of a batch job. This exec checks to see if the previous step wrote anything to the SYSMDUMP dataset. If it has been written to it is copied to a cartridge GDG for retention.
When I test this exec in a batch job under my ID and issue the TSO Clist Alloc I process as expected. When I try to run using the USERID assigned to the Production job I receive the following RC(12):
32 *-* "ALLOC FI(SYSUT2) DS('"GDGNUM"')SHR EXPDT(98000)"
>O>"ALLOC FI(SYSUT2) DS('IDMSR.DOCIDMSE.DUMPGDG.G0036V00') SHR EXPDATE(98000)"
+++ RC(12)
I cannot see any error messages in SYSLOG that might help clarify.
What method can I use to find out why the allocation fails?