gil, the reason I cannot write directly is that in one case, after creating my file, I run it through AMATERSE to shrink it, and AMATERSE cannout output to the Unix file. So in this case, I need to write to a temp file, then copy it to Unix where I can send it.

Thank you and best regards,
Billy Ashton

------ Original Message ------
From "Paul Gilmartin" <0000000433f07816-dmarc-requ...@listserv.ua.edu>
To IBM-MAIN@listserv.ua.edu
Date 2/8/2022 9:11:38 AM
Subject Re: how to do Unix copy command with temp file

On Tue, 8 Feb 2022 13:01:14 +0000, Billy Ashton wrote:
   ...
Ideally, I should not need this, but want to ensure that this file is not there 
when I start my processing.

You wrote earlier that you wrote first to a Classic temp data set,
then copy that to a temp UNIX file.  Why can you not write
directly to the UNIX file?  Can you show your code, at least the
part that allocates the temp data set?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to