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 create an alias to a member of a PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How to create an alias to a member of a PDS
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    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu Oct 11, 2007 4:11 pm    Post subject: Reply to: How to create an alias to a member of a PDS
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    Post subject: Hi All, Thanks for your reply.....I got a Rexx code....
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu Oct 11, 2007 4:37 pm    Post subject: Reply to: How to create an alias to a member of a PDS
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: 2360
Location: Israel

PostPosted: Thu Oct 11, 2007 4:43 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu Oct 11, 2007 7:49 pm    Post subject: Reply to: How to create an alias to a member of a PDS
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    Post subject: Hi Enrico
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu Oct 11, 2007 8:01 pm    Post subject: Reply to: How to create an alias to a member of a PDS
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    Post subject: Hi Enrico
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10375
Location: italy

PostPosted: Thu Oct 11, 2007 8:51 pm    Post subject: Reply to: How to create an alias to a member of a PDS
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    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 How to create issuer certificate? :'( vasanthz All Other Mainframe Topics 1 Sat Nov 18, 2017 5:14 am
No new posts Create procedure issues -628 when add... chandraBE DB2 1 Mon Sep 18, 2017 12:16 pm
No new posts How do I create a mainframe monitorin... anjali.bisht All Other Mainframe Topics 4 Fri Sep 01, 2017 2:20 pm
This topic is locked: you cannot edit posts or make replies. rexx to create a tso command Bharath Vikraman CLIST & REXX 1 Tue Aug 08, 2017 3:32 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am

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