Index of /techsup/download/SASC/sample/c
Name Last modified Size Description
Parent Directory 28-Oct-2008 13:21 -
WRDCNT2A 28-Oct-2008 13:59 2k
FTOC 28-Oct-2008 13:59 2k
CICLQUIT 28-Oct-2008 13:59 2k
HI2ME 28-Oct-2008 13:59 2k
GETHNM 28-Oct-2008 13:59 2k
GETHID 28-Oct-2008 13:59 3k
WRDCNT2B 28-Oct-2008 13:59 3k
ECBTASK 28-Oct-2008 13:59 3k
SASCMNU 28-Oct-2008 13:59 3k
TIOTLIST 28-Oct-2008 13:59 3k
SASCAMA 28-Oct-2008 13:59 3k
WRDCNT1 28-Oct-2008 13:59 3k
SASCAMB 28-Oct-2008 13:59 3k
GETSENT 28-Oct-2008 13:59 3k
SASCAMC 28-Oct-2008 13:59 3k
P2UPSKCM 28-Oct-2008 13:59 3k
FSSLALL 28-Oct-2008 13:59 3k
GSBNM 28-Oct-2008 13:59 4k
GHBNM 28-Oct-2008 13:59 4k
ISPFUSER 28-Oct-2008 13:59 4k
SYNAD 28-Oct-2008 13:59 4k
SASCSAMP 28-Oct-2008 13:59 4k
GETHENT 28-Oct-2008 13:59 4k
SPFLOAD 28-Oct-2008 13:59 4k
PI4 28-Oct-2008 13:59 4k
DYNALLOC 28-Oct-2008 13:59 5k
BTREE 28-Oct-2008 13:59 5k
RESINIT 28-Oct-2008 13:59 5k
ISPFEXIT 28-Oct-2008 13:59 5k
SPFLOADM 28-Oct-2008 13:59 5k
CICTSERV 28-Oct-2008 13:59 5k
JOBDDN 28-Oct-2008 13:59 5k
STAT 28-Oct-2008 13:59 6k
IMSC 28-Oct-2008 13:59 6k
FINGER 28-Oct-2008 13:59 6k
L$UFSIO 28-Oct-2008 13:59 6k
ITOA 28-Oct-2008 13:59 7k
ORASASC 28-Oct-2008 13:59 7k
TRYRACF 28-Oct-2008 13:59 8k
RECEIVER 28-Oct-2008 13:59 8k
RXLOCFN 28-Oct-2008 13:59 8k
BSDSTR 28-Oct-2008 13:59 8k
TCPTSERV 28-Oct-2008 13:59 9k
SUBCMD 28-Oct-2008 13:59 9k
P2UPM 28-Oct-2008 13:59 9k
SENDER 28-Oct-2008 13:59 10k
TCPCLNT 28-Oct-2008 13:59 10k
WRDCNT2A.html 28-Oct-2008 13:59 10k
CICLQUIT.html 28-Oct-2008 13:59 10k
FTOC.html 28-Oct-2008 13:59 10k
CICCLNT 28-Oct-2008 13:59 10k
HI2ME.html 28-Oct-2008 13:59 10k
GETHNM.html 28-Oct-2008 13:59 10k
README.txt 28-Oct-2008 13:59 10k
GETHID.html 28-Oct-2008 13:59 10k
SVC99C 28-Oct-2008 13:59 11k
ECBTASK.html 28-Oct-2008 13:59 11k
SASCMNU.html 28-Oct-2008 13:59 11k
WRDCNT2B.html 28-Oct-2008 13:59 11k
SASCAMA.html 28-Oct-2008 13:59 11k
TIOTLIST.html 28-Oct-2008 13:59 11k
SASCAMB.html 28-Oct-2008 13:59 11k
WRDCNT1.html 28-Oct-2008 13:59 11k
SASCAMC.html 28-Oct-2008 13:59 11k
P2UPSKCM.html 28-Oct-2008 13:59 11k
GETSENT.html 28-Oct-2008 13:59 11k
APPCSEND 28-Oct-2008 13:59 11k
FSSLALL.html 28-Oct-2008 13:59 11k
PDSREAD 28-Oct-2008 13:59 11k
GSBNM.html 28-Oct-2008 13:59 12k
GHBNM.html 28-Oct-2008 13:59 12k
ISPFUSER.html 28-Oct-2008 13:59 12k
SYNAD.html 28-Oct-2008 13:59 12k
SASCSAMP.html 28-Oct-2008 13:59 12k
SPFLOAD.html 28-Oct-2008 13:59 12k
GETHENT.html 28-Oct-2008 13:59 12k
PI4.html 28-Oct-2008 13:59 12k
DYNALLOC.html 28-Oct-2008 13:59 13k
CALENDAR 28-Oct-2008 13:59 13k
BTREE.html 28-Oct-2008 13:59 13k
ISPFEXIT.html 28-Oct-2008 13:59 13k
RESINIT.html 28-Oct-2008 13:59 13k
SPFLOADM.html 28-Oct-2008 13:59 13k
CICTSERV.html 28-Oct-2008 13:59 13k
JOBDDN.html 28-Oct-2008 13:59 13k
STAT.html 28-Oct-2008 13:59 13k
IMSC.html 28-Oct-2008 13:59 14k
TCPOEC 28-Oct-2008 13:59 14k
FINGER.html 28-Oct-2008 13:59 14k
L$UFSIO.html 28-Oct-2008 13:59 14k
TELBOOK 28-Oct-2008 13:59 14k
ITOA.html 28-Oct-2008 13:59 15k
SASCBRW 28-Oct-2008 13:59 15k
ORASASC.html 28-Oct-2008 13:59 15k
TRYRACF.html 28-Oct-2008 13:59 16k
ECBMAIN 28-Oct-2008 13:59 16k
APPCSERV 28-Oct-2008 13:59 16k
DESCRIBE 28-Oct-2008 13:59 16k
RECEIVER.html 28-Oct-2008 13:59 16k
RXLOCFN.html 28-Oct-2008 13:59 16k
BSDSTR.html 28-Oct-2008 13:59 16k
TCPTSERV.html 28-Oct-2008 13:59 17k
SUBCMD.html 28-Oct-2008 13:59 17k
P2UPM.html 28-Oct-2008 13:59 17k
SASCALL 28-Oct-2008 13:59 17k
SENDER.html 28-Oct-2008 13:59 18k
CMSMENU 28-Oct-2008 13:59 18k
TCPCLNT.html 28-Oct-2008 13:59 18k
OSMENU 28-Oct-2008 13:59 18k
CICCLNT.html 28-Oct-2008 13:59 18k
SVC99C.html 28-Oct-2008 13:59 19k
APPCSEND.html 28-Oct-2008 13:59 19k
PDSREAD.html 28-Oct-2008 13:59 19k
TCPLISTN 28-Oct-2008 13:59 20k
CALENDAR.html 28-Oct-2008 13:59 21k
TCPOEC.html 28-Oct-2008 13:59 22k
TELBOOK.html 28-Oct-2008 13:59 22k
SASCBRW.html 28-Oct-2008 13:59 23k
CICLISTN 28-Oct-2008 13:59 23k
ECBMAIN.html 28-Oct-2008 13:59 24k
APPCSERV.html 28-Oct-2008 13:59 24k
WDSAMPLE 28-Oct-2008 13:59 24k
BARCHART 28-Oct-2008 13:59 24k
P2UREAD 28-Oct-2008 13:59 24k
DESCRIBE.html 28-Oct-2008 13:59 24k
WDHYPER 28-Oct-2008 13:59 25k
SASCALL.html 28-Oct-2008 13:59 26k
CMSMENU.html 28-Oct-2008 13:59 26k
OSMENU.html 28-Oct-2008 13:59 26k
TCPLISTN.html 28-Oct-2008 13:59 28k
L$CLDBEX 28-Oct-2008 13:59 30k
L$CLSAMP 28-Oct-2008 13:59 32k
CICLISTN.html 28-Oct-2008 13:59 32k
P2UREAD.html 28-Oct-2008 13:59 33k
WDSAMPLE.html 28-Oct-2008 13:59 33k
BARCHART.html 28-Oct-2008 13:59 33k
TCPOED 28-Oct-2008 13:59 33k
WDHYPER.html 28-Oct-2008 13:59 34k
SVC99 28-Oct-2008 13:59 38k
L$CLDBEX.html 28-Oct-2008 13:59 38k
L$CLSAMP.html 28-Oct-2008 13:59 40k
TCPOED.html 28-Oct-2008 13:59 42k
P2UPSK 28-Oct-2008 13:59 45k
LOADLIBS 28-Oct-2008 13:59 47k
SVC99.html 28-Oct-2008 13:59 47k
UPDBLD 28-Oct-2008 13:59 50k
P2UPSK.html 28-Oct-2008 13:59 54k
LOADLIBS.html 28-Oct-2008 13:59 56k
UPDBLD.html 28-Oct-2008 13:59 58k
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)