Index of /techsup/download/SASC/sample/c
Name Last modified Size Description
Parent Directory 18-Nov-2011 23:57 -
APPCSEND 19-Nov-2011 00:54 11k
APPCSEND.html 19-Nov-2011 00:54 19k
APPCSERV 19-Nov-2011 00:54 16k
APPCSERV.html 19-Nov-2011 00:54 24k
BARCHART 19-Nov-2011 00:54 24k
BARCHART.html 19-Nov-2011 00:54 33k
BSDSTR 19-Nov-2011 00:54 8k
BSDSTR.html 19-Nov-2011 00:54 16k
BTREE 19-Nov-2011 00:54 5k
BTREE.html 19-Nov-2011 00:54 13k
CALENDAR 19-Nov-2011 00:54 13k
CALENDAR.html 19-Nov-2011 00:54 21k
CICCLNT 19-Nov-2011 00:54 10k
CICCLNT.html 19-Nov-2011 00:54 18k
CICLISTN 19-Nov-2011 00:54 23k
CICLISTN.html 19-Nov-2011 00:54 32k
CICLQUIT 19-Nov-2011 00:54 2k
CICLQUIT.html 19-Nov-2011 00:54 10k
CICTSERV 19-Nov-2011 00:54 5k
CICTSERV.html 19-Nov-2011 00:54 13k
CMSMENU 19-Nov-2011 00:54 18k
CMSMENU.html 19-Nov-2011 00:54 26k
DESCRIBE 19-Nov-2011 00:54 16k
DESCRIBE.html 19-Nov-2011 00:54 24k
DYNALLOC 19-Nov-2011 00:54 5k
DYNALLOC.html 19-Nov-2011 00:54 13k
ECBMAIN 19-Nov-2011 00:54 16k
ECBMAIN.html 19-Nov-2011 00:54 24k
ECBTASK 19-Nov-2011 00:54 3k
ECBTASK.html 19-Nov-2011 00:54 11k
FINGER 19-Nov-2011 00:54 6k
FINGER.html 19-Nov-2011 00:54 14k
FSSLALL 19-Nov-2011 00:54 3k
FSSLALL.html 19-Nov-2011 00:54 11k
FTOC 19-Nov-2011 00:54 2k
FTOC.html 19-Nov-2011 00:54 10k
GETHENT 19-Nov-2011 00:54 4k
GETHENT.html 19-Nov-2011 00:54 12k
GETHID 19-Nov-2011 00:54 3k
GETHID.html 19-Nov-2011 00:54 10k
GETHNM 19-Nov-2011 00:54 2k
GETHNM.html 19-Nov-2011 00:54 10k
GETSENT 19-Nov-2011 00:54 3k
GETSENT.html 19-Nov-2011 00:54 11k
GHBNM 19-Nov-2011 00:54 4k
GHBNM.html 19-Nov-2011 00:54 12k
GSBNM 19-Nov-2011 00:54 4k
GSBNM.html 19-Nov-2011 00:54 12k
HI2ME 19-Nov-2011 00:54 2k
HI2ME.html 19-Nov-2011 00:54 10k
IMSC 19-Nov-2011 00:54 6k
IMSC.html 19-Nov-2011 00:54 14k
ISPFEXIT 19-Nov-2011 00:54 5k
ISPFEXIT.html 19-Nov-2011 00:54 13k
ISPFUSER 19-Nov-2011 00:54 4k
ISPFUSER.html 19-Nov-2011 00:54 12k
ITOA 19-Nov-2011 00:54 7k
ITOA.html 19-Nov-2011 00:54 15k
JOBDDN 19-Nov-2011 00:54 5k
JOBDDN.html 19-Nov-2011 00:54 13k
L$CLDBEX 19-Nov-2011 00:54 30k
L$CLDBEX.html 19-Nov-2011 00:54 38k
L$CLSAMP 19-Nov-2011 00:54 32k
L$CLSAMP.html 19-Nov-2011 00:54 40k
L$UFSIO 19-Nov-2011 00:54 6k
L$UFSIO.html 19-Nov-2011 00:54 14k
LOADLIBS 19-Nov-2011 00:54 47k
LOADLIBS.html 19-Nov-2011 00:54 56k
ORASASC 19-Nov-2011 00:54 7k
ORASASC.html 19-Nov-2011 00:54 15k
OSMENU 19-Nov-2011 00:54 18k
OSMENU.html 19-Nov-2011 00:54 26k
P2UPM 19-Nov-2011 00:54 9k
P2UPM.html 19-Nov-2011 00:54 17k
P2UPSK 19-Nov-2011 00:54 45k
P2UPSK.html 19-Nov-2011 00:54 54k
P2UPSKCM 19-Nov-2011 00:54 3k
P2UPSKCM.html 19-Nov-2011 00:54 11k
P2UREAD 19-Nov-2011 00:54 24k
P2UREAD.html 19-Nov-2011 00:54 33k
PDSREAD 19-Nov-2011 00:54 11k
PDSREAD.html 19-Nov-2011 00:54 19k
PI4 19-Nov-2011 00:54 4k
PI4.html 19-Nov-2011 00:54 12k
README.txt 19-Nov-2011 00:54 10k
RECEIVER 19-Nov-2011 00:54 8k
RECEIVER.html 19-Nov-2011 00:54 16k
RESINIT 19-Nov-2011 00:54 5k
RESINIT.html 19-Nov-2011 00:54 13k
RXLOCFN 19-Nov-2011 00:54 8k
RXLOCFN.html 19-Nov-2011 00:54 16k
SASCALL 19-Nov-2011 00:54 17k
SASCALL.html 19-Nov-2011 00:54 26k
SASCAMA 19-Nov-2011 00:54 3k
SASCAMA.html 19-Nov-2011 00:54 11k
SASCAMB 19-Nov-2011 00:54 3k
SASCAMB.html 19-Nov-2011 00:54 11k
SASCAMC 19-Nov-2011 00:54 3k
SASCAMC.html 19-Nov-2011 00:54 11k
SASCBRW 19-Nov-2011 00:54 15k
SASCBRW.html 19-Nov-2011 00:54 23k
SASCMNU 19-Nov-2011 00:54 3k
SASCMNU.html 19-Nov-2011 00:54 11k
SASCSAMP 19-Nov-2011 00:54 4k
SASCSAMP.html 19-Nov-2011 00:55 12k
SENDER 19-Nov-2011 00:54 10k
SENDER.html 19-Nov-2011 00:55 18k
SPFLOAD 19-Nov-2011 00:54 4k
SPFLOAD.html 19-Nov-2011 00:55 12k
SPFLOADM 19-Nov-2011 00:54 5k
SPFLOADM.html 19-Nov-2011 00:55 13k
STAT 19-Nov-2011 00:54 6k
STAT.html 19-Nov-2011 00:55 13k
SUBCMD 19-Nov-2011 00:54 9k
SUBCMD.html 19-Nov-2011 00:55 17k
SVC99 19-Nov-2011 00:54 38k
SVC99.html 19-Nov-2011 00:55 47k
SVC99C 19-Nov-2011 00:54 11k
SVC99C.html 19-Nov-2011 00:55 19k
SYNAD 19-Nov-2011 00:54 4k
SYNAD.html 19-Nov-2011 00:55 12k
TCPCLNT 19-Nov-2011 00:54 10k
TCPCLNT.html 19-Nov-2011 00:55 18k
TCPLISTN 19-Nov-2011 00:54 20k
TCPLISTN.html 19-Nov-2011 00:55 28k
TCPOEC 19-Nov-2011 00:54 14k
TCPOEC.html 19-Nov-2011 00:55 22k
TCPOED 19-Nov-2011 00:54 33k
TCPOED.html 19-Nov-2011 00:55 42k
TCPTSERV 19-Nov-2011 00:54 9k
TCPTSERV.html 19-Nov-2011 00:55 17k
TELBOOK 19-Nov-2011 00:54 14k
TELBOOK.html 19-Nov-2011 00:55 22k
TIOTLIST 19-Nov-2011 00:54 3k
TIOTLIST.html 19-Nov-2011 00:55 11k
TRYRACF 19-Nov-2011 00:54 8k
TRYRACF.html 19-Nov-2011 00:55 16k
UPDBLD 19-Nov-2011 00:54 50k
UPDBLD.html 19-Nov-2011 00:55 58k
WDHYPER 19-Nov-2011 00:54 25k
WDHYPER.html 19-Nov-2011 00:55 34k
WDSAMPLE 19-Nov-2011 00:54 24k
WDSAMPLE.html 19-Nov-2011 00:55 33k
WRDCNT1 19-Nov-2011 00:54 3k
WRDCNT1.html 19-Nov-2011 00:55 11k
WRDCNT2A 19-Nov-2011 00:54 2k
WRDCNT2A.html 19-Nov-2011 00:55 10k
WRDCNT2B 19-Nov-2011 00:54 3k
WRDCNT2B.html 19-Nov-2011 00:55 11k
SASC SAMPLE C
Last Updated: 10MAR97
=====================
Copyright (c) 1996, SAS Institute Inc.
Unpublished - All Rights Reserved
This member contains a list and description of sample C programs
distributed with your SAS/C product.
File: - Description:
--------------------------------------------------------------------------------
APPSEND/ - Demonstrates the SAS/C APPC/VM support.
APPSERV - Demonstrates the SAS/C APPC/VM support.
BARCHART - Uses GDDM to create and display a bar chart graph.
BSDSTR - Collection of BSD String manipulation utilities. These
utilities are provided soley for portability of BSD
applications, and are not recommended for new applications
BTREE - SAS/C DEBUGGER example program, which generates a binary
tree.
CALENDAR - Implements a daily calendar to illustrate use of SAS/C
FSSL.
CICCLNT - TCPIP client program, intended for use with the other CIC*
samples within the prefix.SAMPLE.C library
CICLISTN - TCPIP CICS listener program, when enabled allows a remote
client to start a CICS transaction.
CICLQUIT - CICS program that may be used to terminate CICLISTN.
CICTSERV - TCPIP CICS server, started by CICLISTN, and sends data to
a remote client, CICCLNT.
CMSMENU - Demonstrate use of the SAS/C FSSL to develop menus,
submenus, help screens, and error displays.
DESCRIBE - Demonstrate use of the SAS/C FSSL, by allowing a dataset
name to be entered and miscellaneous information about the
dataset returned.
DYNALLOC - Demonstrate MVS dynamic allocation, SVC 99, facilities
from within a C program, using the osdynalloc() function.
ECBMAIN - Multitasking sample using SAS/C features such as:
ATTACH(), ecbpause(), selectecb(), and WAIT1().
ECBTASK - Subtask that is ATTACHed, by the ECBMAIN sample.
FINGER - Sample TCPIP Finger client, demonstrating typical
socket functions. This is a limited finger client.
FSSLALL - All-resident pgm displaying "Hello World!" using SAS/C
FSSL.
FTOC - Simple C program from page 8 of the Kernighan and Ritchie
text. Output is a table of temperatures on both the
Fahrenheit and Celsius scales.
GETHENT - TCPIP sample which demonstrates various resolver functions,
including: sethostent(), gethostent(), and endhostent(),
and processing data in the ETC.HOSTS file.
GETHID - TCPIP sample demonstrating the function, gethostid(),
which returns the 32-bit IP address for the local host.
GETHNM - TCPIP sample demonstrating the function, gethostname()
which returns the hostname, as defined on the local host.
GETSENT - TCPIP sample which demonstrates processing information
in the ETC.SERVICES file.
GHBNM - TCPIP sample demonstrating the resolver function
gethostbyname(), which returns a structure containing the
an IP address that correlates to a specific hostname.
Refer to the RESINIT sample for tracing gethostbyname().
GSBNM - TCPIP sample which reads the ETC.SERVICES file, and
returns a structure, that correlates to a specific
"service" and "protocol".
HI2ME - Simple SAS/C DEBUGGER example program.
IMSC - Demonstrate calls to IMS and to read all of the checking
account information for all customers havin a particular
ZIP code and print the information to STDOUT. This
example is a simple DL/I batch program.
ITOA - Sample C-main to convert an integer to an equivalent
string. May be easily modified to perform an itoa()
function.
ISPFEXIT - ISFP user exit, part of ISPFEXIT sample program.
ISPFUSER - C main part of the the ISPFEXIT sample program.
JOBDDN - Lists all DDnames and datasets associated with an MVS job.
This example uses the TIOT, retrieved by the TIOTLIST
member.
LOADLIBS - Demonstrates how to access members of a CMS loadlib and
how to list the members of a CMS loadlib.
L$UFSIO - Sample data stream exit for SAS/C FSSL. This sample is
referenced in the the SAS/C FSSL User's Guide.
L$CLDBEX - Sample user-added locale. This sample referenced in the
SAS/C Library Reference Vol 2
L$CLSAMP - Sample user-added locale. This sample referenced in the
SAS/C Library Reference Vol 2
ORASASC - Demonstrates using the ORACLE Pro*C Precompiler with
SAS/C.
OSMENU - Demonstrate use of the SAS/C FSSL to develop menus,
submenus, help screens, and error displays.
PDSREAD - Demonstrates how to read and deblock a PDS directory.
P2UPM - C main which controls unloading a PDS in a format suitable
for input to IEBUPDTE.
P2UPSK - Skiplist creation and maintenance functions for P2UPM
P2UPSKCM - Compare functions called by P2UPSK
P2UREAD - Functions to read and create a list of members from a
PDS directory, used by P2UPM.
PI4 - SAS/C DEBUGGER example program This program computes
pi/4 using a slowly converging infinite series for
atan(1.0).
RECEIVER - CMS IUCV sample, along with SENDER, demonstrate a simple
IUCV interface.
RESINIT - TCPIP sample which demonstrates the gethostbyname()
function. Additionally, RESINIT enables resolver tracing,
which allows one to observe the interaction between the
resolver and remote nameserver.
RXLOCFN - Demonstrates the CMS REXX function package interface.
SASCALL - Traditional CICS FILEA sample program. See Appendix 1,
Second Edition, of the SAS/C CICS User's Guide for a
detailed explanation.
SASCAMA - See description of SASCALL above.
SASCAMB - See description of SASCALL above.
SASCAMC - See description of SASCALL above.
SASCBRW - See description of SASCALL above.
SASCMNU - See description of SASCALL above.
SASCSAMP - CICS tutorial sample program. See Chapter 4, Second
Edition, of the SAS/C CICS User's Guide for a detailed
explanation.
SENDER - CMS IUCV sample, along with RECEIVER, demonstrate a simple
IUCV interface.
SPFLOAD - Demonstrate how to load ISPLINK using MVS macro LOAD
SPFLOADM - Demonstrate how to load ISPLINK using SAS/C function
LOADM()
STAT - Demonstrates the CMSSTAT function on CMS.
SVC99 - Sample sub-routines used by SVC99C to invoke SVC 99 calls
from within a SAS/C application.
SVC99C - Sample C main which calls sub-functions within SVC99, to
use MVS SVC 99 dynamic allocation supervisor calls.
SUBCMD - Demonstrates the subcommand interface for use with CMS
EXECs and TSO CLISTS.
SYNAD - Sample BASM OS low-level I/O routine, which demonstrates
calling a synad exit when an I/O error occurs accessing
a dataset.
TCPCLNT - TCPIP sample client program, to be used with the SAS/C
samples TCPLISTN and TCPTSERV. This sample is platform
independent.
TCPLISTN - TCPIP sample listener program. TCPLISTN will ATTACH a
child task, TCPTSERV, and issue a givesocket().
TCPOEC - TCPIP client program that connects to TCPOED, and sends
and receives data to/from the TCPOED program. TCPOEC
includes directions for compiling and executing a tcpip
program under the OE shell.
TCPOED - TCPIP server/daemon that uses Open Edition(OE) sockets
(integrated sockets), and OE services such as fork(), and
pipes, to handle remote client connections. The child
process receives and sends data to the remote client.
TCPTSERV - TCPIP sample server, attached by TCPLISTN. TCPTSERV will
issue a takesocket(), and send data back to a client.
TELBOOK - C main and functions support the TELBOOK sample program.
TIOTLIST - See JOBDDN.
TRYRACF - An example of issuing a MVS RACF call from a C program.
UPDBLD - Function which reads the contents of members in a PDS
directory and creates an IEBUPDTE formatted output file.
Used by P2UPM.
WDHYPER - Demonstrates how a hypertext window can be incorporated
into a windowing application.
WDSAMPLE - Demonstrates the use of the SAS/C Windowing interface
functions with the use of the SAS/C FSSL.
WRDCNT1 - SAS/C DEBUGGER tutorial example program Simple word
counting program.
WRDCNT2A - SAS/C DEBUGGER tutorial example program Prints out each
unique word and its count. (pgm source is divided among
two source files, ) (WRDCNT2A , WRDCNT2B)
WRDCNT2B - SAS/C DEBUGGER tutorial example program Prints out each
unique word and its count. (pgm source is divided among
two source files, ) (WRDCNT2A , WRDCNT2B)