Data Step Programming (from Fraktal SAS Programming): Unterschied zwischen den Versionen

Aus phenixxenia.org
Zur Navigation springen Zur Suche springen
(Die Seite wurde neu angelegt: „Kategorie:zazy {{SeitenNavigation1 |hoch=Duck_zazy_com.png |links=xx_left.png |rechts=xx_right.png |übersicht=Programming (from Fraktal SAS Programming) |…“)
 
K
Zeile 9: Zeile 9:
 
}}
 
}}
  
 +
== What is this? ==
 +
 +
The triplex name '''''"Data Step Programming"''''' needs to be explained step-by-step:
 +
* DATA is the '''''SAS''''' technical term for values operated on.
 +
* STEP is the '''''SAS''''' conceptual name for a segment-wise oriented coding structure.
 +
* PROGRAMMING is the '''''SAS''''' term for coding a scripted (not compiled) algorithm.
 +
 +
''Data Step Programming'' is done using the '''''"Data Step Language" (DSL)'''''. The ''Data Step Language'' is a fully equipped 3rd generation language, modelled on '''''IBM Corporation's''' PL/1'' called successor candidate for ''FORTRAN''.
 +
 +
== The Data Step ==
 +
 +
Simply speaking, '''''SAS''''' processes one '''''"obervation"''''' at a time. An ''observation'' is a data line, know as ''"row"'' to the rDBMS specialist or SQL programmer that is derived from the punch card concept in pioneering ages of IT.
 +
 +
The observation is processed in a one-line-register called '''''"Program Data Vector" (PDV)'''''.
 +
 +
Generally speaking, each line of code in ''DSL'' applies some function to the ''PDV'', whose content is then written to the dataset generated, either implicitly or on explicitly stated order with an ''"OUTPUT"'' statement.
  
 
{{SeitenNavigation1
 
{{SeitenNavigation1

Version vom 8. Juli 2014, 10:20 Uhr

Zurück

Übersicht

Vorwärts

What is this?

The triplex name "Data Step Programming" needs to be explained step-by-step:

  • DATA is the SAS technical term for values operated on.
  • STEP is the SAS conceptual name for a segment-wise oriented coding structure.
  • PROGRAMMING is the SAS term for coding a scripted (not compiled) algorithm.

Data Step Programming is done using the "Data Step Language" (DSL). The Data Step Language is a fully equipped 3rd generation language, modelled on IBM Corporation's PL/1 called successor candidate for FORTRAN.

The Data Step

Simply speaking, SAS processes one "obervation" at a time. An observation is a data line, know as "row" to the rDBMS specialist or SQL programmer that is derived from the punch card concept in pioneering ages of IT.

The observation is processed in a one-line-register called "Program Data Vector" (PDV).

Generally speaking, each line of code in DSL applies some function to the PDV, whose content is then written to the dataset generated, either implicitly or on explicitly stated order with an "OUTPUT" statement.

Zurück

Übersicht

Vorwärts