You have a text file called stocks.txt containing a stock symbol,
a price, and the number of shares. Here are some sample lines of data:
File stocks.txt
AMGN 67.66 100
DELL 24.60 200
GE 34.50 100
HPQ 32.32 120
IBM 82.25 50
MOT 30.24 100
a. Using this raw data file, create a temporary SAS data set (Portfolio).
Choose your own variable names for the stock symbol, price, and number of shares.
In addition, create a new variable (call it Value) equal to the stock price times
the number of shares. Include a comment in your program describing the purpose of
the program, your name, and the date the program was written.