we are looking at copy the file to a GDG,  once it reaches the z/OS directory 
using the below job. so what i am looking is how we can automate this job so 
once file reaches the unix directory it copies and delete the source ?

//COPYSTEP EXEC PGM=IKJEFT01
//FILE DD PATH='/export/home/PX1COMT/test.txt'
//PTST DD DISP=SHR,DSN=PTHMICST.TEST.R1.Y(+1)
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
OCOPY INDD(FILE) OUTDD(PTST) TEXT

what i am thinking is scheduling the job at different time of the day . is this 
a good option or there is any other way to do it ?


Regards
Ron T

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to