Re: Printing GTF trace?

2021-04-25 Thread Jesse 1 Robinson
Widening the perspective. Versatile IPCS is used to analyze all sorts of 
dumps--SVC, standalone, SYSM--as well as GTF trace, which can be for hardware 
or software or both. So why is it so little used outside of the 'system 
programming' inner sanctum? At my one and only GUIDE conference in 1980, one 
session on IPCS focused on the question of usage. This was in 1980. At that 
time IPCS required SAF READ access to SYS1.PARMLIB. It had to be THE system 
PARMLIB. A copy would not do. The problem for many shops was that access to 
PARMLIB was prohibited by for general users. Meanwhile ISVs rallied to provide 
user-oriented products that cost money--IPCS is 'free'--but did not require 
challenging corporate security policies. 

Somewhere along the line IPCS's PARMLIB requirement was dropped, but it was too 
late to overcome the ISV offerings in the public mind. I was once called in to 
help with a COBOL application that was receiving inexplicable abends. The ISV 
product did not help. I set up a SLIP trap to capture the 'first abend', which 
turned out to be a run of the mill S0C7 caused by bad input data. That abend 
was further mucked up by an ancient SPIE routine that corrupted registers and 
created a different, wholly unrelated abend.

So why is it called 'IPCS' anyway? Interactive Problem Control System. 
Originally IPCS provided an elaborate mechanism for managing an inventory of 
dumps and traces. That function disappeared altogether even as analytical 
functions were enhanced. Like, why is it called 'TSO'? There's no time sharing, 
and it's not optional. Old names persist like those carved on headstones.

.
.
J.O.Skip Robinson
Southern California Edison Company
Electric Dragon Team Paddler 
SHARE MVS Program Co-Manager
323-715-0595 Mobile
626-543-6132 Office ⇐=== NEW
robin...@sce.com

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
Colin Paice
Sent: Thursday, April 22, 2021 10:10 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: (External):Re: Printing GTF trace?

*** EXTERNAL EMAIL - Use caution when opening links or attachments ***

For processing IBM product GTF traces you use a command like GTF USR(ALL) to 
process "user" records.

Each product has a format number, MQ has D9.
When a record is processed, the GTF processing in IPCS looks up this format 
number xx, and then invokes a routine AMDUSRxx (or AMDUSRD9  for MQ).
This program takes the record and formats it.
You could write your own formatter.  The basic record structure is well 
documented, but the products specific stuff may not be documented.

These programs typically write to IPCSPRTN, but could write to any other dd 
statement.,

I used to have my own program that did special processing of the data.
This wrote to more than one output dataset.

MVS (Non USR) records have special formatting such as options SSCH, SVC etc.

Colin


On Thu, 22 Apr 2021 at 14:18, Peter Relson  wrote:

> Isn't using file IPCSPRNT the intended way to print something produced 
> by IPCS report(s)?
>
> Allocate data set x with RECFM VBA and suitable LRECL/BLKSIZE such as 
> LRECL 137 BLKSIZE 27998 or LRECL 255 BLKSIZE 6144 TSO ALLOC 
> F(IPCSPRNT) DA(x) do your IPCS commands with the PRINT operand 
> (whether that be GTF or
> other)
> IPCS Close Print
>
> Peter Relson
> z/OS Core Technology Design
--

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


Re: Printing GTF trace?

2021-04-22 Thread Colin Paice
For processing IBM product GTF traces you use a command like
GTF USR(ALL) to process "user" records.

Each product has a format number, MQ has D9.
When a record is processed, the GTF processing in IPCS looks up this format
number xx, and then invokes a routine AMDUSRxx (or AMDUSRD9  for MQ).
This program takes the record and formats it.
You could write your own formatter.  The basic record structure is well
documented, but the products specific stuff may not be documented.

These programs typically write to IPCSPRTN, but could write to any other dd
statement.,

I used to have my own program that did special processing of the data.
This wrote to more than one output dataset.

MVS (Non USR) records have special formatting such as options SSCH, SVC etc.

Colin


On Thu, 22 Apr 2021 at 14:18, Peter Relson  wrote:

> Isn't using file IPCSPRNT the intended way to print something produced by
> IPCS report(s)?
>
> Allocate data set x with RECFM VBA and suitable LRECL/BLKSIZE such as
> LRECL 137 BLKSIZE 27998 or LRECL 255 BLKSIZE 6144
> TSO ALLOC F(IPCSPRNT) DA(x)
> do your IPCS commands with the PRINT operand (whether that be GTF or
> other)
> IPCS Close Print
>
> Peter Relson
> z/OS Core Technology Design
>
>
> --
> 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: Printing GTF trace?

2021-04-22 Thread Steve Emge
On Thu, 22 Apr 2021 09:18:03 -0400, Peter Relson  wrote:

>Isn't using file IPCSPRNT the intended way to print something produced by 
>IPCS report(s)?
>
>Allocate data set x with RECFM VBA and suitable LRECL/BLKSIZE such as 
>LRECL 137 BLKSIZE 27998 or LRECL 255 BLKSIZE 6144
>TSO ALLOC F(IPCSPRNT) DA(x) 
>do your IPCS commands with the PRINT operand (whether that be GTF or 
>other) 
>IPCS Close Print  
>
>Peter Relson
>z/OS Core Technology Design
>
. . . 

Yes, that's the method I've always used.  Or, TSO ALLOC FI(IPCSPRNT) 
SYSOUT(class) . . where "class" is a held sysout class.

Then while in IPCS for example,
  GTF CCW PRINT NOTERMINAL
  IPCS CLOSE PRINT

Then, go into SDSF (or IOF) spin the held sysout to a dataset.

In either case, IPCSPRNT to dataset or sysout, then use AMATERSE to terse the 
output then send to vendor.

Regards,
Steve

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


Re: Printing GTF trace?

2021-04-22 Thread Peter Relson
Isn't using file IPCSPRNT the intended way to print something produced by 
IPCS report(s)?

Allocate data set x with RECFM VBA and suitable LRECL/BLKSIZE such as 
LRECL 137 BLKSIZE 27998 or LRECL 255 BLKSIZE 6144
TSO ALLOC F(IPCSPRNT) DA(x) 
do your IPCS commands with the PRINT operand (whether that be GTF or 
other) 
IPCS Close Print  

Peter Relson
z/OS Core Technology Design


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


Re: Printing GTF trace?

2021-04-21 Thread Tony Thigpen

Thanks. I will try it tomorrow.

Tony Thigpen

(K.K.Paradox)T.Kobayashi wrote on 4/21/21 10:16 PM:

Hello Tony,

Here is GTF trace print JCL:

a) You need to modify it for your environment (DSN, VOLUME, etc...).
b) INPUT DD of the IKJEFT01 step specifies the GTF trace file.
   This sample trace file is tape file.
c) The report is output to the JES spool,if you need to report to disk.
   Change the SYSTSPRT DD card to VBA datasets.
d) Specify your required trace with the GTF xxx command on SYSTSIN DD card.
   This sample is CCW trace.

//GTFPRINT  JOB CLASS=A
//ST1  EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
DEFINE CLUSTER(NAME(KOBA.IPCS.DIR) VOLUME(WORK01)) -
   DATA(NAME(KOBA.IPCS.DIR.DATA) CYL(1 1) KEYS(128 0) -
    CISZ(X'1000') ) -
  INDEX(NAME(KOBA.IPCS.DIR.INDEX) TRK(1 1) )
/*
//IPCS    EXEC PGM=IKJEFT01,DYNAMNBR=20
//IPCSDDIR DD  DSN=KOBA.IPCS.DIR,DISP=SHR
//***IPCSPARM DD  DSN=
//INPUT    DD  DSN=SYS1.TRACE,DISP=SHR,VOL=SER=GTRACE,UNIT=/4000,
// LABEL=(1,SL,EXPDT=98000)
//SYSPROC  DD  DSN=SYS1.SBLSCLI0,DISP=SHR
//SYSTSPRT DD  SYSOUT=*
//SYSTSIN  DD  *
IPCSDDIR 'KOBA.IPCS.DIR'
IPCS NOPARM
SETDEF DDNAME(INPUT) NOCONFIRM
SETDEF LIST
GTF CCW
END
/*
//STLAST   EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSIN    DD *
DELETE (KOBA.IPCS.DIR)
/*

I hope this help.

Best regards,
Toyokazu Kobayashi

- Original Message - From: "Tony Thigpen" 
Newsgroups: bit.listserv.ibm-main
To: 
Sent: Thursday, April 22, 2021 4:15 AM
Subject: Printing GTF trace?



All,

I have generated a GTF trace for a vendor, but how do I generate a 
print report of the formatted entries so I can send them to a vendor?


I can browse the formatted entries in IPCS, but I am new to IPCS and 
don't know how to tell it to print the entire report.


Tony Thigpen

--
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: Printing GTF trace?

2021-04-21 Thread (K.K.Paradox)T.Kobayashi

Hello Tony,

Here is GTF trace print JCL:

a) You need to modify it for your environment (DSN, VOLUME, etc...).
b) INPUT DD of the IKJEFT01 step specifies the GTF trace file.
  This sample trace file is tape file.
c) The report is output to the JES spool,if you need to report to disk.
  Change the SYSTSPRT DD card to VBA datasets.
d) Specify your required trace with the GTF xxx command on SYSTSIN DD card.
  This sample is CCW trace.

//GTFPRINT  JOB CLASS=A
//ST1  EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSINDD *
DEFINE CLUSTER(NAME(KOBA.IPCS.DIR) VOLUME(WORK01)) -
  DATA(NAME(KOBA.IPCS.DIR.DATA) CYL(1 1) KEYS(128 0) -
   CISZ(X'1000') ) -
 INDEX(NAME(KOBA.IPCS.DIR.INDEX) TRK(1 1) )
/*
//IPCSEXEC PGM=IKJEFT01,DYNAMNBR=20
//IPCSDDIR DD  DSN=KOBA.IPCS.DIR,DISP=SHR
//***IPCSPARM DD  DSN=
//INPUTDD  DSN=SYS1.TRACE,DISP=SHR,VOL=SER=GTRACE,UNIT=/4000,
// LABEL=(1,SL,EXPDT=98000)
//SYSPROC  DD  DSN=SYS1.SBLSCLI0,DISP=SHR
//SYSTSPRT DD  SYSOUT=*
//SYSTSIN  DD  *
IPCSDDIR 'KOBA.IPCS.DIR'
IPCS NOPARM
SETDEF DDNAME(INPUT) NOCONFIRM
SETDEF LIST
GTF CCW
END
/*
//STLAST   EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//SYSINDD *
DELETE (KOBA.IPCS.DIR)
/*

I hope this help.

Best regards,
Toyokazu Kobayashi

- Original Message - 
From: "Tony Thigpen" 

Newsgroups: bit.listserv.ibm-main
To: 
Sent: Thursday, April 22, 2021 4:15 AM
Subject: Printing GTF trace?



All,

I have generated a GTF trace for a vendor, but how do I generate a print 
report of the formatted entries so I can send them to a vendor?


I can browse the formatted entries in IPCS, but I am new to IPCS and 
don't know how to tell it to print the entire report.


Tony Thigpen

--
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: Printing GTF trace?

2021-04-21 Thread Tony Thigpen

Yes. Print to file.
But, I just sent them the trace file that I downloaded from z/OS.

Tony Thigpen

Gord Tomlin wrote on 4/21/21 4:44 PM:

On 2021-04-21 15:15 PM, Tony Thigpen wrote:

All,

I have generated a GTF trace for a vendor, but how do I generate a 
print report of the formatted entries so I can send them to a vendor?


I can browse the formatted entries in IPCS, but I am new to IPCS and 
don't know how to tell it to print the entire report.


Did they specifically ask for it in printed form? We normally ask 
customers to terse the GTF trace and send us the tersed file. Then, we 
can use IPCS on it.


--

Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
Support: https://actionsoftware.com/support/

--
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: Printing GTF trace?

2021-04-21 Thread Gord Tomlin

On 2021-04-21 15:15 PM, Tony Thigpen wrote:

All,

I have generated a GTF trace for a vendor, but how do I generate a 
print report of the formatted entries so I can send them to a vendor?


I can browse the formatted entries in IPCS, but I am new to IPCS and 
don't know how to tell it to print the entire report.



Did they specifically ask for it in printed form? We normally ask customers to 
terse the GTF trace and send us the tersed file. Then, we can use IPCS on it.

--

Regards, Gord Tomlin
Action Software International
(a division of Mazda Computer Corporation)
Tel: (905) 470-7113, Fax: (905) 470-6507
Support: https://actionsoftware.com/support/

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


Re: Printing GTF trace?

2021-04-21 Thread Carmen Vitullo
I've only performed this once for a vendor in batch and tersed the print to 
them 
  
IPCS GTF CCW(option) PRINT 
   
Carmen Vitullo 

   

-Original Message-

From: Tony 
To: IBM-MAIN 
Date: Wednesday, 21 April 2021 2:16 PM CDT
Subject: Printing GTF trace?

All, 

I have generated a GTF trace for a vendor, but how do I generate a print 
report of the formatted entries so I can send them to a vendor? 

I can browse the formatted entries in IPCS, but I am new to IPCS and 
don't know how to tell it to print the entire report. 

Tony Thigpen 

-- 
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


Printing GTF trace?

2021-04-21 Thread Tony Thigpen

All,

I have generated a GTF trace for a vendor, but how do I generate a print 
report of the formatted entries so I can send them to a vendor?


I can browse the formatted entries in IPCS, but I am new to IPCS and 
don't know how to tell it to print the entire report.


Tony Thigpen

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