Hi,
We can use operators AND/OR (in position 16:18) to specify logical relationship for Record Identification codes of an input record. I understood in what cases we use AND operator, but I couldn't understand in what cases one can use OR operator. I would be highly thankful if someone can help me in understanding this with a practical example.
Thanks in advance.
Regards
Shruti.
Software/Hardware used:
ASKED:
May 3, 2009 11:59 AM
UPDATED:
May 6, 2009 7:06 AM
Record Identification codes?
Oldtech eh?
lets say you have a file where byte 1 is the type of … account
1= sales
2 = purchase
3 = nominal
and you want a list of all sales or purchase accounts
ID = 01 when byte 1=1
OR byte 1=2
calcs..
if 01 then print
else
ignore