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

Vsam file updated to RLS disabled automatically


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 01, 2015 2:08 pm
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri May 01, 2015 2:44 pm
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
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

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Fri May 01, 2015 4:08 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 01, 2015 6:25 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Fri May 01, 2015 6:50 pm
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 Member


Joined: 31 Dec 2009
Posts: 581
Location: London

PostPosted: Thu May 07, 2015 3:43 pm
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 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 2
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