View previous topic :: View next topic
|
Author |
Message |
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
In my site i have seen alias referring to datasets. The alias remains the same even when the dataset that is referred changes. I tried creating an alias but was not able to create the same. I searched and googled but coudn't get a JCL. I need a JCL to create an alias for a dataset. |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Aaru,
Quote: |
referring to datasets |
You mean flat files.
Quote: |
In my site i have seen |
Why dont you speak with your team/shop people and let us know how are you doing the same? |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Quote: |
You mean flat files. |
No, PDS. Let me explain. I have an alias HLQ.XXXX.PDS. When i open this PDS HLQ.YYYY.CYCLE.ZZZZ opens with all the members. We keep creating new datasets with the new CYCLE no but retain the same alias name. I want to know how this is done?
Quote: |
Why dont you speak with your team/shop people and let us know how are you doing the same? |
Is alias not a general term? I guess most of the shops would use this and i dont think this is site-specific. Sure I will wait for few more replies and shall ask my shop people after that.
Thanks murali for the details. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Why don' t You take a look at the idcams documentation ??
regards
e.s |
|
Back to top |
|
|
Aaru
Senior Member
Joined: 03 Jul 2007 Posts: 1287 Location: Chennai, India
|
|
|
|
Thanka a lot enrico. I tried with IDCAMS and it worked.
Code: |
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN DD *
DEFINE ALIAS (NAME(HLQ.ALIAS) -
RELATE(HLQ.TEST.COBO1))
/*
|
|
|
Back to top |
|
|
|