- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Cobol index file corrupt
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2003 01:34 AM
тАО05-26-2003 01:34 AM
I've got a corrupt index file on Unix not HPUX, but I believe this should make no difference.
MicroFocus Cobol 4.0
OS Solaris 6
Has someone got a Cobol program which can recreate this index file from the data file.
I've seen some docs on ITRC saying that this should be possible, but there are no commands given.
Regards,
Robert-Jan.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2003 04:10 AM
тАО05-26-2003 04:10 AM
SolutionYou should be able to do this with some sort tool.
I have done this on mainframes, where you take the sequential file as input and an ISAM file as output with the appropiate parameters set for the sort run.
I do not know, whether this is possible on Unix, but basically it should be. If yes i also would be interested, which tool it is.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2003 10:48 AM
тАО05-26-2003 10:48 AM
Re: Cobol index file corrupt
try using fhrebuild
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2003 10:53 AM
тАО05-26-2003 10:53 AM
Re: Cobol index file corrupt
try this address for more details:
http://docs.hp.com/cgi-bin/otsearch/getfile?id=/hpux/onlinedocs/dev/cobol/fh/fhutil.htm&searchterms=fhrebuild&queryid=20030526-124926
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 12:26 AM
тАО05-27-2003 12:26 AM
Re: Cobol index file corrupt
Thanks for your support, I will look into these suggestions.
Alexander did you preform this rebuild on an IBM mainframe ?
I will keep this question open for a while. It is a productional problem.
Please all of you feel free to add suggestions.
Kind regards.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2003 08:04 AM
тАО05-27-2003 08:04 AM
Re: Cobol index file corrupt
You Should be able to use micro focus's fhrebuild utility: >whence fhrebuild
/opt/cobol/bin/fhrebuild
I've attached a short description of how I've rebuilt isam files on our HPUX system. Hope this helps!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-12-2003 04:22 AM
тАО06-12-2003 04:22 AM
Re: Cobol index file corrupt
Thanks for your support Alexander, Julio and Scott.
Kind regards,
Robert-Jan.