W dniu 30.07.2021 o 19:35, Sri h Kolusu pisze:
3. I found another mystery, which seems to be APARable:
But this statement gives zero records. Note, I added "OR" conditions, so
   it cannot narrow the output.

Radoslaw,

I would respectfully disagree with that statement. I explained the quirks
of having Variable record lengths have on the comparison tests.  Use the
control cards that I showed and if you are still NOT getting the right
results, then please open a case with IBM support.
IMHO you wouldn't need that, but just in case !

Sri,

Thank you for your explanations. VLSCMP solved the issue.
The trick was related to variable length of records.
However I sustain that for fixed length (or long enough variable) records adding conditions using OR cannot narrow the output. In other words one cannot less records than before adding conditions.
Nevermind, thank you again!


--
Radoslaw Skorupka
Lodz, Poland

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to