Joined: 11 Jan 2006 Posts: 84 Location: Lower Saxony (DE)
Hello and good morning everybody,
in my JCL proc library I stored some members, let's call'em ALPHA001, BRAVO001, CHARLY01 - and some more.
I'd like do generate circa ten duplicates of them in this library - first of all without caring their content.
Thought I could use IEBCOPY for this that provides "Rename Member While Copying PDS To PDS".
So I tried
- both, with and withou continuation sign comma and / or dash.
Note: INLIB and OUTLIB are assigned to the same DSN, both with DISP=SHR.
Sorry, but I was not able to find really proper samples or a unambigous railroad diagram.
So I try and try and try - and error and error and error
» IEB137I CAN NOT SPECIFY DUPLICATE MEMBER NAMES FOR SELECT/EXCLUDE/RENAME
» IEB107I INVALID CONTINUATION
» IEB106I UNEQUAL PARENTHESIS
It seems one of my problems is the limitation of 72 chars each line.
But may I start coding the member names (old,new) in col 20 or so or must I start coding the following member name lines at a specific col further left?
And it seems the only way to be successful is to code a single copy statement for each duplicate.
Is there no other way to specify lots of selected source members and their renamed duplicates?
Joined: 11 Jan 2006 Posts: 84 Location: Lower Saxony (DE)
Joerg.Findeisen wrote:
Continuation sign is for ex an 'X' in col 72, see manual.
» Which manual? Where in the web can I find it / its PDF?
» Where is the "X" you mentioned documentated?
» What about the problem with IEB137I CAN NOT SPECIFY DUPLICATE MEMBER NAMES FOR SELECT/EXCLUDE/RENAME
Joined: 11 Jan 2006 Posts: 84 Location: Lower Saxony (DE)
Joerg.Findeisen wrote:
From DFSMSdfp Utilities manual
To continue the copy control statement, stop at a comma. Put any nonblank character in column 72 and start in column 16 on the next record.
Thanks, that was helpful, solves most of my problems / questions.
But unfortunately did not solve the question IEB137I
But this works o.k. this way:
Code:
COPY INDD=INLIB,OUTDD=OUTLIB
SELECT MEMBER=((ALPHA001,ALPHA002,R), X
(BRAVO001,BRAVO002,R), X
(CHARLY01,CHARLY02,R))
COPY INDD=INLIB,OUTDD=OUTLIB
SELECT MEMBER=((ALPHA001,ALPHA003,R), X
(BRAVO001,BRAVO003,R), X
(CHARLY01,CHARLY03,R))
COPY INDD=INLIB,OUTDD=OUTLIB
SELECT MEMBER=((ALPHA001,ALPHA003,R), X
(BRAVO001,BRAVO004,R), X
(CHARLY01,CHARLY04,R))
But unfortunately did not solve the question IEB137I
yes ... it did
what was not clear in the error message you received
Quote:
IEB137I CAN NOT SPECIFY DUPLICATE MEMBER NAMES FOR SELECT/EXCLUDE/RENAME
which is a different way of saying
CAN NOT SPECIFY MULTIPLE TIMES THE SAME MEMBER NAME IN A SELECT/EXCLUDE/RENAME CLAUSE
so you have no reason to complain