Try Irish commands.
OCOPY can copy to/from file, ps dataset, member...
Both input and output are ddnames. Note, ddname can be used for files as
well.
--
Radoslaw Skorupka
Lodz, Poland
W dniu 03.02.2022 o 18:37, Billy Ashton pisze:
Here is a simple question that has a simple answer - I hope!
I have a process that takes input from several standard MVS files, and
creates a temporary file (sometimes small, sometimes ginormous). Our
shop is using SFTP to send files to another server, and I am not sure
how to code the "cp" command to put this temp file into an HFS
directory so I can send it. I can work with standard, catalogued files
without a problem, but was hoping i could use a temp file here.
What do y'all think? Can I do a cp command with a temp file, or do I
need to have a catalogued file?
Thank you and best regards,
Billy Ashton
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN