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

How to dissociate to associated files in VSAM linking


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

New User


Joined: 19 Jun 2007
Posts: 11
Location: bangalore

PostPosted: Sat Jun 30, 2007 12:06 pm
Reply with quote

Hi,

I am facing an issue in opening a vsam file.The problem is there is a VSAM file having some production data and to test version of the same vsam file in two different test areas for testing purpose.
When given a command listc en(/) all just opposite to the test file one I get to see the associated test file two but when given the same command for the test file two I still see the associated file as test file two not one.
so the areas of concern for me are:
1.why is the command not acting vice-verse i.e. while given with file two ideally it should show file one but that's not happening.
2.How to dissociate to associated files like the case mentioned.
Looking forward to a solution ASAP.
Thanks,
Neha
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Sat Jun 30, 2007 12:19 pm
Reply with quote

Provide a LISTCAT of both files, then we can see the problem too.
Back to top
View user's profile Send private message
nehadixit25

New User


Joined: 19 Jun 2007
Posts: 11
Location: bangalore

PostPosted: Mon Jul 02, 2007 2:11 pm
Reply with quote

Hi,

Thanks for the reply.
I could see that the I have alternate index created for the file two while alternate index for file one is missing.so is it like I need to create alternate index for file one & modify the path of file two.How do i go about modifying the path file for file two.Is it simple delete of the path file & create it.
Thanks,
Neha
Back to top
View user's profile Send private message
nehadixit25

New User


Joined: 19 Jun 2007
Posts: 11
Location: bangalore

PostPosted: Mon Jul 02, 2007 2:45 pm
Reply with quote

To elaborate more on the problem it is like this:-

A VSAM file in one test region is opening but the same VSAM file in other test region is not opening.
TEST region one:-AAAA.TO.VSAM1
TEST region two:-AAAA.TM.VSAM1

so given the file .to. is opening while .TM .is not opening.
Please suggest the probable solution.

Thanks,
Neha
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Jul 02, 2007 5:09 pm
Reply with quote

Neha,

Quote:
When given a command listc en(/) all just opposite to the test file one I get to see the associated test file two but when given the same command for the test file two I still see the associated file as test file two not one.


How did you associate two vsam files? Moreover your post says, these two vsams are in different regions.
Back to top
View user's profile Send private message
nehadixit25

New User


Joined: 19 Jun 2007
Posts: 11
Location: bangalore

PostPosted: Mon Jul 02, 2007 6:28 pm
Reply with quote

Hi Murali,

By different regions I mean tesb & tes3 test regions.
By Associating VSAM files I mean LIke I have a production File for which I have two test versions one operating in TES3 other in TESB with diiferent names but pointing to same kind of data.
By this I mean the testing for the production file can be done in two regions independent of each other.
Looking for ward for a reply.

Thanks,
Neha
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1436
Location: Bangalore,India

PostPosted: Mon Jul 02, 2007 6:40 pm
Reply with quote

Neha,

Quote:
but pointing to same kind of data.

Meaning both has same data.

Quote:
By this I mean the testing for the production file can be done in two regions independent of each other.

So total of three vsam (1 prod + 2 tests) independent to each other and in diff regions.

Quote:
just opposite to the test file one I get to see the associated test file two

Wondering how? Could it be possible to attach LISTCAT ...... data of both the files.
Back to top
View user's profile Send private message
nehadixit25

New User


Joined: 19 Jun 2007
Posts: 11
Location: bangalore

PostPosted: Tue Jul 03, 2007 8:28 pm
Reply with quote

Not dependent on each other.
I mean they are independent but in a way linked like if I take the last qualifier of the file & check for the name in tes3 region I get the file name same is the case in tesb i.e. I will get the testb nam eof the file.
let me know if any issues.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Tue Jul 03, 2007 9:52 pm
Reply with quote

May I suggest that when an AIX or PATH was defined, that the original truenames were perhaps overlooked.
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 Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts Compare 2 files(F1 & F2) and writ... JCL & VSAM 8
No new posts Write line by line from two files DFSORT/ICETOOL 7
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts Compare only first records of the fil... SYNCSORT 7
Search our Forums:

Back to Top