At 11:13 -0600 on 03/03/2006, McKown, John wrote about Re: Unusual
FTP request.:
> Can the last step of the job that creates the data set simply
submit via an internal reader a single-step job which performs
the FTP, with its SYSOUT directed to the "ftp team"?
They don't want to do this. They want the act of creating to
automagically do the ftp for them with no other work on their part.
All that is needed is to write a Quick&Dirty program that uses the
RDJFCB command to get access to the DSN associated with a DD Name
(which points at the created dataset). It then feeds a canned JCL
Steam thorough INTRDR (inserting the DSN as needed) which has a
NOTIFY for the FTP Group. The FTP Jobs run and the output goes to the
FTP Group to review and rerun if needed. The JCL to execute the
program is placed at the end of the create job stream in lieu of the
current FTP Step. Since the program reads the DSN and creates the
submitted JCL on the fly it meets your automagic requirement. The
only thing that is needed is to write the program (which should be
simple to do.
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html