Put this into file mf.jcl:
//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=*
//*
//
and put this into file mf.ftp:
open ip address
user
pwd
quote site filetype=jes
put mf.jcl
close
quit
and then you start a Windows DOS prompt (cmd.exe is the command to execute) and type in
However, you should be aware that if you're wanting to use ISPF services in a batch job, your JCL is woefully short of the required DD names.