> -----Original Message-----
> From: IBM Mainframe Discussion List 
> [mailto:[EMAIL PROTECTED] On Behalf Of Ward, Mike S
> Sent: Tuesday, June 05, 2007 8:31 AM
> To: [email protected]
> Subject: Job Stream via FTP
> 
> 
> 
> 
> Hello all, I have a question. Can a jcl job stream be submitted via an
> FTP session? If yes, how? And are there any gotcha's?
> 
> 
> Thanks in advance.

Sure

ftp zos
userid
password
ascii
quote site filetype=jes
put my.jcl

This will submit the JCL in the file "my.jcl". The "secret" is the
FILETYPE=JES parameter. This allows you to PUT a job's JCL to the
INTRDR. It also allows you to GET the job's output (assuming a number of
things that are a bit too detailed to go into here).

Setting up the ftp server for job submission:
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/f1a1b461/2.11
.64


the SITE commands (including FILETYPE=JES)
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B960/5.63

--
John McKown
Senior Systems Programmer
HealthMarkets
Keeping the Promise of Affordable Coverage
Administrative Services Group
Information Technology

The information contained in this e-mail message may be privileged
and/or confidential.  It is for intended addressee(s) only.  If you are
not the intended recipient, you are hereby notified that any disclosure,
reproduction, distribution or other use of this communication is
strictly prohibited and could, in certain circumstances, be a criminal
offense.  If you have received this e-mail in error, please notify the
sender by reply and delete this message without copying or disclosing
it.

----------------------------------------------------------------------
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

Reply via email to