Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

You have a text file called bankdata.txt with data values arranged as follows: Variable Description Starting Column Ending Column Data Type Name Name 1 15

You have a text file called bankdata.txt with data values arranged as follows:

                                 Variable     Description            Starting Column    Ending Column      Data Type

                                 Name             Name                                    1                            15                           Char

Acct Account number 16 20 Char Balance Acct balance 21 26 Num

                                 Rate           Interest rate                              27                          30                           Num


Create a temporary SAS data set called Bank using this data file. Use column input to specify the location of each value. Include in this data set a variable called Interest computed by multiplying Balance by Rate. List the contents of this data set using PROC PRINT.

Higginsville Hike

4030.2937446.539

Really Roaring

4027.4047442.147

Cushetunk Climb

4037.0247448.014

Uplands Trek

4030.9907452.794

Create a temporary SAS data set called Cache using this data file. Use column input to read the data values.

  1. Repeat Problem using formatted input to read the data values instead of column.

Step by Step Solution

3.52 Rating (155 Votes )

There are 3 Steps involved in it

Step: 1

36 You have a text file called bankdatatxt with data values arranged as follows Variable Description Starting Column Ending Column Data Type Name Name 1 15 Char Acct Account number 16 20 Char Balance ... 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

Data Analysis And Decision Making

Authors: Christian Albright, Wayne Winston, Christopher Zappe

4th Edition

538476125, 978-0538476126

More Books

Students also viewed these Programming questions