Документ взят из кэша поисковой машины. Адрес оригинального документа : http://xmm.vilspa.esa.es/sas/6.5.0/doc/pkgmaker.html
Дата изменения: Wed Nov 3 11:28:46 1999
Дата индексирования: Fri Dec 21 23:33:50 2007
Кодировка:

Поисковые слова: merging galaxies
SAS Packages

pkgmaker

The SAS package maker (pkgmaker), is a perl script that creates a complete directory structure for a new SAS task. The task directory structure is created under the current directory.

In order to make use of the pkgmaker you must first install the core SAS distribution. When this is done, the pkgmaker will be available in your executable path.

A new directory structure can be created anywhere by simply typing pkgmaker and answering the questions asked.

The remainder of this document decribes the workings of the pkgmaker. Please refer to the top level SAS documentation, or the developer's guide for details about the contents of a package directory.

pkgmaker

pkgmaker is a perl script. It requires perl version 5 or higher. It makes use of the external perl module Text::Boilerplate, that is distributed with the SAS.

When a new task directory structure is created, all the files in the subdirectory pkgmaker/template under the main SAS package directory are copied to the new directory tree. In the process a number of tags (specified in the associative array PKGTAGS are replaced with the values entered by the user, so that almost no modifications are needed to start coding and compiling with the SAS libraries.

How to modify the template

You can add/remove/modify files in the template subdirectory, and the next time the pkgmaker runs the modified template will be created. New tags can be added by modifying the PKGTAGS array.

A tag in a file is specified like so:

[* 'TAG NAME' *]


Giuseppe Vacanti
Updated on: September 27, 1999