View previous topic :: View next topic
|
Author |
Message |
amitsena
New User
Joined: 11 Dec 2008 Posts: 7 Location: Bangalore
|
|
|
|
A VSAM file is defined in multiple CICS regions with Rls option. Now i need to declare a physical file with "RLS IN USE --------(YES)" option so that I can open the file in multiple regions. Can you please let me know the option to be used while creating the file through IDCAMS command?
I have searched the forum, but still not able to get an answer.
Thanks in advance,
Amit Senapati |
|
Back to top |
|
|
Garry Carroll
Senior Member
Joined: 08 May 2006 Posts: 1193 Location: Dublin, Ireland
|
|
|
|
The IBM Redbook "CICS and VSAM Record Level Sharing: Implementation Guide", Section 6.2.3 should give you all you need.
Garry. |
|
Back to top |
|
|
amitsena
New User
Joined: 11 Dec 2008 Posts: 7 Location: Bangalore
|
|
|
|
Please help me in understanding the information given there, the LOG and BWO options don't help much. In fact i created a VSAM file with all my data and I could open it across all CICS regions. But the application programs were not able to read the file and the processing stops there. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
But the application programs were not able to read the file and the processing stops there. |
Can you give a little more to go on -- like the CICS response code on the READ command? Was it a READ command -- or a STARTBR? Just saying the programs couldn't read the file is not making use of all available information, and forces us to guess what is going on when you could very easily clarify by giving the data the system already provided to you. |
|
Back to top |
|
|
amitsena
New User
Joined: 11 Dec 2008 Posts: 7 Location: Bangalore
|
|
|
|
Since XPED is not supported, I am not able to check the return code.
There are two ways of starting the transaction that eventually reads the program. When i start the start the transaction by manually going to one of the CICS regions, the file can be read properly. But when there is an external interface(through ipjunk using DSN and port) triggered transaction, it fails to read the file. We are thinking defining a VSAM file that supports RLS will help resolve the issue.
Thanks,
Amit |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
But when there is an external interface(through ipjunk using DSN and port) triggered transaction, it fails to read the file. |
How do you know this? How do you know the program doesn't read the file and then have problems after the read is done?
Since the file reads normally when you manually start the transaction, if all the other pieces are set up correctly the file will read normally no matter how you start the transaction. Since you're saying the file is not reading normally (although this assertion is not yet supported), you need to look more closely at the process you're using to start the transaction. Something there isn't set up correctly. Don't blame VSAM when the file is perfectly readable when you do a CICS transaction manually -- VSAM isn't going to suddenly do something different just because your transaction starts differently. |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Since XPED is not supported, I am not able to check the return code. |
Of course you can. You do not need xped to check the return code. . . . People have been checking return codes since longer than xped has existed.
It takes a bit of work. . .
Actually, most organizations have standards that dictate the return code be checked after each vsam attempt and if not acceptable, the return code is reported and the code ends. . .
Possibly there is something i misunderstand |
|
Back to top |
|
|
amitsena
New User
Joined: 11 Dec 2008 Posts: 7 Location: Bangalore
|
|
|
|
According to the sys admin guys the storage class used for the VSAM should support CF cache set. I am working on creating VSAM with the storage class that supports CF cache set.
Is there any default storage class that I can use, or is it environment dependent?
Thanks,
Amit |
|
Back to top |
|
|
koppineedi
New User
Joined: 19 Sep 2007 Posts: 7 Location: chennai
|
|
|
|
Hi,
Please check with your Sys guys regarding the Storage class which needs to be used for RLS files. In our shop storage class for RLS and Non RLS files differ.
Thanks,
Haranadh. |
|
Back to top |
|
|
|