Posted by Jim Walker on August 06, 2007 at 10:01:31:
In Reply to: Using IOFWTR posted by Anuj on August 03, 2007 at 15:58:54:
: Hi,
: I wanted to know how IOFWTR can be used in Rexx to get the job information. For a given job name I wanted to get file name assigned to a particular DD in this job step.
: Could I get some sample REXX code?
: and also some tutorails on IOFWTR or ways in which I can read IOF spool.
I am not sure I understand your question.
IOFWTR is an IOF utility written in CLIST that selects output based on a variety of selection criteria, and writes it to an output data set. IOFWTR is documented in the CLIST PROC statement at the front of the CLIST.
I think you are asking how you can user IOF to fetch Job information to a Rexx exec. I suggest you start by reading the November 1998 IOF Newsletter, "IOF Rexx/Clist Tutorial" at:
http://www.triangle-systems.com/nl9811.shtml
This newsletter gives several examples of fetching information into a Rexx exec using the TSICOPY command. Then perhaps you can be more specific about exactly what information you want to fetch, and how you want to use this information