I think it is saying that the system picks the volume from the referenced
dsn, which must be cataloged (i.e. can't be a temp data set).

Joe

On Mon, Jul 2, 2018 at 3:49 PM, Paul Gilmartin <
[email protected]> wrote:

> On Mon, 2 Jul 2018 15:07:07 -0400, Joe Monk wrote:
>
> >REF allows you to place a data set on the same volume as the referenced
> >data set. It must be cataloged on the system where it is referenced.
> >
> >https://www.ibm.com/support/knowledgecenter/en/CD_PROC_LANG/com.ibm.help.
> cdprocstmtsparams.doc/cdproc_stmt_zos_Process_Parameters.html
> >
> Not always, but good point:
>     ([SER=(serial-no, [serial-no,...]) | ,REF=dsn])
>         specifies the volume serial number(s) containing the file and
> optional processing associated
>         with the file. If VOL is not specified with the FROM parameter,
> the file must be cataloged.
>
> (They're careless about distinction between "file" and "data set".)
>
> Is this trying to say that the default VOL for TO is the VOL specified on
> FROM?
>
> Is it possible that Lionel is referring to a data set created in the same
> COPY
> command and COPY does not ALLOCATE/CATALOG that data set until the
> command runs?
>
> But Lionel seems to indicate he's seeing a syntax error, not "Data set not
> found".
>
> -- gil
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to