proc format

Reply
Occasional Contributor
Posts: 15

proc format

25. What option in PROC FORMAT allows you to create a format from an input control data set rather than VALUE statement?

Trusted Advisor
Posts: 3,215

Re: proc format

Posted in reply to jadhavsada1_gmail_com

Base SAS(R) 9.4 Procedures Guide, Third Edition (using a function to create a format)   still the same procs

---->-- ja karman --<-----
Trusted Advisor
Posts: 1,147

Re: proc format

Posted in reply to jadhavsada1_gmail_com

The option which is used to create the formats from the input dataset is cntlin


the way the dataset is passed in the cntlin in as below

proc format cntlin=dataset;

run;

the required variables in the dataset for creating the formats this way are

fmtname /*a valid format name*/

start /*value*/

end /*which is again a value , but can be used only when we need to assign the format to a range*/

label /* this variable has the value which you want to actually assign*/

type /* mention C if character format and N for numeric format*/

Thanks,

Jag

Thanks,
Jag
Ask a Question
Discussion stats
  • 2 replies
  • 204 views
  • 1 like
  • 3 in conversation