BookmarkSubscribeRSS Feed
BrahmanandaRao
Lapis Lazuli | Level 10

SAS Data sets for Q1 to Q4: WORK.Fin_account and others in WORK library Q1. Using the procedure 'PROC CONTENTS' to the SAS data set 'WORK.Fin_account'. You can obtain an output data set containing the following data structure information (a) variable name (b) variable type (3) length (4) format (5) column label.
Q2. Applying the 'PROC SQL' on the output data set in Q1 above, to create a data set which can tell you how many character and numeric fields in the data set 'WORK.Fin_account'.
Q3. Using the 'PROC CONTENTS' to send data dictionary of all data sets in the library 'WORK' into a SAS table ‘alldata’ using ‘WORK._all_’ option. The resulting table only keeps the following three fields a) variable name (b) variable type (c) library name (d) name of the table.
Q4. Applying the 'PROC SQL' on the output table in Q2 above, to create a data set which can tell you how many character and numeric fields in for each data set in the library 'WORK'.

 

i want import and solve the questions

1 REPLY 1
Kurt_Bremser
Super User

Following the lessons provided by your teacher should enable you to solve these questions.

 

If you need someone writing your code for you, hire a consultant.

 

If you made an honest effort at solving these questions yourself, but ran into problems, post your codes and logs.

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

How to Concatenate Values

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 527 views
  • 0 likes
  • 2 in conversation