Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
specify huge number of members in the select list of IEBCOPY

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
sjothimani

New User


Joined: 04 Apr 2006
Posts: 10

PostPosted: Tue Apr 18, 2006 8:41 pm    Post subject: specify huge number of members in the select list of IEBCOPY
Reply with quote

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
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Tue Apr 18, 2006 9:30 pm    Post subject: Re: specify huge number of members in the select list of IEB
Reply with quote

Make sure you are following the appropriate rules for continuation:

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/dgt1u104/3.5.2.2?SHELF=&DT=19990113105507&CASE=

Also, you can use one SELECT statement per member, if desired:

COPY OUTDD=OUT1,INDD=IN5
SELECT MEMBER=($AB)
SELECT MEMBER=($CD)
...
SELECT MEMBER=($ZZ)
Back to top
View user's profile Send private message
pspreddy

New User


Joined: 14 Mar 2006
Posts: 24
Location: Chicago

PostPosted: Thu Apr 20, 2006 1:32 am    Post subject:
Reply with quote

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
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Sat Apr 22, 2006 6:50 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Historical/statistical details for me... elixir1986 TSO/ISPF 13 Wed Aug 30, 2017 9:02 pm
No new posts Can we limit length in concatenation ... balaji81_k DB2 7 Tue Aug 22, 2017 2:50 am
No new posts Select numeric portion from CHAR data... balaji81_k DB2 6 Sat Aug 19, 2017 1:51 am
No new posts Profile changed to NUMBER ON STD (fro... Martylin TSO/ISPF 1 Thu Aug 03, 2017 9:14 am
No new posts SQL - select data available in index Nileshkul DB2 3 Mon Jun 26, 2017 1:30 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us