Search code examples
mainframezosrexx

What are the REXX commands to open, close, read, and write files to a TAPE drive?


As stated in my title, I am hoping that some one can throw some basic REXX commands my way. I have user guides but they are very huge and the table of contents do not point to anything TAPE DRIVE related. I just need to know the basic commands for opening, closing, reading, and writing a file to a TAPE DRIVE, not disk.

Any help would be much appreciated, thank you!


Solution

  • I believe you are looking for the EXECIO command. @BillWoodger's comments are accurate, you are likely to end up running your Rexx code in batch.