Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 4648
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 Storing huge volume of data, compare ... Pradeep K M All Other Mainframe Topics 3 Mon Jan 16, 2017 5:08 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Two Selects in a single select query Rohit Umarjikar DB2 1 Fri Nov 04, 2016 8:46 pm
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts Sequence number add in SORT pshongal SYNCSORT 3 Fri Sep 02, 2016 3:32 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us