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