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
 

 

ESDS File getting Corrupted

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

New User


Joined: 11 Nov 2010
Posts: 22
Location: Mumbai

PostPosted: Tue Jul 19, 2011 2:17 am    Post subject: ESDS File getting Corrupted
Reply with quote

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
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Jul 19, 2011 2:22 am    Post subject: Reply to: ESDS File getting Corrupted
Reply with quote

I guess you realise now that you should back it up first. icon_sad.gif

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
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1738
Location: Bloomington, IL

PostPosted: Tue Jul 19, 2011 2:24 am    Post subject:
Reply with quote

Given that an ESDS does not have or use an index, it seems unlikely.
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7230

PostPosted: Tue Jul 19, 2011 2:24 am    Post subject: Reply to: ESDS File getting Corrupted
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Tue Jul 19, 2011 2:25 am    Post subject:
Reply with quote

Hello,

Explain/define "corrupted". . . .
Back to top
View user's profile Send private message
Gurumanoj Gurusamy

New User


Joined: 11 Nov 2010
Posts: 22
Location: Mumbai

PostPosted: Tue Jul 19, 2011 2:28 am    Post subject: Hi Ben
Reply with quote

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
View user's profile Send private message
Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2502
Location: Atlanta, Georgia, USA

PostPosted: Tue Jul 19, 2011 2:36 am    Post subject: Reply to: ESDS File getting Corrupted
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Tue Jul 19, 2011 2:41 am    Post subject:
Reply with quote

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
View user's profile Send private message
Gurumanoj Gurusamy

New User


Joined: 11 Nov 2010
Posts: 22
Location: Mumbai

PostPosted: Tue Jul 19, 2011 2:45 am    Post subject:
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


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

PostPosted: Tue Jul 19, 2011 2:59 am    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7230

PostPosted: Tue Jul 19, 2011 3:10 am    Post subject:
Reply with quote

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
View user's profile Send private message
Gurumanoj Gurusamy

New User


Joined: 11 Nov 2010
Posts: 22
Location: Mumbai

PostPosted: Tue Jul 19, 2011 3:10 am    Post subject:
Reply with quote

Its an application Dialogue Extream Tool
Back to top
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7230

PostPosted: Tue Jul 19, 2011 3:17 am    Post subject:
Reply with quote

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
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