If you just want to extract the messages GIM22701I, then here is job to 
extract the messages and format them

//STEP0100  EXEC PGM=GIMSMP 
//SMPCSI    DD DISP=SHR,DSN=your CSI Dataset 
//SMPHOLD   DD SYSOUT=* 
//SMPLIST   DD DSN=&&LIST,DISP=(,PASS),SPACE=(CYL,(25,25),RLSE) 
//SMPCNTL   DD *
  SET  BDY(targetzone).
  LIST LOG(01 30 17,02 02 17) .   /* start and end dates */ 
//*
//STEP0200 EXEC PGM=SORT 
//SYSOUT   DD SYSOUT=* 
//SORTIN   DD DISP=SHR,DSN=&&LIST 
//SORTOUT  DD SYSOUT=* 
//SYSIN    DD * 
  OPTION COPY 
  INCLUDE COND=(24,8,CH,EQ,C'GIM22701I') 
  INREC PARSE=(%01=(ABSPOS=37,ENDBEFR=C'PROCESSING', 
                    FIXLEN=8), 
               %02=(STARTAFT=C'FOR SYSMOD ',ENDBEFR=C'.', 
                    FIXLEN=8)), 
        BUILD=(C'PTF ', 
               %02, 
               C' HAS BEEN ', 
               %01, 
               C' ON ', 
               02,8, 
               C' AT ', 
               12,2, 
               C':', 
               15,2, 
               C':', 
               18,2) 
 
//*

Thanks,
Kolusu
DFSORT Development
IBM Corporation

IBM Mainframe Discussion List <[email protected]> wrote on 
07/13/2017 09:56:13 AM:

> From: Jake Anderson <[email protected]>
> To: [email protected]
> Date: 07/13/2017 09:56 AM
> Subject: Re: SMPE Filter PTF list option based on date
> Sent by: IBM Mainframe Discussion List <[email protected]>
> 
> Hi
> 
> Thanks
> 
> Any rexx exec if someone has to filter out that records ?
> 
> On Jul 13, 2017 10:24 PM, "Allan Staller" <[email protected]> wrote:
> 
> > Check the SMPLOG* datasets.
> >
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:[email protected]] 
On
> > Behalf Of Longabaugh, Robert E
> > Sent: Thursday, July 13, 2017 11:49 AM
> > To: [email protected]
> > Subject: Re: SMPE Filter PTF list option based on date
> >
> > LIST PTFS does not filter for the date.   The date is in the output, 
but
> > several lines down from the PTF number, so you would have to save two 
lines
> > per PTF, and the dates may fall outside the range.
> >
> >
> >
> > As an alternative, you could use LIST LOG.  The post processing would 
be
> > simpler.
> > //SMPCSI    DD   DISP=SHR,DSN=SMD.CCUWC50.DEV.CSI
> > //SMPLIST   DD   SYSOUT=*
> > //SMPCNTL   DD   *
> >   SET  BDY(targetzone).
> >   LIST LOG(01 30 17,02 02 17) .               /* start and end dates 
*/
> >
> > Then find all of the GIM22701I messages in the output.  Since the zone 
is
> > set to the target, those would be PTFs that are applied.
> >
> > -----Original Message-----
> > From: IBM Mainframe Discussion List [mailto:[email protected]] 
On
> > Behalf Of Jake Anderson
> > Sent: Thursday, July 13, 2017 11:25 AM
> > To: [email protected]
> > Subject: SMPE Filter PTF list option based on date
> >
> > CAUTION: This email originated from outside of CA. Do not click links 
or
> > open attachments unless you recognize the sender and know the content 
is
> > safe.
> >
> >
> > Hello Group
> >
> > Apologies if this is a repetitive question.
> >
> > I am trying to understand if we can list the number PTF applied based 
on
> > specific date range ?
> >
> > We are at zOS 1.13
> >
> > Regards
> > Jake
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions, send 
email
> > to [email protected] with the message: INFO IBM-MAIN
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions, send 
email
> > to [email protected] with the message: INFO IBM-MAIN
> >
> >
> > ::DISCLAIMER::
> > ------------------------------------------------------------
> > ------------------------------------------------------------
> > ----------------------------
> >
> > The contents of this e-mail and any attachment(s) are confidential and
> > intended for the named recipient(s) only.
> > E-mail transmission is not guaranteed to be secure or error-free as
> > information could be intercepted, corrupted,
> > lost, destroyed, arrive late or incomplete, or may contain viruses in
> > transmission. The e mail and its contents
> > (with or without referred errors) shall therefore not attach any 
liability
> > on the originator or HCL or its affiliates.
> > Views or opinions, if any, presented in this email are solely those of 
the
> > author and may not necessarily reflect the
> > views or opinions of HCL or its affiliates. Any form of reproduction,
> > dissemination, copying, disclosure, modification,
> > distribution and / or publication of this message without the prior
> > written consent of authorized representative of
> > HCL is strictly prohibited. If you have received this email in error
> > please delete it and notify the sender immediately.
> > Before opening any email and/or attachments, please check them for 
viruses
> > and other defects.
> >
> > ------------------------------------------------------------
> > ------------------------------------------------------------
> > ----------------------------
> >
> >
> > ----------------------------------------------------------------------
> > For IBM-MAIN subscribe / signoff / archive access instructions,
> > send email to [email protected] with the message: INFO IBM-MAIN
> >
> 
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,
> send email to [email protected] with the message: INFO IBM-MAIN
> 



----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to