There is requirement in my tool to read the dump of a specific job in spool output through rexx.
I have no idea how to read the spool through rexx.
There is no option in JCL to redirect the dump to a file as it deals with production.
Please help me if there is any option in rexx to read the spool.
if you have z/OS 1.9 or higher, look at the SDSF books for the new interface that lets you allocate spool files as ddnames and use EXECIO. It is very nice and pretty easy to use. Almost all SDSF functions are available including listing things, reading outputs, and getting original JCL. No longer do you need to run SDSF in batch with all that bizarre syntax.