I'm not sure of your invocation, but maybe the OCOPY command could be
useful ?
Carmen
On 2/3/2022 11:37 AM, Billy Ashton wrote:
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 [email protected] with the message: INFO IBM-MAIN
--
/I am not bound to win, but I am bound to be true. I am not bound to
succeed, but I am bound to live by the light that I have. I must stand
with anybody that stands right, and stand with him while he is right,
and part with him when he goes wrong. *Abraham Lincoln*/
----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN