![]() Chapter Contents |
![]() Previous |
![]() Next |
| A Guide for the SAS/C Compiler Consultant, Release 6.50 |
The SAS/C Sample Library is a diverse collection of SAS/C programs included on the Usage Notes tape to assist system and application developers. The library contains programs, functions, and utilities that demonstrate features of the SAS/C Compiler library. The sample library also includes the necessary JCL and directions to compile, link, and execute SAS/C programs. The sample library includes C to assembler and assembler to C programs, interlanguage communication between C and other high-level languages (COBOL, FORTRAN, PL1), TCP/IP client and server applications, along with C and C++ samples. Some of the programs require special products, such as ISPF, DB2®, or the SAS/C FSSL product in order to execute.
All sample programs contain the following copyright restrictions:
Copyright (c) 1997, SAS Institute Inc.
Unpublished - All Rights Reserved
RESTRICTED RIGHTS LEGEND
Use, duplication, or disclosure by the U.S. Government is subject to
restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in
Technical Data and Computer Software clause at DFARS 252.227-7013.
SAS Institute Inc., SAS Campus Drive, Cary, North Carolina, USA 27513
|
The table below lists and describes the contents and organization of the sample library:
| Description | MVS Name | CMS Name | UNIX Name |
| Samples that demonstrate the communication between SAS/C and Assembler | SAMPLE.ASM | SAMPLASM | samples/asm |
| JCL, sample Debugger configuration files, hypertext cards, ISPF Panel definitions, and the like | SAMPLE.AUX | SAMPLAUX | samples/aux |
| Sample C program source files | SAMPLE.C | SAMPLC | samples/c |
| Sample C++ program source files | SAMPLE.CXX | SAMPLCXX | samples/cxx |
| Header files for the samples | SAMPLE.H | SAMPLHDR | samples/h |
| Interlanguage Communication Feature samples | SAMPLE.ILC | SAMPLILC | samples/ilc |
For each program in the sample library, there is a corresponding file that explains how to compile, link, and execute the program. For example, the FTOC program converts Farenheit to Celsius temperature readings. For instructions on compiling, linking, and executing this program:
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © Fri Feb 6 08:07:34 EST 1998 by SAS Institute Inc., Cary, NC, USA. All rights reserved.