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

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [TXT] APPCSEND 04-Jun-2014 16:19 11K [TXT] APPCSEND.html 04-Jun-2014 16:19 19K [TXT] APPCSERV 04-Jun-2014 16:19 16K [TXT] APPCSERV.html 04-Jun-2014 16:19 24K [TXT] BARCHART 04-Jun-2014 16:19 24K [TXT] BARCHART.html 04-Jun-2014 16:19 33K [TXT] BSDSTR 04-Jun-2014 16:19 8.4K [TXT] BSDSTR.html 04-Jun-2014 16:19 16K [TXT] BTREE 04-Jun-2014 16:19 5.0K [TXT] BTREE.html 04-Jun-2014 16:19 13K [TXT] CALENDAR 04-Jun-2014 16:19 13K [TXT] CALENDAR.html 04-Jun-2014 16:19 21K [TXT] CICCLNT 04-Jun-2014 16:19 9.9K [TXT] CICCLNT.html 04-Jun-2014 16:19 18K [TXT] CICLISTN 04-Jun-2014 16:19 23K [TXT] CICLISTN.html 04-Jun-2014 16:19 32K [TXT] CICLQUIT 04-Jun-2014 16:19 2.1K [TXT] CICLQUIT.html 04-Jun-2014 16:19 9.9K [TXT] CICTSERV 04-Jun-2014 16:19 5.2K [TXT] CICTSERV.html 04-Jun-2014 16:19 13K [TXT] CMSMENU 04-Jun-2014 16:19 18K [TXT] CMSMENU.html 04-Jun-2014 16:19 26K [TXT] DESCRIBE 04-Jun-2014 16:19 16K [TXT] DESCRIBE.html 04-Jun-2014 16:19 24K [TXT] DYNALLOC 04-Jun-2014 16:19 4.6K [TXT] DYNALLOC.html 04-Jun-2014 16:19 13K [TXT] ECBMAIN 04-Jun-2014 16:19 16K [TXT] ECBMAIN.html 04-Jun-2014 16:19 24K [TXT] ECBTASK 04-Jun-2014 16:19 2.9K [TXT] ECBTASK.html 04-Jun-2014 16:19 11K [TXT] FINGER 04-Jun-2014 16:19 5.9K [TXT] FINGER.html 04-Jun-2014 16:19 14K [TXT] FSSLALL 04-Jun-2014 16:19 3.5K [TXT] FSSLALL.html 04-Jun-2014 16:19 11K [TXT] FTOC 04-Jun-2014 16:19 2.1K [TXT] FTOC.html 04-Jun-2014 16:19 9.9K [TXT] GETHENT 04-Jun-2014 16:19 4.3K [TXT] GETHENT.html 04-Jun-2014 16:19 12K [TXT] GETHID 04-Jun-2014 16:19 2.6K [TXT] GETHID.html 04-Jun-2014 16:19 10K [TXT] GETHNM 04-Jun-2014 16:19 2.4K [TXT] GETHNM.html 04-Jun-2014 16:19 10K [TXT] GETSENT 04-Jun-2014 16:19 3.2K [TXT] GETSENT.html 04-Jun-2014 16:19 11K [TXT] GHBNM 04-Jun-2014 16:19 3.8K [TXT] GHBNM.html 04-Jun-2014 16:19 12K [TXT] GSBNM 04-Jun-2014 16:19 3.7K [TXT] GSBNM.html 04-Jun-2014 16:19 12K [TXT] HI2ME 04-Jun-2014 16:19 2.2K [TXT] HI2ME.html 04-Jun-2014 16:19 10K [TXT] IMSC 04-Jun-2014 16:19 5.7K [TXT] IMSC.html 04-Jun-2014 16:19 14K [TXT] ISPFEXIT 04-Jun-2014 16:19 5.1K [TXT] ISPFEXIT.html 04-Jun-2014 16:19 13K [TXT] ISPFUSER 04-Jun-2014 16:19 4.0K [TXT] ISPFUSER.html 04-Jun-2014 16:19 12K [TXT] ITOA 04-Jun-2014 16:19 6.6K [TXT] ITOA.html 04-Jun-2014 16:19 15K [TXT] JOBDDN 04-Jun-2014 16:19 5.5K [TXT] JOBDDN.html 04-Jun-2014 16:19 13K [TXT] L$CLDBEX 04-Jun-2014 16:19 30K [TXT] L$CLDBEX.html 04-Jun-2014 16:19 38K [   ] L$CLSAMP 04-Jun-2014 16:19 32K [TXT] L$CLSAMP.html 04-Jun-2014 16:19 40K [TXT] L$UFSIO 04-Jun-2014 16:19 6.0K [TXT] L$UFSIO.html 04-Jun-2014 16:19 14K [TXT] LOADLIBS 04-Jun-2014 16:19 47K [TXT] LOADLIBS.html 04-Jun-2014 16:19 56K [TXT] ORASASC 04-Jun-2014 16:19 7.0K [TXT] ORASASC.html 04-Jun-2014 16:19 15K [TXT] OSMENU 04-Jun-2014 16:19 18K [TXT] OSMENU.html 04-Jun-2014 16:19 26K [   ] P2UPM 04-Jun-2014 16:19 9.4K [TXT] P2UPM.html 04-Jun-2014 16:19 17K [TXT] P2UPSK 04-Jun-2014 16:19 45K [TXT] P2UPSK.html 04-Jun-2014 16:19 54K [TXT] P2UPSKCM 04-Jun-2014 16:19 3.2K [TXT] P2UPSKCM.html 04-Jun-2014 16:19 11K [TXT] P2UREAD 04-Jun-2014 16:19 24K [TXT] P2UREAD.html 04-Jun-2014 16:19 33K [   ] PDSREAD 04-Jun-2014 16:19 11K [TXT] PDSREAD.html 04-Jun-2014 16:19 19K [TXT] PI4 04-Jun-2014 16:19 4.4K [TXT] PI4.html 04-Jun-2014 16:19 12K [TXT] README.txt 04-Jun-2014 16:19 10K [TXT] RECEIVER 04-Jun-2014 16:19 8.0K [TXT] RECEIVER.html 04-Jun-2014 16:19 16K [TXT] RESINIT 04-Jun-2014 16:19 5.1K [TXT] RESINIT.html 04-Jun-2014 16:19 13K [TXT] RXLOCFN 04-Jun-2014 16:19 8.2K [TXT] RXLOCFN.html 04-Jun-2014 16:19 16K [TXT] SASCALL 04-Jun-2014 16:19 17K [TXT] SASCALL.html 04-Jun-2014 16:19 26K [TXT] SASCAMA 04-Jun-2014 16:19 3.0K [TXT] SASCAMA.html 04-Jun-2014 16:19 11K [TXT] SASCAMB 04-Jun-2014 16:19 3.1K [TXT] SASCAMB.html 04-Jun-2014 16:19 11K [TXT] SASCAMC 04-Jun-2014 16:19 3.2K [TXT] SASCAMC.html 04-Jun-2014 16:19 11K [TXT] SASCBRW 04-Jun-2014 16:19 15K [TXT] SASCBRW.html 04-Jun-2014 16:19 23K [TXT] SASCMNU 04-Jun-2014 16:19 3.0K [TXT] SASCMNU.html 04-Jun-2014 16:19 11K [TXT] SASCSAMP 04-Jun-2014 16:19 4.2K [TXT] SASCSAMP.html 04-Jun-2014 16:19 12K [TXT] SENDER 04-Jun-2014 16:19 9.5K [TXT] SENDER.html 04-Jun-2014 16:19 18K [TXT] SPFLOAD 04-Jun-2014 16:19 4.4K [TXT] SPFLOAD.html 04-Jun-2014 16:19 12K [TXT] SPFLOADM 04-Jun-2014 16:19 5.1K [TXT] SPFLOADM.html 04-Jun-2014 16:19 13K [TXT] STAT 04-Jun-2014 16:19 5.5K [TXT] STAT.html 04-Jun-2014 16:19 13K [TXT] SUBCMD 04-Jun-2014 16:19 8.8K [TXT] SUBCMD.html 04-Jun-2014 16:19 17K [TXT] SVC99 04-Jun-2014 16:19 38K [TXT] SVC99.html 04-Jun-2014 16:19 47K [TXT] SVC99C 04-Jun-2014 16:19 11K [TXT] SVC99C.html 04-Jun-2014 16:19 19K [TXT] SYNAD 04-Jun-2014 16:19 4.1K [TXT] SYNAD.html 04-Jun-2014 16:19 12K [TXT] TCPCLNT 04-Jun-2014 16:19 9.8K [TXT] TCPCLNT.html 04-Jun-2014 16:19 18K [TXT] TCPLISTN 04-Jun-2014 16:19 20K [TXT] TCPLISTN.html 04-Jun-2014 16:19 28K [TXT] TCPOEC 04-Jun-2014 16:19 14K [TXT] TCPOEC.html 04-Jun-2014 16:19 22K [TXT] TCPOED 04-Jun-2014 16:19 33K [TXT] TCPOED.html 04-Jun-2014 16:19 42K [TXT] TCPTSERV 04-Jun-2014 16:19 8.6K [TXT] TCPTSERV.html 04-Jun-2014 16:19 17K [TXT] TELBOOK 04-Jun-2014 16:19 14K [TXT] TELBOOK.html 04-Jun-2014 16:19 22K [TXT] TIOTLIST 04-Jun-2014 16:19 3.0K [TXT] TIOTLIST.html 04-Jun-2014 16:19 11K [TXT] TRYRACF 04-Jun-2014 16:19 7.7K [TXT] TRYRACF.html 04-Jun-2014 16:19 16K [TXT] UPDBLD 04-Jun-2014 16:19 50K [TXT] UPDBLD.html 04-Jun-2014 16:19 58K [TXT] WDHYPER 04-Jun-2014 16:19 25K [TXT] WDHYPER.html 04-Jun-2014 16:19 34K [TXT] WDSAMPLE 04-Jun-2014 16:19 24K [TXT] WDSAMPLE.html 04-Jun-2014 16:19 33K [TXT] WRDCNT1 04-Jun-2014 16:19 3.1K [TXT] WRDCNT1.html 04-Jun-2014 16:19 11K [TXT] WRDCNT2A 04-Jun-2014 16:19 2.0K [TXT] WRDCNT2A.html 04-Jun-2014 16:19 9.9K [TXT] WRDCNT2B 04-Jun-2014 16:19 2.9K [TXT] WRDCNT2B.html 04-Jun-2014 16:19 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)