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
 

 

JCL to copy (several , not all) member (in PDS)

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

New User


Joined: 17 Jan 2009
Posts: 4
Location: Taipei, Taiwan

PostPosted: Thu Feb 19, 2009 2:30 pm    Post subject: JCL to copy (several , not all) member (in PDS)
Reply with quote

I want to use JCL to copy (several , not all) member (in PDS) which name has special character .

for exapmle ."dFSDF2 ( has quote ) .

i use ICETOOL ,but JCL ERROR.

which tool can do that !?


---
thx
Back to top
View user's profile Send private message

Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Feb 19, 2009 2:32 pm    Post subject:
Reply with quote

IEBCOPY is standard for copying PDS members.

Garry.
Back to top
View user's profile Send private message
afom

New User


Joined: 17 Jan 2009
Posts: 4
Location: Taipei, Taiwan

PostPosted: Thu Feb 19, 2009 2:40 pm    Post subject:
Reply with quote

IEBCOPY JCL
-----------------------
//TEST03 JOB (AFOM),,MSGCLASS=X,MSGLEVEL=(1,1),CLASS=A
//*
//STEP1 EXEC PGM=IEBCOPY,REGION=512K
//SYSPRINT DD SYSOUT=*
//IN DD DSN=IMS2.TFORMAT,DISP=SHR
//OUT DD DSN=C2Y2.TFORMAT.BK,DISP=SHR
//SYSUT3 DD UNIT=SYSDA,SPACE=(TRK,(50))
//SYSUT4 DD UNIT=SYSDA,SPACE=(TRK,(50))
//SYSIN DD *
COPY INDD=IN,OUTDD=OUT
SELECT MEMBER=((."DFSDF1,."DFSDF1,R))
//*

-----------------------
BUT I GOT RC=08
Back to top
View user's profile Send private message
Garry Carroll

Active Member


Joined: 08 May 2006
Posts: 992
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Thu Feb 19, 2009 2:47 pm    Post subject:
Reply with quote

How did you get a PDS member with ." ? These special characters are invalid.

Garry.
Back to top
View user's profile Send private message
afom

New User


Joined: 17 Jan 2009
Posts: 4
Location: Taipei, Taiwan

PostPosted: Thu Feb 19, 2009 2:51 pm    Post subject:
Reply with quote

In fact, this member are format file of MFS
generated by MFS compile.

i want to backup this file before change proecss
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Thu Feb 19, 2009 8:22 pm    Post subject:
Reply with quote

Hello,

You might consider backing up the entire pds instead of just the members with a double-quote in the name.

If you backup the entire pds, you need to restore the backup to a new pds of the same definition and make sure these members are still usable.

One thing worse than no backup is believing there is a backup when there is just some unusable file. Until the backup is restored and you demonstrate all is well, all that would exist is a file of questionable content.
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 Browsing member from any PDS shiitiizz CLIST & REXX 7 Wed Mar 08, 2017 1:17 am
No new posts Bind plan as a member to another bind... rexx77 DB2 0 Thu Feb 16, 2017 2:02 am
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts HALDB data refresh/copy from producti... vineetanand2007 IMS DB/DC 1 Mon Jan 02, 2017 11:16 am
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm


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