I have my data like below: data abc; input alt_acc$ acc x; datalines; 2123 001 1 2234 001 0 2345 001 0 Y123 002 4 Y345 002 7 Y513 002 0 Z123 002 6 L123 003 0 L234 003 1 ; run; I want output like below: ------------------------------- alt_acc Acc x 2123 001 1 2234 001 0 Y123 002 4 Y345 002 7 Y513 002 0 L123 003 0 I want the records till my x value is zero for all accounts(acc).
... View more