Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AS400 Cobol - How to define a disjoint key

Status
Not open for further replies.

rookie

Programmer
Oct 27, 1998
14
US
I have a need to define an alternate key where the key parts are not contigous. Can someone point me in the right direction?
 
Rookie -

I don't believe what you want to do is possible. The alternate key phrase only allows one data name.

One approach I've seen taken to handle this is to create an alternate key field using redundant data elements. It's ugly and requires extra space, but . . .

Glenn
Brainbench MVP for COBOL II
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top