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:
//USERJ0 JOB ,,CLASS=A,MSGCLASS=X,MSGLEVEL=(1,1), // NOTIFY=&SYSUID //* //STEP00 EXEC PGM=IEFBR14 //
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. JOBID=JOB03198