DATA Step, Macro, Functions and more

SAS Loop query

Reply
Occasional Contributor
Posts: 13

SAS Loop query

Sample data set attached. We want to adjust the principal loss & interest loss amount from the available credit amount . if the credit amount is less than the principal loss & int loss for a account , then we have to adjust in same for another account with the same cust id.

Super User
Posts: 6,927

Re: SAS Loop query

[ Edited ]

Please post your example data as datalines in a data step. Nobody in his right mind will open a Excel file from the internet.

And also supply "want" data to ilustrate your requirements.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Ask a Question
Discussion stats
  • 1 reply
  • 290 views
  • 2 likes
  • 2 in conversation