//PI4 job card info //* //* Copyright (c) 1996, SAS Institute Inc. //* Unpublished - All Rights Reserved //* //* //* NAME: PI4 //* //* PURPOSE: SAS/C Debugger Example Program. //* This program computes pi/4 using a slowly converging //* infinite series for atan(1.0). The SIGINT signal can //* be generated to terminate summation or print an //* indication of progress so far. //* //* This example is part of Debug Session 12 which shows //* how to use the attn command. //* See SAS/C Debugger User's Guide and Reference Third //* Edition, Chapter 6, pg. 175. //* //* FUNCTION: Compile and link source files listed below. //* make sure to use the =DEBUG compile option //* //* SOURCE: see prefix.SAMPLE.C members - //* PI4 //* //* NOTE: Verify the statements indicated by the "<== VERIFY" //* have been customized for the local environment. //**************************************************************** //* //************************** //* COMPILE and LINK * //************************** //* //COMPLNK EXEC PROC=LC370CL,PARM.C='DEBUG,SNAME(PI4)' //C.SYSIN DD DSN=prefix.SAMPLE.C(PI4),DISP=SHR <== VERIFY //C.SYSLIN DD DSN=your.object.library(PI4),DISP=SHR <== VERIFY //C.SYSDBLIB DD DSN=your.debugger.dataset,DISP=SHR <== VERIFY //LKED.SYSLMOD DD DSN=your.load.library(PI4),DISP=SHR <== VERIFY //* //