Translated by Google. Dear colleagues and members of SAS programmers sascommunity. I'm a user of SAS (entreprise guide) for 4 years, and this year for the past twomonths I have had great need to use macros. Right now, I need to develop a code that allows SAS to implement the recovery strategies of credit for financial institution for which I work. I already have more than 90% of code developed, however, I am having trouble in one part, and that's why I leave here this request to help those who can help me. The question is as follows: I have a table with 50 variables, including highlight the following variables:customer ID, date entered into recovery, the amount of debt, the debt segmentand the segment score, and got two different scoring segments: a segment for customers with score exceeding XXX (segment S1), and another thread tocustomers with score higher than XXX (segment S2), and two segments debt (A and B). What do I need to schedule is as follows: For the generation of customers coming into recovery in months, if the score is S1segment and the segment of the debt is equal to A, then 75% of customers willtreat this segment A1, A2 treatment 12.5% and 12.5 % A3 treatment; If the segment score is debt segment and S2 is equal to B, then 20% will havetreatment B1, 40% and 40% treatment B2 B3 treatment. My thanks to those who can help me.
... View more