How to Copy Data Between z/OS and USS via Batch Job

February 14, 2017 Rui Miguel Feio

Ever wondered how you can transfer data between z/OS and Unix System Services? Well, one of the ways you can do this is via batch job. //COPYFILE EXEC PGM=IKJEFT01 //IN DD PATH=’/tmp/file.txt’ //OUT DD DISP=SHR,DSN=USERA.USSFILE.EXAMPLE(FILEUSS) //SYSTSPRT DD SYSOUT=* //SYSTSIN DD * OCOPY INDD(IN) OUTDD(OUT) TEXT /* In this batch job, […]