Robert Sample wrote:When you FTP to JES, you are sending JCL to execute a job, which means that JCL has to be part of the Windows script that starts up the FTP. What program(s) that job executes once the JCL is submitted depends upon you and what you want the job to do.
Hi Robert,
This is the code i have in the .bat file but when i exceute it i dont see anything happening can you please guide me.
the code is:
ftp
ftp
open ip address
user
pwd
jcl the sample looks like this
//IEBEDITA JOB (XXXXXXXX,,,,,XXXX),' ',CLASS=T,
// MSGCLASS=Y,NOTIFY=&SYSUID
//*===========================================================
//* EXAMPLE FOR IEBEDIT UTILITY
//*===========================================================
//STEP001 EXEC PGM=IEBEDIT
//SYSUT1 DD DSN=USERID.ABC.JCLLIB(JOBNAM1),DISP=SHR
//SYSUT2 DD SYSOUT=(*,INTRDR)
//SYSPRINT DD SYSOUT=*
//*
//
close
quit
in the above the job - jobnam1 is the actual that can excute the pgm tat i wanted to but the jcl mentioned in the script is used to invoke that jcl from jes. Please help where I am going wrong.
Thanks.