IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Is there a way to determine Clist usage in an LPAR?


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mnaidoo2

New User


Joined: 02 Mar 2021
Posts: 3
Location: Australia

PostPosted: Tue Mar 02, 2021 6:10 am
Reply with quote

Hi All,
Is there a way to determine CLIST usage on an LPAR:
- CLIST name
- extent of usage (x number of time per month)
- dataset the CLIST resides in

I have looked at the SMF type 32 records but it does not capture the CLIST name.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Thu Mar 04, 2021 11:02 pm
Reply with quote

May I ask what you are going to do with the information?
Back to top
View user's profile Send private message
mnaidoo2

New User


Joined: 02 Mar 2021
Posts: 3
Location: Australia

PostPosted: Fri Mar 05, 2021 1:40 am
Reply with quote

Busy with a transition of a mainframe system to Microfocus ES on AWS. Need Clist usage to determine conversion effort. (CLIST is not supported on Microfucus ES)
Back to top
View user's profile Send private message
Willy Jensen

Active Member


Joined: 01 Sep 2015
Posts: 712
Location: Denmark

PostPosted: Fri Mar 05, 2021 3:47 am
Reply with quote

Only commercial products as far as I am aware. CA-TSOMON springs to mind, otherwise one or two products that monitors PDS usage could be used if you can identify CLIST libraries. Which may be another problem as CLIST and REXX can and often do coexist in the same library.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Mar 05, 2021 9:54 am
Reply with quote

Quote:
identify CLIST libraries

I suggest using IEHLIST to list VTOC entries (all data sets on a volume), then use SUPERC to check each individual data set looking for keywords common to clists.
Back to top
View user's profile Send private message
mnaidoo2

New User


Joined: 02 Mar 2021
Posts: 3
Location: Australia

PostPosted: Fri Mar 05, 2021 10:09 am
Reply with quote

Hi Pedro, We have the list of CLIST libraries on the LPAR/s. Some of them are huge with over 800 CLIST members. Therefore we need to determine which of the CLISTs are used and frequency of use as well. Failing any easy way, we will have to insert a stub in each CLIST. I liked the suggestion to use CA-TSOMON but we don't have the software.
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 2024
Location: USA

PostPosted: Fri Mar 05, 2021 7:41 pm
Reply with quote

This is a common problem with any initially bad configuration design of the whole system/environment. And the problem is not only with CLIST, but - even more important - with LOADLIB/LINKLIB libraries... In general, such situations cannot be resolved without full system re-design.

I remember one huge company where the total number of common load libraries in LINKLIST was... 97 DSNAMEs icon_pray.gif
This happened because nobody in this world is able to remember: which library was added when, and by whom, and what was the purpose of particular libraries. Nobody tries to resolve this issue since many years, and it’s getting worse, and worse, and worse...
36_2_18.gif
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Fri Mar 05, 2021 10:41 pm
Reply with quote

Do you have a test system where you can run a test workload?

My suggestion is to rename the clist data sets and see which jobs fail. And then later provide empty data sets and see which clists are called (but are not found). And then later provide those missing clists to see which other clists are called as subroutines. You might need a few iterations of this.

And then add your stub so that you can count how often it is used.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Sat Mar 06, 2021 3:09 am
Reply with quote

in a well planned conversion project
usually some financial resources are allocated for the acquisition of the appropriate tracking tools
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Mon Mar 08, 2021 9:42 am
Reply with quote

mnaidoo2 wrote:
Busy with a transition of a mainframe system to Microfocus ES on AWS. Need Clist usage to determine conversion effort. (CLIST is not supported on Microfucus ES)

Does it really matter how many times the CLIST is executed, it only has to be converted to whatever just the once.
Back to top
View user's profile Send private message
Pedro

Global Moderator


Joined: 01 Sep 2006
Posts: 2547
Location: Silicon Valley

PostPosted: Mon Mar 08, 2021 11:22 pm
Reply with quote

Quote:
Does it really matter how many times the CLIST is executed

If I were doing this exercise, I would spend more time and resources on heavily used programs and less so on infrequently used. Though, I think the type of application is also important.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Routing command Address SDSF to other... TSO/ISPF 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts STEM usage in REXX CLIST & REXX 14
No new posts z/OS Modules Usage report using SMF 42 DFSORT/ICETOOL 2
No new posts Concatenate 2 fields (usage national)... COBOL Programming 2
Search our Forums:

Back to Top