Re: How to use dfsort to filter keywords that aren't fixed position

2021-12-17 Thread Martin Packer
Look up "SS,EQ," in the manual.

Cheers, Martin

Martin Packer

WW z/OS Performance, Capacity and Architecture, IBM Technology Sales

+44-7802-245-584

email: martin_pac...@uk.ibm.com

Twitter / Facebook IDs: MartinPacker

Blog: https://mainframeperformancetopics.com

Mainframe, Performance, Topics Podcast Series (With Marna Walle): 
https://anchor.fm/marna-walle

Youtube channel: https://www.youtube.com/channel/UCu_65HaYgksbF6Q8SQ4oOvA



From:   "ibmmain" 
To: IBM-MAIN@LISTSERV.UA.EDU
Date:   17/12/2021 07:25
Subject:[EXTERNAL] How to use dfsort to filter keywords that 
aren't fixed position
Sent by:"IBM Mainframe Discussion List" 



Hi all 


   For performance, we want to filter keywords (for 
example:'ERROR') from oplerlog with DFSORT.


   If the keyword is is a fixed position in operlog , we could 
put the keyword in the other dataset. 


  We could join the oplerlog with the dataset  using DFSORT to 
filter all messages that contained ' ERROR'


 But the keywords aren't fixed position in OPERLOG, how to filter 
this keyword with DFSORT.


 Of course, we could do it by REXX


 Any suggestions would be greatly appreciated!




Thanks a lot!


Best Regards,


Jason Cai


 

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



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


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


Re: How to use dfsort to filter keywords that aren't fixed position

2021-12-17 Thread Massimo Biancucci
Jason,

I'm not sure I fully understood your question and I'm not really sure it
works generally because I'm assuming that OPERLOG interleaves blanks on
"WTO TIME" position when a multiline WTO happens and that a multiline WTO
cannot be interrupted (not sure + not sure means not good :D).

Try this:

//*---*

//*   *

//*---*

//ST010EXEC  PGM=SORT

//SYSOUTDD   SYSOUT=*

//SORTIN   DD DISP=SHR,DSN=MYLOG

//SORTOUT  DD DSN=&ALL,DISP=(,PASS),

// SPACE=(TRK,(300,300))

//ERRORDD DSN=&ERR,DISP=(,PASS),

// SPACE=(TRK,(300,300))

//SYSIN DD   *

 OPTION VLSCMP

 INREC IFTHEN=(WHEN=GROUP,BEGIN=(28,1,CH,NE,C' '),

  PUSH=(140:ID=9))

 SORT FIELDS=COPY

 OUTFIL FNAMES=SORTOUT

 OUTFIL FNAMES=ERROR,INCLUDE=(1,137,SS,EQ,C'ERROR')

/*

//*---*

//*   *

//*---*

//ST020EXEC  PGM=IDCAMS

//SYSPRINT DD   SYSOUT=*

//SYSINDD   *

 DELETE MYLOG.OK

 IF MAXCC=8 THEN SET MAXCC=0

/*

//*---*

//*   *

//*---*

//ST004EXEC  PGM=SORT

//SYSOUTDD   SYSOUT=*

//ERRORDD DSN=&ERR,DISP=(OLD,DELETE)

//ALL  DD DSN=&ALL,DISP=(OLD,DELETE)

//SORTOUT  DD DSN=MYLOG.OK,

// DISP=(,CATLG),DATACLAS=UEFSQCMP,

// SPACE=(TRK,(300,300))

//SYSIN DD   *

 JOINKEYS F1=ERROR,FIELDS=(140,9,A),SORTED

 JOINKEYS F2=ALL,FIELDS=(140,9,A),SORTED

 REFORMAT FIELDS=(F2:1,137)

 SORT FIELDS=COPY
/*

Best regards.
Max

Il giorno ven 17 dic 2021 alle ore 08:19 ibmmain  ha
scritto:

> Hi all 
>
>
>    For performance, we want to filter keywords (for
> example:'ERROR') from oplerlog with DFSORT.
>
>
>    If the keyword is is a fixed position in operlog , we could
> put the keyword in the other dataset. 
>
>
>   We could join the oplerlog with the dataset  using DFSORT to
> filter all messages that contained ' ERROR'
>
>
>  But the keywords aren't fixed position in OPERLOG, how to filter
> this keyword with DFSORT.
>
>
>  Of course, we could do it by REXX
>
>
>  Any suggestions would be greatly appreciated!
>
>
>
>
> Thanks a lot!
>
>
> Best Regards,
>
>
> Jason Cai
>
>
>  
>
> --
> 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


Learning IWS

2021-12-17 Thread kekronbekron
Hello list,

Apart from SHARE (where I wasn't able to find much on TWS/IWS), where can I 
find free learning material on TWS/IWS.
Is IBM Docs my only hope?

- KB

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


Re: Learning IWS

2021-12-17 Thread Richards, Robert B. (CTR)
The name keeps changing. It is now know as ZWS (Z Workload Scheduler),

I found this for starters:  
https://www.ibm.com/support/pages/node/957689

Click on links there and see if you get to where you want to go. 😊

Bob

-Original Message-
From: IBM Mainframe Discussion List  On Behalf Of 
kekronbekron
Sent: Friday, December 17, 2021 8:23 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Learning IWS

Hello list,

Apart from SHARE (where I wasn't able to find much on TWS/IWS), where can I 
find free learning material on TWS/IWS.
Is IBM Docs my only hope?

- KB

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


Fwd: Log4Shell Vulnerability: How DevSecOps Pros Can Mitigate Risk

2021-12-17 Thread Mark Regan
https://www.datacenterknowledge.com/security/log4shell-vulnerability-how-devsecops-pros-can-mitigate-risk


Regards

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


Re: How to use dfsort to filter keywords that aren't fixed position

2021-12-17 Thread Sri h Kolusu
Hi,

As Martin and Massimo has shown you need to use substring search (SS). Here
is a simple example for picking records which have keyword "ABC"  in
positions 1 thru 50.

//STEP0100 EXEC PGM=SORT
//SYSOUT   DD SYSOUT=*
//SORTIN   DD *
ABC RECORD-1 PICK THIS RECORD
RECORD-2 DROP THIS RECORD
PICK THIS RECORD ABC AT DIFFERENT POSITION
SHOW ABC RECORD IS BEING PICKED
//SORTOUT  DD SYSOUT=*
//SYSINDD *
  OPTION COPY
  INCLUDE COND=(01,50,SS,EQ,C'ABC')
/*

Thanks,
Kolusu


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


Re: CF structure type SERLIST

2021-12-17 Thread Art Gutowski
On Fri, 17 Dec 2021 01:46:59 +0100, Radoslaw Skorupka  
wrote:


>Another question, CF links: Assuming a sysplex has two Coupling
>Facilities - do CFs need to be connected one to each other?
>Note, I don't mean z/OS - CF connection. It is about CF-CF connection.
>I know it *was* a requirement, but maybe something has changed.
>
IIRC, the original requirement was for timing links only.  The CFs only need to 
be connected for structure duplexing, and that is still true.  From the z/OS 
2.4 Setting Up a Sysplex book:

"PR/SM Planning Guide describes the different type of coupling facility 
channels, including peer mode
links, which can provide both sender and receiver capability on the same link 
by being configured as an
unshared channel path to a single coupling facility and at the same time as a 
shared channel path among
several sender LPARs. CF-to-CF links allow a coupling facility sender channel 
to communicate with
another coupling facility, a function that is required for system-managed 
duplexing rebuild."

Art Gutowski
Huntington National Bank

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


Re: CF structure type SERLIST

2021-12-17 Thread P H
Not sure if there is a more current version.

https://www.ibm.com/downloads/cas/JZB2E38Q?mhsrc=ibmsearch_a&mhq=Coupling%20facility%20configuration

Get Outlook for Android

From: IBM Mainframe Discussion List  on behalf of 
Radoslaw Skorupka 
Sent: Friday, December 17, 2021 12:46:59 AM
To: IBM-MAIN@LISTSERV.UA.EDU 
Subject: CF structure type SERLIST

I just found a coupling facility structure of type Serialized List. aka
SERLIST aka SLIST.
Is it documented anywhere?

The only documentation which mention serlist is ...z/TPF manual. I
browsed z/OS doco, up to V2R5, but only found good old lock, cache and
list. No serlist.



Another question, CF links: Assuming a sysplex has two Coupling
Facilities - do CFs need to be connected one to each other?
Note, I don't mean z/OS - CF connection. It is about CF-CF connection.
I know it *was* a requirement, but maybe something has changed.

--
Radoslaw Skorupka
Lodz, Poland

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


z/OS freelance trainer

2021-12-17 Thread Peter
Hello All,

I am looking for some z/OS experienced freelance trainer or retired
mainframers who is willing to share or mentor on various topics of
mainframe operating system. I am willing to pay for this service. Please
contact me offline if you are interested.

Regards
Peter

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