Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

creating RLS VSAM file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
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    Post subject: creating RLS VSAM file
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

Active Member


Joined: 08 May 2006
Posts: 994
Location: Dublin, Ireland / Edinburgh, Scotland

PostPosted: Fri Jan 30, 2009 4:13 pm    Post subject:
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    Post subject:
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: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 30, 2009 5:56 pm    Post subject:
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    Post subject:
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: 8054
Location: East Dubuque, Illinois, USA

PostPosted: Fri Jan 30, 2009 7:13 pm    Post subject:
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: 2502
Location: Atlanta, Georgia, USA

PostPosted: Fri Jan 30, 2009 8:42 pm    Post subject: Re: creating RLS VSAM file
Reply with quote

Click below -

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

Site Director


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

PostPosted: Sat Jan 31, 2009 12:29 am    Post subject:
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    Post subject:
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    Post subject: Reply to: creating RLS VSAM file
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    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 11 Tue May 16, 2017 2:20 pm
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am
No new posts Occurrence of various strings within ... TS70363 JCL & VSAM 1 Thu Apr 27, 2017 8:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us