Hello, I have the following query but not sure how to get accum based on if yytmp_value1 = "cc" is true.. Thanks in advance for your help.
for each yytmp no-lock break by yytmp_addr:
ACCUMULATE yytmp_coop (total by yytmp_addr).
if last-of yytmp_addr then
display
yytmp_addr
(accum total by yytmp_addr yytmp_coop)
/* I also need to show here (accum total by yytmp_addr yytmp_coop) if yytmp_value1 = "cc" as well but not sure how to*/
end.
for each yytmp no-lock break by yytmp_addr:
ACCUMULATE yytmp_coop (total by yytmp_addr).
if last-of yytmp_addr then
display
yytmp_addr
(accum total by yytmp_addr yytmp_coop)
/* I also need to show here (accum total by yytmp_addr yytmp_coop) if yytmp_value1 = "cc" as well but not sure how to*/
end.