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
 
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: 1244
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: 965
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: 757
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 Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Partial color change of a field in CI... waseem0424 CICS 5 Fri Sep 29, 2017 7:56 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

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