Problem solve Get help with specific problems with your technologies, process and projects.

AIX processing

My CICS program is abending to corrupt alternate index of a file. How do I find out if the index of a file is corrupt?
If your CIS transaction is abending because it is attempting to read a VSAM KSDS record via an alternate index, then it's the AIX that is the problem. You MUST investigate WHY this is becoming corrupt.

If the AIX is simply out of date (for example, you have deleted the base record and the AIX is not defined as upgradeable), then your application is at fault if it has not been coded to support this simple error case.

I don't think you can do any sort of operation within the CICS environment to detect a corrupt or damaged AIX save doing a browse on all the records in the AIX (and so reading them all) which will be a long job and have access considerations during the browse.

Have a look in the VSAM manuals for AIX processing and use of the VERIFY (amongst others) AMS command.

Robert Harris
CICS Technical Strategist -- CICS expert at Search390.com

Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our .VO7aaqqaAFk.0@/search390>discussion forums.

Dig Deeper on IBM system z and mainframe systems

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.