The syntax you showed makes me think that preceding commas are required.
On Mon, Jul 2, 2018, 9:43 AM Dyck, Lionel B. (RavenTek) <lionel.d...@va.gov> wrote: > Using C:D 5.2 and yes I had tried that :-) > > The 'error' message, if that is what you want to call it, claims invalid > VOL=SER= usage. > > Banging head against the wall removes the pain of trying to figure this > out but that is only temporary. > > -------------------------------------------------------------------------- > Lionel B. Dyck (Contractor) <sdg>< > Mainframe Systems Programmer – RavenTek Solution Partners > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Elardus Engelbrecht > Sent: Monday, July 02, 2018 9:59 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: [EXTERNAL] Re: Connect:Direct and VOL=REF ? > > Dyck, Lionel B. (RavenTek) wrote: > > >After pouring thru the connect:direct pubs and finding that REF= is > support, I've not been able to find the correct syntax to do a VOL=REF=dsn > within a Connect:Direct Proc on the TO parameters. > > >Can anyone offer any suggestions/advice/direction? > > >The documented syntax is: > > >VOL = ( [PRIVATE],[RETAIN] ,[volume-sequence-no] > >,[volume-count] > >,[SER = (serial-no[,serial-no,...] ) ] ) | ( [SER = (serial-no, > >[serial-no,...] ) | REF = dsn]) > > >We've tried: > >Vol=ref=dsn > >Vol=(ref=dsn) > >Vol=ser=(ref=dsn) > > According to what you post and my copy of the C:D PDF doc I have, after a > lot of trimming that looooooooooong and hard to read syntax diagram, > > ... try Vol=(ref=dsn) , but you have done that??? > > If not working, what version of C:D do you have? > Do you see any error message(s)? > Are you using C:D batch or online? > > Groete / Greetings > Elardus Engelbrecht > > ---------------------------------------------------------------------- > 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