/*-------------------------------------------------------------------+
| Copyright (c) 1995, SAS Institute Inc. |
| Unpublished - All Rights Reserved |
| S A S / C S A M P L E |
| |
| NAME: PLI2CC |
| LANGUAGE: C |
| PURPOSE: THIS EXAMPLE DEMONSTRATES A PLI PROGRAM CALLING |
| A C FUNCTION. |
| IT CONSISTS OF SAMPLE LIBRARY MEMBERS |
| PLI2CC, PLI2CP, AND PLI2C. |
| MVS - |
| COMPILE: USE JCL PROVIDED IN SAMPLE.AUX(PLI2C). |
| LINK: USE JCL PROVIDED IN SAMPLE.AUX(PLI2C). |
| EXECUTE: USE JCL PROVIDED IN SAMPLE.AUX(PLI2C). |
| TSO - |
| COMPILE: PLI - USE PLI COMPILER. |
| C - LC370C PLI2CC USING INDEP OPTION. |
| LINK: ILCLINK, USING CONTROL CARDS IN SAMPLE.AUX(PLI2C). |
| EXECUTE: CALL .LOAD(PLI2C) |
| CMS - |
| COMPILE: PLI - USE PLI COMPILER. |
| C - LC370 PLI2CC USING INDEP OPTION. |
| LINK: ILCLINK, USING CONTROL CARDS IN SAMPLE.AUX(PLI2C). |
| EXECUTE: CALL PLI2C |
+-------------------------------------------------------------------*/
#include
void cprog(void)
{
printf(" entered cprog from PL/I........\n");
printf(" ALL DONE***************");
}