Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
my fault for providing a db2 solution to a 'potential' db2 inquiry
in the vsam forum.
as anyone with more than 2 days experience knows,
if we are talking about vsam and primary key,
then IDCAMS LISTCAT will provide the location of the primary key,
and from that,
one only needs to go to the vsam record stucture definition,
to determine what fields comprise the key.