Your browser does not support HTML5 local storage or you have disabled it. Some functionality on this site, including saving your privacy settings and offering you special discounts, uses local storage and may not work with local storage disabled. We recommend allowing the use of local storage in your browser. In some browsers, it is the same setting used for disabling cookies.
Submitting a Job
In this example it is assumed that the JCL script br14.jcl with the following contents is stored in the directory /home/user1/src/jcl/ on a Unix host:
Submit a job for execution using sftpg3 and receive a notification of the ID assigned to the submitted job:
$ sftpg3 user1@mf_server
sftp> sput /home/user1/src/jcl/br14.jcl /ftadv:filetype=jes,c=ISO8859-1,d=IBM-1047/
br14.jcl | 100B | 29B/s | TOC: 00:00:03 | 100%
07.57.19 JOB03198 $HASP100 USERJ0 ON INTRDR FROM STC03197 USER17
07.57.20 JOB03198 IRR010I USERID USER1 IS ASSIGNED TO THIS JOB.
Open an SFTP session from your client to the target server (in this example mf_server).
Submit the job (/home/user1/src/jcl/br14.jcl) using sput. Use a file transfer advice string to set file type to JES and to specify code set conversion. In this example the code set is ISO8859-1 during the transfer and the server should store the data set with the IBM-1047 code set.
At the end of the output you can see the job ID (JOB03198) that was assigned to the job.
Copyright 2015 SSH Communications Security Corporation This software is protected by international copyright laws. All rights reserved. Contact Information