View previous topic :: View next topic
|
Author |
Message |
Shakila
New User
Joined: 16 Jan 2007 Posts: 11 Location: Noida
|
|
|
|
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 |
|
|
nuthan
Active User
Joined: 26 Sep 2005 Posts: 146 Location: Bangalore
|
|
|
|
As per my knowledge we can't create alias for a PDS Member. |
|
Back to top |
|
|
nuthan
Active User
Joined: 26 Sep 2005 Posts: 146 Location: Bangalore
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
Shakila
New User
Joined: 16 Jan 2007 Posts: 11 Location: Noida
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
ALXRPDSC is a freeware of SSC, INC., and is documented here (took me 10 seconds to find it using Google).
O. |
|
Back to top |
|
|
Shakila
New User
Joined: 16 Jan 2007 Posts: 11 Location: Noida
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
Shakila
New User
Joined: 16 Jan 2007 Posts: 11 Location: Noida
|
|
|
|
Hi Enrico,
Thank you for your advice. I will stop my work regarding this issue. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
Shakila
New User
Joined: 16 Jan 2007 Posts: 11 Location: Noida
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10888 Location: italy
|
|
|
|
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 |
|
|
|