- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Posted 08-30-2020 07:00 AM
(980 views)
Hi all,
I am trying to create USER-DEFINED INFORMATS from SAS datasets.
But I am getting below error.
Please can you fix this issue.
Regards,
Anvesh
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Please post data in usable form. Pictures are NOT usable.
Post your dataset in a data step with datalines, so we can recreate your dataset with a simple copy/paste and submit.
Post the code into a window opened with the "little running man" button right next to the one indicated here:
You do not try to create an informat, you create a numeric format (type = "N").
Try this instead:
data cntlin;
set ord1;
fmtname = "ord";
type = "I";
start = strip(param);
label = ord;
run;
proc format cntlin=cntlin;
run;
Untested; for tested code, supply data as mentioned above.
- Mark as New
- Bookmark
- Subscribe
- Mute
- RSS Feed
- Permalink
- Report Inappropriate Content
Sorry for the inconvenience.
The code worked.
Thank you.
The code worked.
Thank you.