Recent Post

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

by Rui Miguel Feio in JCL

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, we are using the OCOPY command to copy the USS file “file.txt” into the MVS partitioned dataset USERA.USSFILE.EXAMPLE, member FILEUSS. However, we could have achieved by using a different command as per the table below: Command Used to Format OCOPY [...]

Book Rui for speaking

Link to Rui Miguel Feio Speaker's web page
Rui offers excellent presentations based on his professional experience in mainframe and cyber security. Rui's presentations aim to educate and inform while keeping people engaged and aware of risks, solutions and new technological trends.

Subscribe

Get the latest posts and news by email.

Archives

Categories

Advertisement