View previous topic :: View next topic
|
Author |
Message |
Gurumanoj Gurusamy
New User
Joined: 11 Nov 2010 Posts: 22 Location: Mumbai
|
|
|
|
Hi All,
Due to unsuccessful execution of a job our ESDS(VSAM) file is getting corrupted and I am unable to use it. Do I able to rebuild its index and use it through any mainframe IBM Utility.
Many Thanks |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
I guess you realise now that you should back it up first.
Is it fixed or variable length?
I'm not aware of a utility to fix it.
What's broken?
When you say "Index" does it have an alternate index?
Otherwise, it just has RBA's (Relative Byte Addresses).
Bill |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1787 Location: Bloomington, IL
|
|
|
|
Given that an ESDS does not have or use an index, it seems unlikely. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
You'll have to give a lot more information.
What is the failure in the job (is it to do with the file, or is the file just not closed?)?
What failure do you get when you try to "use" it?
What particular index do you want to build? For an ESDS? Is it an ESDS, or KSDS?
Etc... |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Explain/define "corrupted". . . . |
|
Back to top |
|
|
Gurumanoj Gurusamy
New User
Joined: 11 Nov 2010 Posts: 22 Location: Mumbai
|
|
|
|
Thanks for your response.
We have an automated job which runs continuously through out the day. It process the incoming request and create an entry in ESDS VSAM file. Sometimes due to some storage issue or Environment issue automated job will fail unexpectedly. At that time its Index file is getting corrupted and we are unable to use it.
We need to rebuid its index for other job's processing. Also I belive this issue is happening due to improper file close.
Many Thanks |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
ESDS files do not contain indices, unless it has an Alternate Index (although this is rare).
How does the RBA get corrupted?
Normally, writes to an ESDS are appended to the file.
Is this being done by Batch COBOL?
Are they fixed or variable length records?
Please explain exactly what's happening....
Bill |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
At that time its Index file is getting corrupted and we are unable to use it. |
You can repeat this many times and still provide no useful information to those who would help. . . .
Why do you believe there is any "corruption"? If you cannot or will not explain what is happening, we will probably not be able to help. |
|
Back to top |
|
|
Gurumanoj Gurusamy
New User
Joined: 11 Nov 2010 Posts: 22 Location: Mumbai
|
|
|
|
An automated job run an exe file of Dialogue Tool(Document Composer) through out the day. It get its input through MQ and create partially composed document where it stored under Sort data and Sort Index file has the index to Sort Data.
Due to unexpected error like environment problem or storage problem, automated job is getting stoped in between. When we tried to use the created sort Index and Sort data in next step, received information as Sort Index Correpted.
I belive this is happening due to the improper file close. Please help |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19243 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
When we tried to use the created sort Index and Sort data in next step, received information as Sort Index Correpted. |
What generated this? Some utility? Some application program? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
If it is a file from a software product, you'd maybe be best contacting the vendor. It may well just be an ESDS holding data with its own proprietary file-system inside it. Check the manual for advice.
Also ask them about how to avoid the failures. |
|
Back to top |
|
|
Gurumanoj Gurusamy
New User
Joined: 11 Nov 2010 Posts: 22 Location: Mumbai
|
|
|
|
Its an application Dialogue Extream Tool |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Well, my bet is that there is nothing you can do about it then, except contact the vendor.
The ESDS is probably just a chunk of disk space, then, using RBA access, the software is storing its own fancy format that no-one else knows about.
Manual/vendor. Avoid the crashes as well, while you're talking to them. |
|
Back to top |
|
|
|