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

creating RLS VSAM file


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
amitsena

New User


Joined: 11 Dec 2008
Posts: 7
Location: Bangalore

PostPosted: Fri Jan 30, 2009 10:59 am
Reply with quote

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
View user's profile Send private message
Garry Carroll

Senior Member


Joined: 08 May 2006
Posts: 1193
Location: Dublin, Ireland

PostPosted: Fri Jan 30, 2009 4:13 pm
Reply with quote

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
View user's profile Send private message
amitsena

New User


Joined: 11 Dec 2008
Posts: 7
Location: Bangalore

PostPosted: Fri Jan 30, 2009 5:51 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 30, 2009 5:56 pm
Reply with quote

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
View user's profile Send private message
amitsena

New User


Joined: 11 Dec 2008
Posts: 7
Location: Bangalore

PostPosted: Fri Jan 30, 2009 7:05 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8697
Location: Dubuque, Iowa, USA

PostPosted: Fri Jan 30, 2009 7:13 pm
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2501
Location: Atlanta, Georgia, USA

PostPosted: Fri Jan 30, 2009 8:42 pm
Reply with quote

Click below -

www.redbooks.ibm.com/abstracts/sg246105.html
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jan 31, 2009 12:29 am
Reply with quote

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 icon_confused.gif
Back to top
View user's profile Send private message
amitsena

New User


Joined: 11 Dec 2008
Posts: 7
Location: Bangalore

PostPosted: Mon Feb 02, 2009 12:00 pm
Reply with quote

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
View user's profile Send private message
koppineedi

New User


Joined: 19 Sep 2007
Posts: 7
Location: chennai

PostPosted: Tue Feb 03, 2009 10:06 am
Reply with quote

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
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 -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top