On Mon, 28 Jan 2008 16:06:19 -0600, Kelman, Tom 
<[EMAIL PROTECTED]> wrote:

>> -----------------------SNIP-----------------------
>> Without buying any special software is there away to identify SAS
>usage
>> by component? Not just who uses SAS bt who uses SAS/FSP , SAS/GRAPH
>> etc ...
>>
>> ---------------From Ed Gould ________________________
>>
>> OK are we talking batch or TSO or ?
>>
>> If its batch it should be easy to use the type 4(or 3x) SMF record.
>>
>> The SMF record(s) contain the program name ie SAS or SASFSP or
>SASGRAPH
>>
>> Its just a matter of selecting the program(s) you want and then
>> listing from the record JOBNAME   TIME & DATE  and anything else
>> (including CPU time) just let you fingers do the waking through the
>> SMF manual it has record layouts for pretty much all IBM cut SMF
>> records. Some component(s) have their own format like DFSORT and you
>> *MAY* have to look into that specific product for information, Hint
>> here: You can use SAS or DFSORT or one of the programs (DAF as an
>> example off the CBTTAPE).
>>
>> Ed
>>
>> ----------------------------------------------------------------------
>Ed,
>
>I may be wrong, but I don't think the SMF Type 3x records will work
>here.  The program in the SMF type 3x records would be the one executed
>by the "EXEC PGM=" JCL statement, ie the primary entry point.  For SAS
>that would be one of three programs (I think there are three) determined
>by the way you bundle SAS when it is installed.  At my shop the program
>is SASB.  So the program ID in the SMF type 3x records will always be
>SASB.  The SASFSP, SASGRAPH, etc. are determined by the particular SAS
>statement that is coded in the SAS program.  To get this information one
>needs to install the SVC that comes with SAS and set SAS up to record
>its own SMF records for each SAS procedure executed.  I think that has
>already been mentioned in previous postings.
>
>Tom Kelman
>
>
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
>Search the archives at http://bama.ua.edu/archives/ibm-main.html

Consider that SAS has a documented ISPF Dialog Manager interface, 
documented in the SAS for z/OS companion document.  I've used it to do an 
essential MAIL-MERGE with an ISPF skeleton member and FTINCL file-tailoring 
logic within a SAS DATA step.

Also, SAS architecture supports being invoked from another calling program.  
For example, CA MICS executes program PGM=MACTL and attaches the SAS 
program, as their general architecture implementation.

Scott Barry
SBBWorks, Inc.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to