On Wed, 7 Dec 2016 20:48:01 -0700, Alan Young wrote: >Paul Gilmartin wrote: >> When I am in a shell, and the only way I can think of to do a RECEIVE is >> ... > >This works for me from a interactive shell prompt on z/OS 2.1. >I sent myself a PDS member using XMIT. Then in the shell I do: > (Slaps forehead) Of course! I had forgotten the TSO command and focused on Rexx "address TSO" because: o I was in Rexx to begin with. o "address TSO" has generally better function than "address SH tso".
>====> tso -o receive > But: o My data are in a file, not spool. I suppose INDSN() can deal with that if I copy to a catalogued data set. o I'd like to automate it to avoid the terminal interaction; let it run unattended. Is that possible? >(screen clears) > > INMR901I Dataset MY.JCL from xxxxxx on SYSTEMA > > INMR902I Members: HELLO > > INMR906A Enter restore parameters or 'DELETE' or 'END' > >da(test.receive.hello) unit(3390) <---- I typed this and hit enter > > INMR001I Restore successful to dataset 'TEST.RECEIVE.HELLO' > > INMR900I ------------------------------------ > > INMR000I No more files remain for the receive command to process. > >*** (prompt at the bottom of the screen) <--- hit enter Thanks, gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
