[◀ JCL Batch Jobs]
- Using IKJEFT01 for TSO commands
- Creating a XMIT file
- Receive a XMIT file
//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP01 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSIN DD *
SEND 'some text message' USER(userid)
/*
//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP01 EXEC PGM=IKJEFT01
//SYSTSPRT DD SYSOUT=*
//SYSIN DD *
XMIT node.userid -
DSNAME('dataset.name') -
OUTDA('dataset.name.xmit')
/*
//*
//* +----1----+----2----+----3----+----4----+----5----+----6----+----7-
//*
//STEP01 EXEC PGM=IKJEFT01
//FROMFILE DD DISP=SHR,DSN=dataset.name.xmit
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
RECEIVE -
INDDNAME(FROMFILE)
DATASET('target.dataset.name')
/*