Re: SMF119 - Subtype 20 and Subtype 21

2021-12-28 Thread Peter
Hello Joe

Thank you so much for the CBT 523 but looks like with SMF 119 subtype 21 I
could just see LU with the started task used. Don't see any field reporting
IP address

Is there any need to checked ?

Peter

On Tue, 28 Dec, 2021, 7:09 pm Joe Monk,  wrote:

> Have a look at file 523 on the CBTTAPE. It is a generalized SMF record
> processor, that you could probably use to extract the records and then
> report on them.
>
> //* S  M  F  S  L  C  T *
>  FILE 523
> //* *
>  FILE 523
> //*   This program will read SMF data (from the MAN *
>  FILE 523
> //*  datasets or output from IFASMFDP), and will select *
>  FILE 523
> //*  records according to user specified criteria.  *
>  FILE 523
> //*  Records can be selected by date and time, by record*
>  FILE 523
> //*  type (and /or subtype), by Jobname, or by data at an   *
>  FILE 523
> //*  offset within the record. Records must meet date/time  *
>  FILE 523
> //*  and record type criteria before being eligible for *
>  FILE 523
> //*  selection, as determined by Jobname and/or data*
>  FILE 523
> //*  specifications.*
>  FILE 523
> //* *
>  FILE 523
> //*   By default, any records selected from the input   *
>  FILE 523
> //*  will be printed to SYSPRINT, unless 'PRINT=NO' is  *
>  FILE 523
> //*  specified in the SYSIN control cards. If SYSUT2 is *
>  FILE 523
> //*  present, the selected input records will also be   *
>  FILE 523
> //*  written to it. *
>  FILE 523
> //* *
>  FILE 523
> //*   Multiple output files with different selection*
>  FILE 523
> //*  criteria can be produced in one run of SMFSLCT. The*
>  FILE 523
> //*  output DDNames and selection criteria are specified*
>  FILE 523
> //*  in the control cards in SYSIN. *
>  FILE 523
> //* *
>  FILE 523
> //*   Two user-written exits can be used with SMFSLCT - *
>  FILE 523
> //*  the first is given control after an SMF record is  *
>  FILE 523
> //*  read, and the second after an SMF record has been  *
>  FILE 523
> //*  selected.  *
>  FILE 523
> //* *
>  FILE 523
> //*  Input: *
>  FILE 523
> //*  SYSUT1   - SMF dataset - either the output from*
>  FILE 523
> //* IFASMFDP or one of the SYS1.MAN *
>  FILE 523
> //* datasets. If this DDName is not *
>  FILE 523
> //* allocated, it will be dynamically   *
>  FILE 523
> //* allocated to the active SMF dataset.*
>  FILE 523
> //* *
>  FILE 523
> //*  SYSIN- Control cards (see below).  *
>  FILE 523
> //* *
>  FILE 523
> //*  Output:*
>  FILE 523
> //*  SYSPRINT - Error messages, selected SMF records.   *
>  FILE 523
> //*  SYSUT2   - optional, selected SMF records. *
>  FILE 523
> //* *
>  FILE 523
> //*  Attributes:*
>  FILE 523
> //*  Re-entrant, Reuseable, Refreshable, Not Authorized,*
>  FILE 523
> //*  AMODE(31), RMODE(ANY)  *
>  FILE 523
>
>
> Joe
>
> On Tue, Dec 28, 2021 at 12:16 AM Jake Anderson 
> wrote:
>
> > Hello
> >
> > Is there a freeware or any sample REXX which can produce a human readable
> > output to understand any IP tied up to a VTAM(LU) by reading the SMF
> > dataset. We don't have SAS or MXG in our shop.
> >
> > Any pointers would be appreciated.
> >
> > Jake
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN 

Re: Link between datasets

2021-12-28 Thread David Crayford

+1

All the best ideas are simple

On 29/12/21 7:53 am, Tom Harper wrote:

Make them members of a PDSE.

Sent from my iPhone


This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Link between datasets

2021-12-28 Thread Matt Hogstrom
That’s a clever approach.

Matt Hogstrom
m...@hogstrom.org
+1-919-656-0564
PGP Key: 0x90ECB270
Facebook   LinkedIn 
  Twitter 

“It may be cognitive, but, it ain’t intuitive."
— Hogstrom

> On Dec 28, 2021, at 7:58 PM, CM Poncelet 
> <03e99a92061c-dmarc-requ...@listserv.ua.edu> wrote:
> 
> Try something like this (syntax might need to be corrected):
>  
> //CHECKDEL EXEC PGM=IDCAMS
> //SYSPRINT  DD SYSOUT=*
> //SYSIN DD *
>   LISTCAT ENT(AA.AA),NAME
> 
>   IF MAXCC NE 0 THEN DO
>   DELETE BB.BB NVSAM SCRATCH PURGE
>   DELETE CC.CC NVSAM SCRATCH PURGE
>   DELETE DD.DD NVSAM SCRATCH PURGE 
>   SET MAXCC EQ 0
>   END
> 
> /*
> //*
> //
>  
> 
> 
> On 28/12/2021 21:10, PINION, RICHARD W. wrote:
>> I'm going to ask what many of you may consider a foolish question.  Please 
>> be kind in
>> your criticism.  Let's say I have 4 datasets, a.a, b.b, c.c, and d.d.  Is 
>> there any way to
>> define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d?  What 
>> I would like
>> to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted.
>> Confidentiality notice: 
>> This e-mail message, including any attachments, may contain legally 
>> privileged and/or confidential information. If you are not the intended 
>> recipient(s), or the employee or agent responsible for delivery of this 
>> message to the intended recipient(s), you are hereby notified that any 
>> dissemination, distribution, or copying of this e-mail message is strictly 
>> prohibited. If you have received this message in error, please immediately 
>> notify the sender and delete this e-mail message from your computer.
>> 
>> --
>> For IBM-MAIN subscribe / signoff / archive access instructions,
>> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>> .
>> 
> 
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Link between datasets

2021-12-28 Thread CM Poncelet
Try something like this (syntax might need to be corrected):
 
//CHECKDEL EXEC PGM=IDCAMS
//SYSPRINT  DD SYSOUT=*
//SYSIN DD *
  LISTCAT ENT(AA.AA),NAME

  IF MAXCC NE 0 THEN DO
  DELETE BB.BB NVSAM SCRATCH PURGE
  DELETE CC.CC NVSAM SCRATCH PURGE
  DELETE DD.DD NVSAM SCRATCH PURGE 
  SET MAXCC EQ 0
  END

/*
//*
//
 


On 28/12/2021 21:10, PINION, RICHARD W. wrote:
> I'm going to ask what many of you may consider a foolish question.  Please be 
> kind in
> your criticism.  Let's say I have 4 datasets, a.a, b.b, c.c, and d.d.  Is 
> there any way to
> define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d?  What 
> I would like
> to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted.
> Confidentiality notice: 
> This e-mail message, including any attachments, may contain legally 
> privileged and/or confidential information. If you are not the intended 
> recipient(s), or the employee or agent responsible for delivery of this 
> message to the intended recipient(s), you are hereby notified that any 
> dissemination, distribution, or copying of this e-mail message is strictly 
> prohibited. If you have received this message in error, please immediately 
> notify the sender and delete this e-mail message from your computer.
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> .
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Link between datasets

2021-12-28 Thread Tom Harper
Make them members of a PDSE.

Sent from my iPhone


This e-mail message, including any attachments, appended messages and the
information contained therein, is for the sole use of the intended
recipient(s). If you are not an intended recipient or have otherwise
received this email message in error, any use, dissemination, distribution,
review, storage or copying of this e-mail message and the information
contained therein is strictly prohibited. If you are not an intended
recipient, please contact the sender by reply e-mail and destroy all copies
of this email message and do not otherwise utilize or retain this email
message or any or all of the information contained therein. Although this
email message and any attachments or appended messages are believed to be
free of any virus or other defect that might affect any computer system into
which it is received and opened, it is the responsibility of the recipient
to ensure that it is virus free and no responsibility is accepted by the
sender for any loss or damage arising in any way from its opening or use.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Link between datasets

2021-12-28 Thread PINION, RICHARD W.
The idea is to make datasets b.b, c.c, and d.d get deleted when a.a is
deleted.

Here's where I coming from.  Today, using ADRDSSU, programmers backup selected 
datasets
in a step, and all of the backed up datasets are contained in the one backup 
dataset.  Which
happens to be a GDG.  To restore, they code whichever generation they want.  
When the generation
rolls off, the backup is gone, whether tape or DASD.

Now, we would like for then to use FDRAPPL to replace ADRDSSU.  But, as you 
know, FDR creates one backup
dataset for each DASD volume, that contains a selected dataset.  THE FDRAPPL 
GDG ACF  contains
all of the information needed to restore the datasets.  Here's the problem I'm 
trying to solve.  The retention
of the FDR backup datasets is NOT tied to the GDG ACF.  To make FDRAPPL act 
like the current ADRDSSU
backup procedure, I'd like the FDR backup datasets to get deleted when the GDG 
ACF rolls off.  Granted, I
could set a retention period on the FDR backup datasets.  But, that doesn't 
guarantee a specific generation
of the ACF will match the backups datasets, tape or DASD.

FDR does provide a methodology that sort of ties a generation of GDG ACF to the 
backup tape sets by creating,
as the last backup on the tape set, a backup of the ACF (though a different GDG 
name).  All of the FDR generated
backup dataset names are not cataloged, just the last dataset on the tape, 
which is the backup ACF GDG.  The tape
set uses catalog control for retention.  Therefore, the GDG ACF does match the 
retained tape sets.  But, that's not
absolute guarantee, something could get out sync.

Today the programmers use DASD as the ADRDSSU dump dataset, not tape.  Even 
though, we have a VTS,
they still say "tape is slower than DASD".  It's a mindset we are having a hard 
time overcoming in pitching FDRAPPL
over ADRDSSU.  

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
David Elliot
Sent: Tuesday, December 28, 2021 4:58 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Link between datasets

[External Email. Exercise caution when clicking links or opening attachments.]

Use your JCL. Run a step to check the existence of a, if a not found use 
conditional exec to delete b,c and d.


On Tue, Dec 28, 2021, 2:51 PM Paul Gilmartin < 
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Tue, 28 Dec 2021 21:10:32 +, PINION, RICHARD W. wrote:
>
> >I'm going to ask what many of you may consider a foolish question.
> Please be kind in
> >your criticism.  Let's say I have 4 datasets, a.a, b.b, c.c, and d.d.  
> >Is
> there any way to
> >define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d?
> What I would like
> >to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted.
> >
> This sounds a bit like referential integrity in a data  base:
> <
> https://urldefense.com/v3/__https://www.ibm.com/docs/en/informix-serve
> rs/14.10?topic=integrity-referential__;!!HnnddUIWDII9UQ!BsqeK1yfgpJ7bC
> DPcEThl7JZhHCY1hzNUGyQ16UBKxLVDAZaOUsVOuApAb3095Ts3G4$
> >,
> not foolish but probably little help to you.
>
> -- gil
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions, send 
> email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
Confidentiality notice: 
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Link between datasets

2021-12-28 Thread Paul Gilmartin
On Tue, 28 Dec 2021 21:10:32 +, PINION, RICHARD W. wrote:

>I'm going to ask what many of you may consider a foolish question.  Please be 
>kind in
>your criticism.  Let's say I have 4 datasets, a.a, b.b, c.c, and d.d.  Is 
>there any way to
>define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d?  What I 
>would like
>to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted.
>
Why?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Link between datasets

2021-12-28 Thread Joel C. Ewing
For arbitrary data set names, no way to do it with any built-in data set 
controls.


The easiest way to do this in a Unix/Linux environment would be to 
design the application to use a unique directory name that contains all 
4 files and use the convention that when you want to delete the 
"primary" data set that you do it by deleting the directory and all its 
contents to delete the 4 related files together.   The MVS data set 
counterpart to this would be to design the naming convention for these 
files so they have a common unique set of high-level qualifiers, so that 
a utility deleting all data sets with that specific set of high-level 
qualifiers would delete all related data sets together.  Alternatively, 
if the naming conventions would allow a REXX script to deduce the names 
of all related data sets from the primary data set name, you could use a 
REXX script to delete all the related pieces.


If you have no control over the data set names chosen so the names 
themselves don't indicate the connection, there still has to be some 
process that knows the data sets are related.  That process could 
perhaps create a "control" data set (say "a.a.delete" for the example 
given) which  contains directives for some utility (IDCAMS, DFDSS, etc) 
to delete all four data sets at the same time, and whatever process 
needs to delete the main data set would have to follow the convention of 
using that "delete" data set with the appropriate utility to delete all 
4 data sets and then delete the "delete" control data set.


Those would seem to be the simplest approaches to achieve the required 
result.  Things get more complex if you give someone the power to 
directly delete the primary data set by itself and they refuse to follow 
the required conventions to manage the data sets.  There are possibly 
ways (program-controlled dataset access) that RACF could be used to 
restrict the ability to delete a data set unless the intended utility is 
being used.


Any way you choose do it will require setting up conventions that 
everyone creating/deleting these data sets will be required to follow.  
Good data set naming conventions are the simplest solution and also make 
it simple to eyeball violations of deletion policies and perform some 
kind of automated cleanup.


    J.C. Ewing

On 12/28/21 15:15, Seymour J Metz wrote:

I'm not aware of any way to do that for either legacy datasets or for paths 
(Unix files). However, it should be possible to put together a subsytem with 
that sort of behavior for datasets handled by the subsystem.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
PINION, RICHARD W. [rpin...@firsthorizon.com]
Sent: Tuesday, December 28, 2021 4:10 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Link between datasets

I'm going to ask what many of you may consider a foolish question.  Please be 
kind in
your criticism.  Let's say I have 4 datasets, a.a, b.b, c.c, and d.d.  Is there 
any way to
define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d?  What I 
would like
to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted.
Confidentiality notice:
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


--
Joel C. Ewing

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Link between datasets

2021-12-28 Thread David Elliot
Use your JCL. Run a step to check the existence of a, if a not found use
conditional exec to delete b,c and d.


On Tue, Dec 28, 2021, 2:51 PM Paul Gilmartin <
000433f07816-dmarc-requ...@listserv.ua.edu> wrote:

> On Tue, 28 Dec 2021 21:10:32 +, PINION, RICHARD W. wrote:
>
> >I'm going to ask what many of you may consider a foolish question.
> Please be kind in
> >your criticism.  Let's say I have 4 datasets, a.a, b.b, c.c, and d.d.  Is
> there any way to
> >define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d?
> What I would like
> >to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted.
> >
> This sounds a bit like referential integrity in a data  base:
> <
> https://www.ibm.com/docs/en/informix-servers/14.10?topic=integrity-referential
> >,
> not foolish but probably little help to you.
>
> -- gil
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Link between datasets

2021-12-28 Thread Paul Gilmartin
On Tue, 28 Dec 2021 21:10:32 +, PINION, RICHARD W. wrote:

>I'm going to ask what many of you may consider a foolish question.  Please be 
>kind in
>your criticism.  Let's say I have 4 datasets, a.a, b.b, c.c, and d.d.  Is 
>there any way to
>define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d?  What I 
>would like
>to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted.
>
This sounds a bit like referential integrity in a data  base:
,
not foolish but probably little help to you.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Link between datasets

2021-12-28 Thread Seymour J Metz
I'm not aware of any way to do that for either legacy datasets or for paths 
(Unix files). However, it should be possible to put together a subsytem with 
that sort of behavior for datasets handled by the subsystem.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
PINION, RICHARD W. [rpin...@firsthorizon.com]
Sent: Tuesday, December 28, 2021 4:10 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Link between datasets

I'm going to ask what many of you may consider a foolish question.  Please be 
kind in
your criticism.  Let's say I have 4 datasets, a.a, b.b, c.c, and d.d.  Is there 
any way to
define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d?  What I 
would like
to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted.
Confidentiality notice:
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Link between datasets

2021-12-28 Thread PINION, RICHARD W.
I'm going to ask what many of you may consider a foolish question.  Please be 
kind in
your criticism.  Let's say I have 4 datasets, a.a, b.b, c.c, and d.d.  Is there 
any way to
define a relationship between a.a to b.b, a.a to c.c , and a.a to d.d?  What I 
would like
to happen, if a.a is deleted, b.b, c.c, and d.d would be deleted.
Confidentiality notice: 
This e-mail message, including any attachments, may contain legally privileged 
and/or confidential information. If you are not the intended recipient(s), or 
the employee or agent responsible for delivery of this message to the intended 
recipient(s), you are hereby notified that any dissemination, distribution, or 
copying of this e-mail message is strictly prohibited. If you have received 
this message in error, please immediately notify the sender and delete this 
e-mail message from your computer.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF119 - Subtype 20 and Subtype 21

2021-12-28 Thread Roberto Halais
Smf rec 119 subtype 21 has luname and ip addresses local and remote. Also
ports and encryption information.

On Tue, Dec 28, 2021 at 2:10 PM Seymour J Metz  wrote:

> A TN3270 server or session manager can pass an IP address to VTAM in a
> Control Vector 64 (CV64), but the only session manager that I know to have
> the support is NVAS and I haven't a clue which, if any, TN3270 servers has
> it or whether the IP address is in any SMF record.
>
> In TSO a GTTERM TERMID will retrieve the IP address if available.
>
>
> --
> Shmuel (Seymour J.) Metz
> http://mason.gmu.edu/~smetz3
>
> 
> From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf
> of Jake Anderson [justmainfra...@gmail.com]
> Sent: Tuesday, December 28, 2021 1:16 AM
> To: IBM-MAIN@LISTSERV.UA.EDU
> Subject: SMF119 - Subtype 20 and Subtype 21
>
> Hello
>
> Is there a freeware or any sample REXX which can produce a human readable
> output to understand any IP tied up to a VTAM(LU) by reading the SMF
> dataset. We don't have SAS or MXG in our shop.
>
> Any pointers would be appreciated.
>
> Jake
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>
-- 
Politics: Poli (many) - tics (blood sucking parasites)

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF119 - Subtype 20 and Subtype 21

2021-12-28 Thread Seymour J Metz
A TN3270 server or session manager can pass an IP address to VTAM in a Control 
Vector 64 (CV64), but the only session manager that I know to have the support 
is NVAS and I haven't a clue which, if any, TN3270 servers has it or whether 
the IP address is in any SMF record.

In TSO a GTTERM TERMID will retrieve the IP address if available.


--
Shmuel (Seymour J.) Metz
http://mason.gmu.edu/~smetz3


From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of 
Jake Anderson [justmainfra...@gmail.com]
Sent: Tuesday, December 28, 2021 1:16 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: SMF119 - Subtype 20 and Subtype 21

Hello

Is there a freeware or any sample REXX which can produce a human readable
output to understand any IP tied up to a VTAM(LU) by reading the SMF
dataset. We don't have SAS or MXG in our shop.

Any pointers would be appreciated.

Jake

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF119 - Subtype 20 and Subtype 21

2021-12-28 Thread allan winston
A  few additional CBT contributions that may be useful:

File 600 formats types 118 and 119.  Note that it is written in C.

File 134 includes the REVIEW program which is a TSO command processor to
view sequential files.  When viewing SMF files, one uses the subcommand
'SMF ON" to trigger SMF formatting.  While it is unlikely to already
contain processing of type 119 records, it is written in ALC and you could
add the logic for type 119.

  Allan

On Tue, Dec 28, 2021 at 10:09 AM Joe Monk  wrote:

> Have a look at file 523 on the CBTTAPE. It is a generalized SMF record
> processor, that you could probably use to extract the records and then
> report on them.
>
> //* S  M  F  S  L  C  T *
>  FILE 523
> //* *
>  FILE 523
> //*   This program will read SMF data (from the MAN *
>  FILE 523
> //*  datasets or output from IFASMFDP), and will select *
>  FILE 523
> //*  records according to user specified criteria.  *
>  FILE 523
> //*  Records can be selected by date and time, by record*
>  FILE 523
> //*  type (and /or subtype), by Jobname, or by data at an   *
>  FILE 523
> //*  offset within the record. Records must meet date/time  *
>  FILE 523
> //*  and record type criteria before being eligible for *
>  FILE 523
> //*  selection, as determined by Jobname and/or data*
>  FILE 523
> //*  specifications.*
>  FILE 523
> //* *
>  FILE 523
> //*   By default, any records selected from the input   *
>  FILE 523
> //*  will be printed to SYSPRINT, unless 'PRINT=NO' is  *
>  FILE 523
> //*  specified in the SYSIN control cards. If SYSUT2 is *
>  FILE 523
> //*  present, the selected input records will also be   *
>  FILE 523
> //*  written to it. *
>  FILE 523
> //* *
>  FILE 523
> //*   Multiple output files with different selection*
>  FILE 523
> //*  criteria can be produced in one run of SMFSLCT. The*
>  FILE 523
> //*  output DDNames and selection criteria are specified*
>  FILE 523
> //*  in the control cards in SYSIN. *
>  FILE 523
> //* *
>  FILE 523
> //*   Two user-written exits can be used with SMFSLCT - *
>  FILE 523
> //*  the first is given control after an SMF record is  *
>  FILE 523
> //*  read, and the second after an SMF record has been  *
>  FILE 523
> //*  selected.  *
>  FILE 523
> //* *
>  FILE 523
> //*  Input: *
>  FILE 523
> //*  SYSUT1   - SMF dataset - either the output from*
>  FILE 523
> //* IFASMFDP or one of the SYS1.MAN *
>  FILE 523
> //* datasets. If this DDName is not *
>  FILE 523
> //* allocated, it will be dynamically   *
>  FILE 523
> //* allocated to the active SMF dataset.*
>  FILE 523
> //* *
>  FILE 523
> //*  SYSIN- Control cards (see below).  *
>  FILE 523
> //* *
>  FILE 523
> //*  Output:*
>  FILE 523
> //*  SYSPRINT - Error messages, selected SMF records.   *
>  FILE 523
> //*  SYSUT2   - optional, selected SMF records. *
>  FILE 523
> //* *
>  FILE 523
> //*  Attributes:*
>  FILE 523
> //*  Re-entrant, Reuseable, Refreshable, Not Authorized,*
>  FILE 523
> //*  AMODE(31), RMODE(ANY)  *
>  FILE 523
>
>
> Joe
>
> On Tue, Dec 28, 2021 at 12:16 AM Jake Anderson 
> wrote:
>
> > Hello
> >
> > Is there a freeware or any sample REXX which can produce a human readable
> > output to understand any IP tied up to a VTAM(LU) by reading the SMF
> > dataset. We don't have SAS or MXG in our shop.
> >
> > Any pointers would be appreciated.
> >
> > Jake
> >
> > --
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
> >
>
> 

Re: SMF119 - Subtype 20 and Subtype 21

2021-12-28 Thread Joe Monk
Have a look at file 523 on the CBTTAPE. It is a generalized SMF record
processor, that you could probably use to extract the records and then
report on them.

//* S  M  F  S  L  C  T *   FILE 523
//* *   FILE 523
//*   This program will read SMF data (from the MAN *   FILE 523
//*  datasets or output from IFASMFDP), and will select *   FILE 523
//*  records according to user specified criteria.  *   FILE 523
//*  Records can be selected by date and time, by record*   FILE 523
//*  type (and /or subtype), by Jobname, or by data at an   *   FILE 523
//*  offset within the record. Records must meet date/time  *   FILE 523
//*  and record type criteria before being eligible for *   FILE 523
//*  selection, as determined by Jobname and/or data*   FILE 523
//*  specifications.*   FILE 523
//* *   FILE 523
//*   By default, any records selected from the input   *   FILE 523
//*  will be printed to SYSPRINT, unless 'PRINT=NO' is  *   FILE 523
//*  specified in the SYSIN control cards. If SYSUT2 is *   FILE 523
//*  present, the selected input records will also be   *   FILE 523
//*  written to it. *   FILE 523
//* *   FILE 523
//*   Multiple output files with different selection*   FILE 523
//*  criteria can be produced in one run of SMFSLCT. The*   FILE 523
//*  output DDNames and selection criteria are specified*   FILE 523
//*  in the control cards in SYSIN. *   FILE 523
//* *   FILE 523
//*   Two user-written exits can be used with SMFSLCT - *   FILE 523
//*  the first is given control after an SMF record is  *   FILE 523
//*  read, and the second after an SMF record has been  *   FILE 523
//*  selected.  *   FILE 523
//* *   FILE 523
//*  Input: *   FILE 523
//*  SYSUT1   - SMF dataset - either the output from*   FILE 523
//* IFASMFDP or one of the SYS1.MAN *   FILE 523
//* datasets. If this DDName is not *   FILE 523
//* allocated, it will be dynamically   *   FILE 523
//* allocated to the active SMF dataset.*   FILE 523
//* *   FILE 523
//*  SYSIN- Control cards (see below).  *   FILE 523
//* *   FILE 523
//*  Output:*   FILE 523
//*  SYSPRINT - Error messages, selected SMF records.   *   FILE 523
//*  SYSUT2   - optional, selected SMF records. *   FILE 523
//* *   FILE 523
//*  Attributes:*   FILE 523
//*  Re-entrant, Reuseable, Refreshable, Not Authorized,*   FILE 523
//*  AMODE(31), RMODE(ANY)  *   FILE 523


Joe

On Tue, Dec 28, 2021 at 12:16 AM Jake Anderson 
wrote:

> Hello
>
> Is there a freeware or any sample REXX which can produce a human readable
> output to understand any IP tied up to a VTAM(LU) by reading the SMF
> dataset. We don't have SAS or MXG in our shop.
>
> Any pointers would be appreciated.
>
> Jake
>
> --
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF119 - Subtype 20 and Subtype 21

2021-12-28 Thread Carmen Vitullo
AH! got ya, thanks for checking in - I checked back and found a post 
from Lizette back on 5/8/2017 about a utility called DAF on the 
cbttape.org site, I've not checked, but this may be worth a try.


Carmen

On 12/28/2021 9:01 AM, Sri h Kolusu wrote:

Maybe Kolusu can provide a sample DFSORT job if he is online this week.

Carmen,

Unfortunately DFSORT cannot process variable triplets. The information that
OP is looking is in the data section which is based on offset from
beginning of record in a field named  SMF119S1Off.

Thanks,
Kolusu



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN


--
/I am not bound to win, but I am bound to be true. I am not bound to 
succeed, but I am bound to live by the light that I have. I must stand 
with anybody that stands right, and stand with him while he is right, 
and part with him when he goes wrong. *Abraham Lincoln*/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF119 - Subtype 20 and Subtype 21

2021-12-28 Thread Sri h Kolusu
> Maybe Kolusu can provide a sample DFSORT job if he is online this week.

Carmen,

Unfortunately DFSORT cannot process variable triplets. The information that
OP is looking is in the data section which is based on offset from
beginning of record in a field named  SMF119S1Off.

Thanks,
Kolusu



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF119 - Subtype 20 and Subtype 21

2021-12-28 Thread Carmen Vitullo

Another tool, still not free I was checking out is

http://www.pacsys.com/smf/smf_example_list.htm


best of luck


Carmen


On 12/28/2021 8:44 AM, Carmen Vitullo wrote:
Jake, I believe DFSORT can provide some reports for the 119 SMF 
record, I don't have SAS / MXG any longer either, I am now using 
Easysmf, the latest update provides some TCP statistics, but not free.


Maybe Kolusu can provide a sample DFSORT job if he is online this week.

Carmen

On 12/28/2021 12:16 AM, Jake Anderson wrote:

Hello

Is there a freeware or any sample REXX which can produce a human 
readable

output to understand any IP tied up to a VTAM(LU) by reading the SMF
dataset. We don't have SAS or MXG in our shop.

Any pointers would be appreciated.

Jake

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN


--
/I am not bound to win, but I am bound to be true. I am not bound to 
succeed, but I am bound to live by the light that I have. I must stand 
with anybody that stands right, and stand with him while he is right, 
and part with him when he goes wrong. *Abraham Lincoln*/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: SMF119 - Subtype 20 and Subtype 21

2021-12-28 Thread Carmen Vitullo
Jake, I believe DFSORT can provide some reports for the 119 SMF record, 
I don't have SAS / MXG any longer either, I am now using Easysmf, the 
latest update provides some TCP statistics, but not free.


Maybe Kolusu can provide a sample DFSORT job if he is online this week.

Carmen

On 12/28/2021 12:16 AM, Jake Anderson wrote:

Hello

Is there a freeware or any sample REXX which can produce a human readable
output to understand any IP tied up to a VTAM(LU) by reading the SMF
dataset. We don't have SAS or MXG in our shop.

Any pointers would be appreciated.

Jake

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email tolists...@listserv.ua.edu  with the message: INFO IBM-MAIN


--
/I am not bound to win, but I am bound to be true. I am not bound to 
succeed, but I am bound to live by the light that I have. I must stand 
with anybody that stands right, and stand with him while he is right, 
and part with him when he goes wrong. *Abraham Lincoln*/


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN