View previous topic :: View next topic
|
Author |
Message |
sjothimani
New User
Joined: 04 Apr 2006 Posts: 10
|
|
|
|
HI........
i was trying to copy a huge PDS to another using IEBCOPY with the selective copy option of IEBCOPY. I cant specify elements more than a line in the SELECT MEMBER feild. It says the following error,
IEB107I INVALID CONTINUATION
IEB118I CONTROL STATEMENT ERROR
IEB105I PARAMETER INVALID
IEB115I END OF FILE ON SYSIN
IEB151I JOB HAS TERMINATED WITH ERROR(S)
and my sysin card is
//SYSIN DD *
COPYOPER COPY OUTDD=OUT1
INDD=IN5
SELECT MEMBER=($AB,$CD,$EF,$GH,$IJ,
$KL,$LM)
/*
IN5 = specifies the input data set
OUT1 = specifies the output data set
I got a bigger list of members to be specified in the SELECT MEMBER option also I need it to be in a continous manner within a single SELECT MEMBER.
thanks
ram |
|
Back to top |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
Back to top |
|
|
pspreddy
New User
Joined: 14 Mar 2006 Posts: 24 Location: Chicago
|
|
|
|
If you are trying to copy all the members, can't we use MEMBER=(*) in that case. You may want to try it
Thanks
Shiva |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Ram,
I use something like this. Just add members as needed:
Code: |
//CMEM JOB (PACE),'COPYMEM',MSGCLASS=X,CLASS=C,
// NOTIFY=JSLEIG
//* ROUTE PRINT ACMC1
//*
//*********************************
//*
//***********************************
//STEPCPY EXEC PGM=IEBCOPY,REGION=4M
//SYSUT2 DD DISP=SHR,DSN=&SYSUID..TEMP.JCL
//SYSUT1 DD DISP=SHR,DSN=AC.PROD.CNTL
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
COPY INDD=SYSUT1,OUTDD=SYSUT2
SELECT MEMBER=AAA0101P, X
TRX101DP, X
TRX102DP, X
TRX103DP, X
TRX104DP |
The x must be in col 72. I forget if they have to continue in col 16. You could play is safe and use col 16 or you can experiment and try w/o 16.
You can also use ISPF 3.4 to create a list of members and use the SAVE cmd to create a dataset w/the member names; then edit it to look like the cntl cards shown.
Not sure of the syntax: SAVE your1-8chars or SAVE MEMBER your1-8chars. This produces a dataset containing the image of the screen contents. The DSN is yrTSOid.your1-8chars.MEMBER.
You can do the same with dataset lists, but use DATASET not MEMBER. |
|
Back to top |
|
|
|