(1) I have a column of data that looks has either a positive amount or a negative number. The data is suppose to be formatted 12.2 For example: FRED 000002300086 BARNEY -99999999999 Fred's amount = 23,000.86 and Barney's amount = -99999999.99 The Variable Name that I am having trouble with is: TotalRewardCash shown below. (2) A second question I have is the Variable PeriodId is yyyymmdd and I would like to read it in as a date, but couldn't find an ebcdic format that would work properly. DATA CCARD_RAW_DATA; INFILE COMMCARD; INPUT @1 ReferenceNumber $EBCDIC12. @13 CustomerID $EBCDIC12. @25 BankId $EBCDIC12. @37 PeriodId $EBCDIC8. @135 TotalRewardCash S370FZDU12.2 ; RUN; I have tried many informats but this one gets me the closest. It brings in the numbers but will not bring in the leading negative sign. I have tried S370FZDL12.2 but then I get nothing. Does anyone have any suggestions? Thanks.
... View more