Thanks, Hank! 

There's no sense in my re-posting your whole idea of submitting z/OS jobs 
via FTP from z/VM to z/OS. 

Here's another way that can be used...
After a very, very old and pretty much unsupported Network Systems 
HyperChannel box failed of extended old age, I was forced to find way to 
send very large (in terms of LRECL and of the sheer number of records) 
from CMS to z/OS JES2 SPOOL.  RSCS didn't cut it although it works fine 
for most output).

So I converted an existing EXEC to create the requisite JCL (getting the 
password from the user's NETRC DATA file; I sure wish there as a better 
way to do that!), FTPs the batch job to z/OS, then wait for the batch job 
to end before exiting.  The z/OS batch job establishes an FTP connection 
back to z/VM (using the VM userid and password from that NETRC DATA file - 
uuuugllleeee!), and "GET"s the file for output directly to JES2 SPOOL. 
When the job ends, the NOTIFY message is sent by JES2 to the submitting 
z/VM user running the exec.  The exec traps the reply (and return code), 
ending with an appropriate message to the user. 

Not being a z/OS JCL super-expert, it took a bit of digging around to get 
all the moving parts aligned, but the result has been terrific.  We can 
now send those very large print files from z/VM to z/OS for printing at 
very high speed, even from VM:Batch (which require a bit more in the way 
of local mods).

Mike Walter
Aon Corporation
The opinions expressed herein are mine alone, not my employer's.



The information contained in this e-mail and any accompanying documents may 
contain information that is confidential or otherwise protected from 
disclosure. If you are not the intended recipient of this message, or if this 
message has been addressed to you in error, please immediately alert the sender 
by reply e-mail and then delete this message, including any attachments. Any 
dissemination, distribution or other use of the contents of this message by 
anyone other than the intended recipient is strictly prohibited. All messages 
sent to and from this e-mail address may be monitored as permitted by 
applicable law and regulations to ensure compliance with our internal policies 
and to protect our business. E-mails are not secure and cannot be guaranteed to 
be error free as they can be intercepted, amended, lost or destroyed, or 
contain viruses. You are deemed to have accepted these risks if you communicate 
with us by e-mail. 

Reply via email to