O'Reilly logo

The DS2 Procedure: SAS Programming Methods at Work by Peter Eberhardt

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6: Packages

User-Defined Packages

Instantiation

Using a Package Variable

Package as Object

Packages and Scope

Package as Method Parameter and Method Return Variable

System-Defined Packages

FCMP Package

TZ Package

Methods are code modules that are intended to encapsulate data and logic and modularize your code. Packages are collections of modules that facilitate code reuse and extend the strength of modules. A module in a program has its source code included in the program. As a result, changes to the source code can be made intentionally or inadvertently. A module in a package gets compiled with the package, and the package is saved to a file. The package file can be made accessible to other users in the organization without providing ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required