IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to create an alias to a member of a PDS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Shakila

New User


Joined: 16 Jan 2007
Posts: 11
Location: Noida

PostPosted: Thu Oct 11, 2007 4:04 pm
Reply with quote

How to create an alias to a member of a PDS?

I need syntax to create an alias to a member of a PDS.

Looking forward for your reply
Back to top
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Thu Oct 11, 2007 4:06 pm
Reply with quote

As per my knowledge we can't create alias for a PDS Member.
Back to top
View user's profile Send private message
nuthan

Active User


Joined: 26 Sep 2005
Posts: 146
Location: Bangalore

PostPosted: Thu Oct 11, 2007 4:09 pm
Reply with quote

Try this

RENAME 'pds.name(oldname)' 'pds.name(newname)' ALIAS

The ALIAS option specifies that "newname" is to be an alias, rather than a replacement.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Thu Oct 11, 2007 4:11 pm
Reply with quote

wow what a quick change of mind...
sometimes the keyboard is faster than the brain :-)

but... beware
if i remember correctly for load modules the only way is
thru linkage_editor/binder
Back to top
View user's profile Send private message
Shakila

New User


Joined: 16 Jan 2007
Posts: 11
Location: Noida

PostPosted: Thu Oct 11, 2007 4:19 pm
Reply with quote

Hi All,

Thanks for your reply.

I got a Rexx code to do this operation but i do no how to implement it...
Can anyone help me.

Code : ALXRPDSC('ALIAS','DDNAME','MEMBER','NEW_MEMBER')

ALXRPDSC('ALIAS','LOADLIB','NEWIBALL','IEBIBALL')
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Thu Oct 11, 2007 4:37 pm
Reply with quote

Quote:
I need syntax to create an alias to a member of a PDS.


You asked and You got reasonable replies

asking how to use a home-written tool well...
You should explain us too many things

it would be better to ask the person
who provided You with the tool
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Thu Oct 11, 2007 4:43 pm
Reply with quote

ALXRPDSC is a freeware of SSC, INC., and is documented here (took me 10 seconds to find it using Google).

O.
Back to top
View user's profile Send private message
Shakila

New User


Joined: 16 Jan 2007
Posts: 11
Location: Noida

PostPosted: Thu Oct 11, 2007 7:34 pm
Reply with quote

nuthan wrote:
Try this

RENAME 'pds.name(oldname)' 'pds.name(newname)' ALIAS

The ALIAS option specifies that "newname" is to be an alias, rather than a replacement.



Hi,

I tired with RENAME Command but alias is creating with the name of ??????

rename 'xxxxxx.assem.load(add)' 'xxxxxx.assem.load(mul)' alias

Name Prompt Alias-of Size TTR AC AM RM
_____ MUL ???????? 00000068 000044 ?? 24 24
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Thu Oct 11, 2007 7:49 pm
Reply with quote

It would be a pleasure for us to see that a response is being read,
but, alas, this is not the case
I WARNED YOU ABOUT PROBLEMS WITH LOAD MODULES,
but You did not care
the idcams rename is not smart enough to carry in the directory
entry all the info for a load module
Back to top
View user's profile Send private message
Shakila

New User


Joined: 16 Jan 2007
Posts: 11
Location: Noida

PostPosted: Thu Oct 11, 2007 7:53 pm
Reply with quote

Hi Enrico,

Thank you for your advice. I will stop my work regarding this issue.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Thu Oct 11, 2007 8:01 pm
Reply with quote

Quote:
I will stop my work regarding this issue.


No need to stop Your work,
using the alias facility for member names is something not
usually needed at the general level
and must/should be planned with system support
Back to top
View user's profile Send private message
Shakila

New User


Joined: 16 Jan 2007
Posts: 11
Location: Noida

PostPosted: Thu Oct 11, 2007 8:17 pm
Reply with quote

Hi Enrico,

I am working as System Programmer and I have knowledge of assembler and rexx too.....

I having this doubt for the past two days and then I decided to post this in forum thatswhy I post and I got an idea also.

I hope it will help me in my endeavour. Thanks a lot for your quick response:)
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10888
Location: italy

PostPosted: Thu Oct 11, 2007 8:51 pm
Reply with quote

Hi Shakila,

You will certainly find the alias technique useful
installing, or better upgrading program products,

Usually for PP, the convention is to put in the dataset names
a reference to, speaking in IBM terminology,
Version, Release, Modification-Level

for example for DB2 it would be something like "DSN610.SDSNEXIT"

Nobody would like to change the production Jcl to reflect a DB2
change to "DSN710.SDSNEXIT"

this is where the alias technique will help

You might define a standard of naming the libraries without the VRM reference
"DSN.SDSNEXIT"

at cutover from one version/release to the new one
a simple realiasing would make all Your job streams use the new environment
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How can I add/create a new INIT(initi... TSO/ISPF 2
No new posts How to create a list of SAR jobs with... CA Products 3
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts How to copy the -1 version of a membe... TSO/ISPF 4
No new posts Searching for a member but don't know... TSO/ISPF 6
Search our Forums:

Back to Top