hi, i am generating .txt file with following code example Data test; input name $1-1 age $ 3-5 sex $ 6-7; cards; a m b 14 m c 15 m d 8 f e f ; run; data newtest; file "path.txt"; if missing(age) then do; want = catt(name,'|',age,' |',sex); put @1 want; end; else do; want=catt('|',name,age,sex); put want; end; run; i need to stop cursor i last observation of last column but in text file after last row cursor is moving to next line(one blank space) wright now iam placing cursor at last obs and using delete key this .txt file is entering in software it is not accepting if blank space is comming is there any way to stop cursor at last obs after completing of data
... View more