Hi there!
I got the follow error when I try to use CNTLIN:
ERROR: For format $CD_BLOQUEIO, this range is repeated, or values overlap: 16-16.
data BASE;
input CD_BLOQUEIO CD_PESO;
datalines;
57 3
58 4
59 5
60 16
61 16
62 1
;
DATA CD_BLOQUEIO ;
SET BASE (RENAME = (cd_peso = START CD_BLOQUEIO= LABEL));
FMTNAME = "$CD_BLOQUEIO" ;
RUN;
PROC FORMAT
CNTLIN = CD_BLOQUEIO;
RUN;
My format should be based on "CD BLOQUEIO"....
If CD BLOQUEIO equal 60 my result applyng format should 16 ,as well if my CD_BLOQUEIO equal 61.
Is it rigth? Thanks in advanced