Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Level 2 1 1 . Changing a Variable's Data Type The data set orion.US _ newhire contains information about newly hired employees. Partial orion.US _

Level 2
11. Changing a Variable's Data Type
The data set orion.US_newhire contains information about newly hired employees.
Partial orion.US_newhire
\table[[ID,Telephone,Birthday],[,,],[120-012-40-4928,5467887,OSDEC1972],[120-012-83-3816,6888321,O3MAY1969],[120-341-44-0781,9418123,23NOV1976],[120-423-01-7721,7839191,28JUN1971]]
Partial PROC CONTENTS Output of orion.US_newhire
a. Create a new data set from orion.US_newhire.
Name the new data set US_converted.
Remove the embedded hyphens in ID.
Convert ID to a numeric value.
Convert Telephone to character and place a -(hyphen or dash) between the third and fourth digits.
Convert Birthday to a SAS date value.
b. Print US converted with an appropriate title and use PROC CONTENTS to check the variables
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Relational Database And Transact SQL

Authors: Lucy Scott

1st Edition

1974679985, 978-1974679980

More Books

Students also viewed these Databases questions

Question

What must a creditor do to become a secured party?

Answered: 1 week ago

Question

When should the last word in a title be capitalized?

Answered: 1 week ago