Index of /techsup/download/SASC/sample/c

      Name                    Last modified       Size  Description

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