I have requirement to compare only a part of the key with the working storage variable
ie. There's one VSAM file whose key length is 40 bytes.
Each time I read a record, I move the key to a working storage
variable. When I next read the file , I have to compare few fields of
the key with the same fields that had been stored in the working
storage variable before.I want to avoid individual field comparisons
for this. So is partial comparison is possible ?
eg. the key length is 40 bytes but I need to compare only first 25
bytes of the key ..
ie. IF key(1:25) = work-key(1:25) ??
if so can plz please guide me in that and if possible give some reference links for the same.