Your browser does not allow storing cookies. We recommend enabling them.
Submitting JCL Jobs over Secure Shell
Secure Shell can also be used to run JCL jobs remotely. For that an REXX script,
submit.rexx (shown below), is needed on the Unix System Services. The script is used to submit the data received from the Secure Shell connection to MVS.
/* rexx */
/* SUBMIT */
address mvs "execio * DISKR STDIN (stem JOB. "
/* submit MVS job */
if pos("JOB",jobid) > 0 then rc=0
Example 1: JCL written on Unix host is submitted over Secure Shell.
submit.rexx script, for example, to
/usr/local/bin. The script can be found from the
$ cp /usr/lpp/ssh2/doc/zOS/samples/submit.rexx /usr/local/bin/
Launch the Secure Shell connection from the Unix client using the JCL file as standard input.
$ sshg3 username@mf_server /usr/local/bin/submit.rexx < /tmp/my_jcl
[ Contents] [ Index] [ Contact Information | Support | Feedback | SSH Home Page | SSH Products ]
Copyright © 2007 SSH Communications Security Corp.
This software is protected by international copyright laws. All rights reserved. Copyright Notice Reduce Secure Shell risk. Get to know the NIST 7966. The NISTIR 7966 guideline from the Computer Security Division of NIST is a direct call to action for organizations regardless of industry and is a mandate for the US Federal government. Download now ISACA Practitioner Guide for SSH With contributions from practitioners, specialists and SSH.COM experts, the ISACA “SSH: Practitioner Considerations” guide is vital best practice from the compliance and audit community. Download now What we recommend to read next: Regulatory compliance for cybersecurity? Privileged access management related information NEAREST SSH.COM OFFICE SSH Communications Security, Inc. 460 Totten Pond Road #460 Waltham, MA 02140 USA 781-247-2100 Contact us