I have .sas7bcat format catalog. when i run the proc catalog the output is as below.
output:
I want to make it to .sas7bdat and what to see the data inside how can i do that?
We can't help if we don't see entire log printout. Also from the proc.
Bart
Run the following:
options fmtsearch = (FMT);
proc catalog c=FMT.formats; contents; run;quit;
data _null_;
ASD_orig = "test";
APR_name_orig=put(ASD_orig, $APR_NM.);
run;
and share the log. BTW. proc catalog ends with "QUIT;"
Bart
Generic idea is to use Proc Format to point to the location and use CNTLOUT option to create a data set.
That would require a libname where the format catalog resides
The basic code would look like
Proc format library=YOURLIB cntlout=yourdatasetgoeshere; run;
Caution: Catalogs can be a bit version specific, SAS release and operating system, but if proc contents isn't complaining then you may be good to go.
It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.