Reallocate SYSIN with DYNALLOC
Posted: Mon Sep 21, 2009 11:15 am
Hi
I want an assembler code that is executed using a JCL job to reallocate the SYSIN ddname that was allocated in the JCL to a different file. I have tried to do it using the DYNALLOC macro. My macro invocations returns code 0 when I try to deallocate SYSIN, but nothing really happens (it remains allocated).
Has anyone done such a thing before and can point me in the right direction?
Thanks
I want an assembler code that is executed using a JCL job to reallocate the SYSIN ddname that was allocated in the JCL to a different file. I have tried to do it using the DYNALLOC macro. My macro invocations returns code 0 when I try to deallocate SYSIN, but nothing really happens (it remains allocated).
Has anyone done such a thing before and can point me in the right direction?
Thanks