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
 

 

Vsam file updated to RLS disabled automatically

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
biswaranjan Parimanik

New User


Joined: 01 May 2015
Posts: 5
Location: INDIA

PostPosted: Fri May 01, 2015 12:43 pm    Post subject: Vsam file updated to RLS disabled automatically
Reply with quote

Hi,
We have a vsam file which is created STORAGECLASS(SCCICRLS) but later during the online process VSAM is RLS disabled and the file is not accessible hence causing failure reading it and also it shows logical vsam error while reading through file aid. We then delete this vsam and then recreate it and then it works fine.

So can anyone suggest me how can the RLS be disabled automatically during the online processing ?
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri May 01, 2015 2:08 pm    Post subject: Reply to: Vsam file updated to RLS disabled automatically
Reply with quote

Quote:
but later during the online process VSAM is RLS disabled


with the amount of info provided ( NOTHING )

You will have to wait for Psychic day ( Wednesday next week )
Back to top
View user's profile Send private message
biswaranjan Parimanik

New User


Joined: 01 May 2015
Posts: 5
Location: INDIA

PostPosted: Fri May 01, 2015 2:29 pm    Post subject: Vsam file updated to RLS disabled automatically
Reply with quote

Let me provide the full details.
There are few batch jobs which creates a vsam file with RLS enabled.

Code:
CLUSTER -                   
   (NAME(XXX.XXXX.XX.XX) - 
   INDEXED -               
   SHAREOPTIONS(2,3) -     
   STORAGECLASS(SCCICRLS) -
   LOG(NONE) -             
   NOERASE -               
   SPEED -                 
   NOWRITECHECK -           
   NOREUSE) -     


Then later on the day, Vsam file is being read by the cics program to read the contents of the data in it.
Then after sometime the program starts failing with S0C7 abend while reading the VSAM file.
After investigating we found that the VSAM file is not able to open in File aid and shows as Logical VSAM error and if we give the 'Selection criteria usage' as N in the File aid, it shows a Message as RLS disabled.

As a workaround, e then delete the vsam file and recreate the VSAM file with the above properties again and then it works fine.

We are trying to understand how can the RLS gets disabled when it as created correctly.

I have this much info right now with me.
Please let me know if anything further is required.

Code'd
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7230

PostPosted: Fri May 01, 2015 2:44 pm    Post subject: Reply to: Vsam file updated to RLS disabled automatically
Reply with quote

Please use the Code tags to preserve spacing, and the Preview button to check how a posting will look, before you use Submit.

Why do you think you'd get a S0C7 during a read? Think again.

What you have shown still tells us nothing. The most likely thing that makes it work after not working is deleting the data.

Define a dataset using this one as a model. Do a LISTCAT of the original dataset. When you get the failure, do another LISTCAT. Also do a VERIFY. Do a REPRO to the dataset you defined to receive the data at the point of failure.

If you're getting a S0C7, identify where that is happening.
Back to top
View user's profile Send private message
biswaranjan Parimanik

New User


Joined: 01 May 2015
Posts: 5
Location: INDIA

PostPosted: Fri May 01, 2015 3:25 pm    Post subject: Vsam file updated to RLS disabled automatically
Reply with quote

Hi Bill,

Thanks for the quick response.

These are the steps we have done:
Listcat of the vsam file before the cics region is down.
Backup of Vsam File
Delete and Define the Vsam File.
Repro the Vsam file from the backup file.
Listcat the Vsam file.
Open the Vsam file in all cics regions,

This works fine so we assume that this is not a Data issue.

Also just to add another point , we get a different failure from other system while accessing the VSAM file.

AN UNEXPECTED ERROR HAS OCCURRED WHILE ACCESSING
THE DCM CO SUBFILE (CO)
VSAM ERROR CODE X'089C'

When we try to open the file in File aid we get an message 'RLS Disabled'

Please let me know in you need any further information.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7230

PostPosted: Fri May 01, 2015 4:08 pm    Post subject: Reply to: Vsam file updated to RLS disabled automatically
Reply with quote

Is there a message number for that message?

Are you saying it is just a reference file that does not get updated?
Back to top
View user's profile Send private message
biswaranjan Parimanik

New User


Joined: 01 May 2015
Posts: 5
Location: INDIA

PostPosted: Fri May 01, 2015 4:30 pm    Post subject: Vsam file updated to RLS disabled automatically
Reply with quote

Hi Bill,

There is no message number just the VSAM error code we have.

Cics program call the file to read the contents and doesnot do any update.
Later when the cics regions are down, we have the batch jobs which creates this file from other files.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri May 01, 2015 6:25 pm    Post subject: Reply to: Vsam file updated to RLS disabled automatically
Reply with quote

speak to Your support to make available the sysouts of the started tasks of the cics regions involved.

until somebody looks at the above message nobody ( included Your support ) can do anything about the problem.
Back to top
View user's profile Send private message
biswaranjan Parimanik

New User


Joined: 01 May 2015
Posts: 5
Location: INDIA

PostPosted: Fri May 01, 2015 6:34 pm    Post subject: Vsam file updated to RLS disabled automatically
Reply with quote

Thanks Enrico, I have informed my support team about the approach.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri May 01, 2015 6:50 pm    Post subject: Reply to: Vsam file updated to RLS disabled automatically
Reply with quote

Quote:
Thanks Enrico, I have informed my support team about the approach.


anyway the problem should have been reported to Your support team to start with,
they know about Your organisation setup
we ( people spending time trying to help ) DO NOT
so it is just a waste of time for everybody,resulting in a useless delay in solving the problem
Back to top
View user's profile Send private message
Pete Wilson

Active User


Joined: 31 Dec 2009
Posts: 437
Location: London

PostPosted: Thu May 07, 2015 3:43 pm    Post subject:
Reply with quote

Just because an RLS Storclas exists doesn't mean it's set up correctly. It has to have the Coupling Facility structure in place to support it as well, and this has to be defined in the Storclas definition.

If you enter this command you'll be able to see if there is a structure in place:

D XCF,STR,STRNAME=VSAMRLS_SCCICRLS
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts CICS Roll back partially - Need to re... dwijadas CICS 4 Wed Nov 16, 2016 4:30 pm
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm


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