The use of VOL=SER=xxxxxx works but that is only useful for the 1st data set 
being copied. I've tried variations of ,'s also without success.

Time for a PMR :-)

--------------------------------------------------------------------------
Lionel B. Dyck (Contractor)  <sdg><
Mainframe Systems Programmer – RavenTek Solution Partners


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Paul Gilmartin
Sent: Monday, July 02, 2018 12:20 PM
To: [email protected]
Subject: Re: [EXTERNAL] Re: Connect:Direct and VOL=REF ?

On Mon, 2 Jul 2018 10:31:58 -0600, Roger Bolan wrote:

>The syntax you showed makes me think that preceding commas are required.
>
That's what it seems to say, but does it mean it?  Is this JCL, or an attempt to
replicate JCL syntax?

I can produce from this either:
    VOL = ( ,  ,  , SER = ( serial-no[,serial-no,...] )  )
or:
    VOL = ( REF = dsn )
(the parentheses are not indicated as optional.)

But the OP says he has tried the latter and failed.

RCF?  "Enny fool kin plainly see what it means." is not polished
documentation.

>> >The documented syntax is:
>>
>> >VOL = ( [PRIVATE],[RETAIN] ,[volume-sequence-no]
>> >,[volume-count]
>> >,[SER = (serial-no[,serial-no,...] ) ] ) | ( [SER = (serial-no,
>> >[serial-no,...] ) | REF = dsn])

(Once, when I coded some SMP/E control statements intended for customers,
I used blanks as token separators rather than commas.  A reviewer marked
me down for that; it wasn't documented.  I went to RCF, saying that a ","
should appear as "[,]" wherever the "," is optional.  IBM took the easy out
by adding a statement in the frontmatter of the Ref. that commas appeaing
in syntax diagrams are (usually?) optional.)

-- 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