View previous topic :: View next topic
|
Author |
Message |
rameyshkanthan v
New User
Joined: 15 Nov 2013 Posts: 10 Location: India
|
|
|
|
Hi,
I am trying to copy multiple files into a single GDG version using ADRDSSU but unable to do so.
The input files will start like DEB314O.R2.VH0.PCS.AR1R.**
I want to copy all the files into a single GDG version in single step.
Please advice.
Code: |
//STEP2 EXEC PGM=ADRDSSU
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
COPY -
DATASET( -
INCLUDE ((DEB314O.R2.VH0.PCS.AR1R.** -
DEB314O.R2.VH0.PCS.AR1.EINGABE(+1) -
))) -
TOL(ENQF) -
REPUNC -
CATALOG -
ALLEXCP -
ALLDATA(*) -
PROCESS(SYS1) -
TGTALLOC(SOURCE) -
OPTIMIZE(4) -
/* |
Error message:
INITIAL SCAN OF USER CONTROL STATEMENTS COMPLETED
RIGHT PARENTHESIS MISSING AFTER '(DEB314O.R2.VH0.PCS.'
INPUT STREAM END-OF-FILE FOUND BEFORE END OF COMMAND
DFSMSDSS PROCESSING COMPLETE. HIGHEST RETURN CODE IS 0008
Thanks
Rameyshkanthan |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
fix the wrong DFDSS statement
lots of examples in the forum with the proper syntax |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
It also looks as though you are tryinng to create a new generation dataset - not version. to crate a new version you would have to code the explicit generation and the required version (Vnn) |
|
Back to top |
|
|
|