Then you only need two steps; you can create a new temporary dataset in the AMATERSE step and a (maybe) new Unix file in the send step.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of Billy Ashton [bill00ash...@gmail.com] Sent: Tuesday, February 8, 2022 11:06 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: how to do Unix copy command with temp file 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN