SAS Programming

DATA Step, Macro, Functions and more
BookmarkSubscribeRSS Feed
art297
Opal | Level 21

DN: Andy's example didn't include either a cards or datalines statement at the end.  However, with your code, I too get the same results as you.  And, indeed, the filename assigned makes me feel young again!

Doc_Duke
Rhodochrosite | Level 12

Sanjeev.K,

Congratulations, you have opened the floodgates of nostalgia.

"Back in the day", SAS only ran on mainframes and the only way to get a SAS program into the computer was to use punch cards (also known as Hollerith cards after the inventor, see Punched card - Wikipedia, the free encyclopedia ).  Therefore, CARDS; was the natural term for getting data to the program that was inline with the program.

Doc Muhlbaier

Duke

art297
Opal | Level 21

: How much nostalgia can you take in one day?  I remember, in 1975, getting the tool that I thought was the greatest replacement for punch cards ever!  Take a look at: http://www.google.ca/imgres?imgurl=http://forum.allaboutcircuits.com/cache.php%3Furl%3Dhttp://scm-l3...

and that was 110 baud .. without a K after the number.  However, it did let one run programs from their desk and without the risk of spilling a box of cards.

TomKari
Onyx | Level 15

Oh, cripes! I remember using both the modems AND phones with dials. A couple of years ago I saw one of those phones for sale at an antique store!?!

Somebody just shoot me now!

Anybody else remember buying this issue at the newsstand?

http://en.wikipedia.org/wiki/File:Popular_Electronics_Cover_Jan_1975.jpg

Tom

ballardw
Super User

I rember reading that issue. I didn't buy a copy because my dad subscribed to the magazine.

First modem I worked with was 300 baud and had to write own communication program between a Techtronics micro and an HP2000.

kuridisanjeev
Quartz | Level 8

, Thank you very much...:-)

Regards..

Sanjeev.K


ajuhack
Fluorite | Level 6

Look for this link you will be get the clarification of datalines VS csrds Vs lines.

in Short

lines , cards are initially used in SAS .because the SAS algoes read length, created in form to reading long data lines  in CARDIMAGE System Option  and that time they use cards and lines ,

look this for datalines ....

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000188182.htm

and for cards ..........

http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000289371.htm

and then they enhance cards in datalines........

sas-innovate-white.png

Our biggest data and AI event of the year.

Don’t miss the livestream kicking off May 7. It’s free. It’s easy. And it’s the best seat in the house.

Join us virtually with our complimentary SAS Innovate Digital Pass. Watch live or on-demand in multiple languages, with translations available to help you get the most out of every session.

 

Register now!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 21 replies
  • 27123 views
  • 17 likes
  • 9 in conversation