05-03-2013 02:33 PM
I am having an issue with a format. In a dataset in one system, say system A, a format named product is used. I need to use the same format & dataset in another system, say B. So how can I know how the format in system A has been defined so that I can use this in system B.
Please help me, I am having this issue for a long time, but cannot find a solution.
05-03-2013 05:22 PM
Can you try this?
*--- enter name of format -----*;
%let format = product;*possibly $product
proc format library = work.formats fmtlib;
Let me know.
05-03-2013 10:37 PM
You can also use proc contents procedure to check the type of format used in dataset A. Proc contents procedure will display the attributes, engine, variables(length,type,format,label etc.,), and on which variable the dataset is sorted.
Here is the syntax
Proc contents data=A;
if there are no formats used for the variables it will not display anything.
Hope this helps you.
Need further help from the community? Please ask a new question.