Hi ,
For a ck_nbr value lets say there are two ckd_amt values. How can I sum those and get inside a data output stream under one ck_nbr value.
i.e
ck_nbr = 0001 & ckd_amt = 100 ,ckd_amt = 200 & ck_date = 01/01/01
want to sum ckd_amt = > 100 + 200 = 300
put stream out-stream unformatted
ck_nbr "|" ckd_amt ck_date skip. =>
this should give me :
0001 | 300 | 01/01/01 ... How is this possible ? Any functions etc. Thanks for any help..
For a ck_nbr value lets say there are two ckd_amt values. How can I sum those and get inside a data output stream under one ck_nbr value.
i.e
ck_nbr = 0001 & ckd_amt = 100 ,ckd_amt = 200 & ck_date = 01/01/01
want to sum ckd_amt = > 100 + 200 = 300
put stream out-stream unformatted
ck_nbr "|" ckd_amt ck_date skip. =>
this should give me :
0001 | 300 | 01/01/01 ... How is this possible ? Any functions etc. Thanks for any help..