i'm trying to figure out if it's possible to convert a dataset file, for example, like this:
col1 | col 2
a | b
a1 | b1
into a description file, like you do with oracle, that would look like a datastep proces;
attrib col1 format=$4.;
attrib col2 format $4.;
is it possible to create this kind of description file form a dataset with a procedure?
Closer to your Oracle anology, there is PROC SQL DESCRIBE TABLE statment, which will give you CREATE TABLE/INDEX in the SAS log.
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.
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.