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
 

 

How to change the all member name for PDS dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
LinkinPark
Warnings : 1

New User


Joined: 20 Nov 2005
Posts: 44
Location: DALIAN,CHINA

PostPosted: Mon Oct 09, 2006 7:37 am    Post subject: How to change the all member name for PDS dataset
Reply with quote

There is PDS dataset, first 3 char of all member name is ABC. I wanna change the ABC to DEF for all member of it... Kindly someone can show me how to do ?
Back to top
View user's profile Send private message

TizMe

New User


Joined: 05 Jan 2006
Posts: 72

PostPosted: Mon Oct 09, 2006 9:16 am    Post subject:
Reply with quote

If you have SAS you can use PROC PDS

Quote:

proc pds ddname=pdslib;
change ABC:=DEF:;
run;
Back to top
View user's profile Send private message
nityaibm

New User


Joined: 24 Sep 2006
Posts: 6

PostPosted: Tue Jul 03, 2007 4:54 pm    Post subject: Re: How to change the all member name for PDS dataset
Reply with quote

hi,

In the PDS,just enter 'R' (rename) beside the member name which you want to change the name of PDS





Regards,
Nitya
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: Tue Jul 03, 2007 7:13 pm    Post subject:
Reply with quote

Hello,

The requirement is to rename all members, not just one.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1224
Location: Israel

PostPosted: Tue Jul 03, 2007 8:19 pm    Post subject:
Reply with quote

Edit the PDS and just enter in the command line:
Code:
R ABC* DEF=====
Back to top
View user's profile Send private message
Phrzby Phil

Active Member


Joined: 31 Oct 2006
Posts: 962
Location: Richmond, Virginia

PostPosted: Tue Jul 03, 2007 8:39 pm    Post subject:
Reply with quote

Doesn't work for me.
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: Tue Jul 03, 2007 8:55 pm    Post subject:
Reply with quote

Hello,

Most likely a site-specific add-on. . . .
Back to top
View user's profile Send private message
UmeySan

Active Member


Joined: 22 Aug 2006
Posts: 743
Location: Germany

PostPosted: Wed Jul 04, 2007 1:51 pm    Post subject:
Reply with quote

Hi !

What's about using IEB-Utils like IEBCOPY or IEBUPDTE ???

Regards, UmeySan
Back to top
View user's profile Send private message
raam_kumar

New User


Joined: 25 Apr 2007
Posts: 44
Location: chennai, India

PostPosted: Wed Jul 04, 2007 5:58 pm    Post subject: Re: How to change the all member name for PDS dataset
Reply with quote

Hi

Please try this. i think it might be useful for you
//jobcard
//STEP01 EXEC PGM=IEBCOPY
//SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,5)
//SYSUT4 DD UNIT=SYSDA,SPACE=(CYL,5)
//IN DD DISP=SHR,DSN=
//OUT DD DISP=SHR,DSN=
//SYSPRINT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSIN DD *
COPY OUTDD=OUT,INDD=IN
SELECT MEMBER=(ABC12345,DEF12345,R)
SELECT MEMBER=(ABC12346,DEF12346,R)
SELECT MEMBER=(ABC12347,DEF12347,R)
SELECT MEMBER=(ABC12348,DEF12348,R)
/*
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm
No new posts FTP - JCL failed while passing FTP co... Suneetha1612 JCL & VSAM 12 Wed Nov 16, 2016 7:33 pm
No new posts To trim spaces in a pipe delimited da... Nish84 COBOL Programming 16 Mon Oct 10, 2016 1:54 pm


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