BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
RichardDeVen
Barite | Level 11

I am trying to create a multilabel format from scratch using a data set.

 

Where can I find a complete listing of the CNTLIN data set HLO variable values and meanings.  I know H, L and O, but can't seem to locate information about S and M (no pun intended) related to MULTILABEL.

 

 

proc format;
value agef (multilabel)
11='11'
12='12'
13='13'
11-13='11-13';

proc format cntlout=out;
run;

 

hlo_sm.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

One of the sections of the Proc Format documentation is labeled Results: Format Procedure and has block called OUTPUT Control Data Set with details of the variables. Don't ask why SAS provided the details in Output first since Input would come first alphabetically (in the same section).

 

HLO
specifies a character variable that contains range information about the format or informat. The following valid values can appear in any combination:
F
specifies a standard SAS format or informat that is used with a value.
H
specifies that a range's ending value is HIGH.
I
specifies a numeric informat range.
J
specifies justification for an informat.
L
specifies that a range's starting value is LOW.
M
specifies that the MULTILABEL option is in effect.
N
specifies that the format or informat has no ranges, including no OTHER= range.
O
specifies that the range is OTHER.
R
specifies that the ROUND option is in effect.
S
specifies that the NOTSORTED option is in effect.
U
specifies that the UPCASE option for an informat be used.

View solution in original post

2 REPLIES 2
ballardw
Super User

One of the sections of the Proc Format documentation is labeled Results: Format Procedure and has block called OUTPUT Control Data Set with details of the variables. Don't ask why SAS provided the details in Output first since Input would come first alphabetically (in the same section).

 

HLO
specifies a character variable that contains range information about the format or informat. The following valid values can appear in any combination:
F
specifies a standard SAS format or informat that is used with a value.
H
specifies that a range's ending value is HIGH.
I
specifies a numeric informat range.
J
specifies justification for an informat.
L
specifies that a range's starting value is LOW.
M
specifies that the MULTILABEL option is in effect.
N
specifies that the format or informat has no ranges, including no OTHER= range.
O
specifies that the range is OTHER.
R
specifies that the ROUND option is in effect.
S
specifies that the NOTSORTED option is in effect.
U
specifies that the UPCASE option for an informat be used.

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 2 replies
  • 3134 views
  • 4 likes
  • 3 in conversation