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.

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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