View previous topic :: View next topic
|
Author |
Message |
biswaranjan Parimanik
New User
Joined: 01 May 2015 Posts: 5 Location: INDIA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
biswaranjan Parimanik
New User
Joined: 01 May 2015 Posts: 5 Location: INDIA
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
biswaranjan Parimanik
New User
Joined: 01 May 2015 Posts: 5 Location: INDIA
|
|
|
|
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 |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
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 |
|
|
biswaranjan Parimanik
New User
Joined: 01 May 2015 Posts: 5 Location: INDIA
|
|
|
|
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 |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
biswaranjan Parimanik
New User
Joined: 01 May 2015 Posts: 5 Location: INDIA
|
|
|
|
Thanks Enrico, I have informed my support team about the approach. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
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 |
|
|
Pete Wilson
Active Member
Joined: 31 Dec 2009 Posts: 581 Location: London
|
|
|
|
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 |
|
|
|