JCL and Connect:Direct syntax, while similar are not the same :-) -------------------------------------------------------------------------- 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 Steve Beaver Sent: Monday, July 02, 2018 12:49 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [EXTERNAL] Re: Connect:Direct and VOL=REF ? Suggestion Code the parms on a DD statement and once you have that working transfer it to the CD COPY Statement -----Original Message----- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Dyck, Lionel B. (RavenTek) Sent: Monday, July 2, 2018 10:34 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: [EXTERNAL] Re: Connect:Direct and VOL=REF ? 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 ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN