Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Find a string in JESMSGLOG of every job in SPOOL
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
cvijay784
Warnings : 1

New User


Joined: 18 Jun 2008
Posts: 54
Location: Colombo

PostPosted: Fri Nov 14, 2008 5:09 pm    Post subject: Find a string in JESMSGLOG of every job in SPOOL
Reply with quote

I would like 2 find a string in JESMSGLOG of every job in SPOOL. If u have a REXX EXEC, please post it.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Nov 14, 2008 5:11 pm    Post subject: Reply to: REXX 2 FIND A STRING IN JESMSGLG ?
Reply with quote

if You want it please provide the proper FEE icon_cool.gif

if You had searched the net You would have found
http://www.redbooks.ibm.com/abstracts/sg247419.html
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Nov 14, 2008 5:25 pm    Post subject: Reply to: Find a string in JESMSGLOG of every job in SPOOL
Reply with quote

Vijay,

Quote:
I would like 2 find a string in JESMSGLOG of every job in SPOOL. .


Check the link posted and also search for the keyword SDSF in the REXX forum.

Quote:
If u have a REXX EXEC, please post it


Even if we post it, You will have to customize for which better understanding of REXX+SDSF is needed.
Back to top
View user's profile Send private message
cvijay784
Warnings : 1

New User


Joined: 18 Jun 2008
Posts: 54
Location: Colombo

PostPosted: Fri Nov 14, 2008 6:11 pm    Post subject:
Reply with quote

wt is FEE ?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Fri Nov 14, 2008 6:13 pm    Post subject: Reply to: Find a string in JESMSGLOG of every job in SPOOL
Reply with quote

see:
http://en.wikipedia.org/wiki/Fee
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Fri Nov 14, 2008 11:32 pm    Post subject: Reply to: Find a string in JESMSGLOG of every job in SPOOL
Reply with quote

Quote:
wt is FEE
like 2 find
If u have


Please do not use chat slang. Not everyone is an English speaker. Also, this is a technical forum, where you need to ask precise questions in order to get good responses.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Nov 18, 2008 2:39 pm    Post subject: Reply to: Find a string in JESMSGLOG of every job in SPOOL
Reply with quote

Quote:
I would like 2 find a string in JESMSGLOG of every job in SPOOL. .


what is the system/business requirement of the search

spool is a volatile thing
the process behavior might be different due to the presence or absence of a job in the spool

a job can be deleted/purged at any time asyncronously from any other process

taking a deterministic action on a volatile entity is not wise by any means


at time delta0 you run the proces and take some actions
at time delta1 you run the same proces and take some different actions
just because somebody deleted a job or the job was printed and punched ???
brrrrrrrr icon_eek.gif

better to clarify Your need

and please do not tell You are trying to write a home grown scheduler
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 18, 2008 3:27 pm    Post subject:
Reply with quote

Hey Enrico. Maybe we should develop a REXX scheduler and market it on the forum icon_lol.gif
Back to top
View user's profile Send private message
cvijay784
Warnings : 1

New User


Joined: 18 Jun 2008
Posts: 54
Location: Colombo

PostPosted: Tue Nov 18, 2008 4:29 pm    Post subject:
Reply with quote

Hi All,

The exact objective is 'Find a string in jesmsglg & return a line which contains that string'


That's all.
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 18, 2008 4:33 pm    Post subject:
Reply with quote

Now I am intrigued - as to what purpose this actually serves.
Back to top
View user's profile Send private message
cvijay784
Warnings : 1

New User


Joined: 18 Jun 2008
Posts: 54
Location: Colombo

PostPosted: Tue Nov 18, 2008 4:52 pm    Post subject:
Reply with quote

This is a requirement.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Nov 18, 2008 4:55 pm    Post subject: Reply to: Find a string in JESMSGLOG of every job in SPOOL
Reply with quote

the most &DEROGATORY_ADJECTIVE reply you could have given,
You just show lack of respect for people trying to help You,
if you want help you must make people eager to help

that answer lowered our willingness/eagerness to 0
Back to top
View user's profile Send private message
cvijay784
Warnings : 1

New User


Joined: 18 Jun 2008
Posts: 54
Location: Colombo

PostPosted: Tue Nov 18, 2008 5:01 pm    Post subject:
Reply with quote

Can anyone tell me how to delete a post from this site ?
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 18, 2008 5:44 pm    Post subject:
Reply with quote

Look, we are here to try and help you. And to do that we need to understand

a) What you want to do
b) In some cases the reason why you want to do it - because we could probably give you some alternative / better ideas.

The reason that we ask is that on average each 3 seniors on this site will have about 100 years of experience between them, and there are a lot of very experienced and knowledgable seniors here !! And thankfully quite a few young ones showing real promise as well.

So the choice is yours, if you want to get help then answer what we want to know and if you do not appear to get what you want immediately or do not want to answer the questions that we pose then just discontinue your participation in this thread rather than throwing your teddy out of the pram.
Back to top
View user's profile Send private message
cvijay784
Warnings : 1

New User


Joined: 18 Jun 2008
Posts: 54
Location: Colombo

PostPosted: Tue Nov 18, 2008 6:20 pm    Post subject:
Reply with quote

In a day, there are so many jobs run. There are some jobs which require more space for the datasets they use. Inorder to identify those, I need a REXX EXEC instead of doing it manually as go thru each job using '?' & then 's' which is a time consuming long process.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 7913
Location: Bellevue, IA

PostPosted: Tue Nov 18, 2008 6:27 pm    Post subject:
Reply with quote

Quote:
In a day, there are so many jobs run. There are some jobs which require more space for the datasets they use. Inorder to identify those, I need a REXX EXEC instead of doing it manually as go thru each job using '?' & then 's' which is a time consuming long process.
Questions:
1) Don't you have MXG or some other performance tool that can supply this data via a batch job?
2) How do you identify the jobs needing more space -- x37 abends? If so, and you don't have a performance tool, you could hit the SMF records and pull that data out automatically rather than manually.
3) Shouldn't your storage management people be adjusting the storage pools to allow for the extra space?
4) Don't you have some kind of spool management package that moves production job output to a retention facility? If so, your REXX isn't going to find nearly all of the outputs.
5) What other approaches have you considered? Running a REXX like this seems a tad wasteful.
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Nov 18, 2008 6:31 pm    Post subject: Reply to: Find a string in JESMSGLOG of every job in SPOOL
Reply with quote

I do not know who gave You the idea that in the jesmsglg You would find the allocation details

anyway the only way to find out is to setup a properly defined/planned
storage accounting application.

run daily a dcollect job to scan all/selected dasd volumes to get the info required
and run a properly written program/application to find out the growth rate

the approach suggested will not work

familiarize Yourself with the ISMF reporting , ISMF option 1
to see what You can get for point in time reporting

after that plan with the storage support an application for the growth rate
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Tue Nov 18, 2008 6:38 pm    Post subject:
Reply with quote

So what are we looking for here, ways to prevent Sx37 abends.

DCOLLECT data can be extremely useful for trending dataset growth along with SMF records as suggested by Robert.

Both SMF & DCOLLECT will also provide great info for VSAM files too.

I would suggest starting with DCOLLECT - all documentation in the IDCAMS book, as these are far easier to use
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10202
Location: italy

PostPosted: Tue Nov 18, 2008 6:42 pm    Post subject: Reply to: Find a string in JESMSGLOG of every job in SPOOL
Reply with quote

and if You are eager to test Your rexx skills
CBTTAPE which hosts lots of free/public domain software for the MVS/zOS world

has a very good starting point on how to process dcollect data
at file 206 at www.cbttape.org
the coding is not my preferred ( I prefer mixed case ) but still is a very good start

I know, I know icon_biggrin.gif I have often flamed on attachments
but I do not see any other way right now

here is the cbt206 file unxmitted on my pc ( with a rexx script )
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Wed Nov 19, 2008 12:51 am    Post subject:
Reply with quote

Hello Vijay,

I suspect the goal is to identify jobs that require a large amount of spool space rather than dataset space (i.e. not looking for x37's but lines of print).

Is this true or have i misunderstood?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
This topic is locked: you cannot edit posts or make replies. Checking wether a string starts from ... sundaram.naveen CLIST & REXX 9 Thu Oct 06, 2016 11:56 am
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts Random Password (in string format) ge... ezhavendhan COBOL Programming 10 Mon Aug 29, 2016 3:18 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us