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
 

 

How to suppress System Messages?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Saravana Manikandan

New User


Joined: 09 Aug 2011
Posts: 14
Location: India

PostPosted: Wed Oct 12, 2011 4:26 pm    Post subject: How to suppress System Messages?
Reply with quote

Hi,
I am using a JCL to recall quite a few datasets using HRECALL 'HLQ1.HLQ2.*'.
The JCL goes through fine and after that am getting a lot of system messages about the RECALL requests. Since am using more than 100 files am getting a lot of system messages which is consuming a lot of time.

Is there a way to suppress these system message through my JCL?
Thanks!
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: Wed Oct 12, 2011 4:34 pm    Post subject:
Reply with quote

Unfortunately DFSMShsm uses TPUT, so probably not
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 12, 2011 4:57 pm    Post subject:
Reply with quote

expat wrote:
Unfortunately DFSMShsm uses TPUT, so probably not


TPUT in batch?
Back to top
View user's profile Send private message
PeterHolland

Global Moderator


Joined: 27 Oct 2009
Posts: 2422
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 12, 2011 4:58 pm    Post subject:
Reply with quote

Quote:

a lot of system messages


Do they appear in the SYSLOG or JES joblog?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Oct 12, 2011 5:08 pm    Post subject:
Reply with quote

i would guess that most of the messages have to do with:
NOT MIGRATED
since you are using the wildcard.

I have a REXX that generates the necessary HRECALL cards
for migrated datasets
i execute it every 3 days and never have any messages.

but then I don't use wildcards.

if you are interested send me a PM and I will email the rexx.
Back to top
View user's profile Send private message
Saravana Manikandan

New User


Joined: 09 Aug 2011
Posts: 14
Location: India

PostPosted: Wed Oct 12, 2011 6:25 pm    Post subject: Reply to: How to suppress System Messages?
Reply with quote

@dbzTHEdinosauer
Thanks for your reply!
I have a rexx for this already...But i am building a JCL for this to be more easier...So wanted to check if there is any command that we can use in a JCL to suppress the messages that we get when we recall the datasets..
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Oct 12, 2011 6:52 pm    Post subject:
Reply with quote

don't use wildcards in you hrecall cards and you will not get any messages.

even if you remove the NOTIFY parm of your JOB Card,
you will get msgs at my installation.

so, use wildcards, deal with the messages,
don't use wildcards, no messages.
Back to top
View user's profile Send private message
Saravana Manikandan

New User


Joined: 09 Aug 2011
Posts: 14
Location: India

PostPosted: Wed Oct 12, 2011 7:03 pm    Post subject: Reply to: How to suppress System Messages?
Reply with quote

@dbzTHEdinosauer
I have to use the wildcards because am the dataset names might not be the same and might not be the same number. So i have no other option but to use wild cards.
But really? The messages are due to the wild cards?
Am getting messages for the request being sent to DFH and whether they are recalled or not...
Back to top
View user's profile Send private message
Pedro

Senior Member


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

PostPosted: Wed Oct 12, 2011 8:20 pm    Post subject: Reply to: How to suppress System Messages?
Reply with quote

Quote:
So i have no other option but to use wild cards.

Issue a LISTCAT command with the wildcards, then parse the response and issue individual HRECALL commands.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Wed Oct 12, 2011 8:31 pm    Post subject:
Reply with quote

Quote:
So i have no other option but to use wild cards.


that is why i offered the rexx which:
Issues an HLIST with Wildcards, on level ML1 and ML2, which only returns Migrated DS's
parses the returned - complete DSN's,
deletes dups (because the ML1 and ML2 will generate some of the same)
generates the JCL (with appropriate HRECALL cards),
invokes VIEW of the member containing the JOB - where I can delete some if I want -
and then I SUB.

sometimes i have hundreds, sometimes I have nearly 1000.

as I said, I receive no messages other than the SUCCESSFUL SUBMIT-

but you have your super little REXX, modify it to do the same as mine,
and you don't have a problem.
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: Wed Oct 12, 2011 9:46 pm    Post subject:
Reply with quote

Ooops, looks as though I was up too early and didn't read the post properly.

Peter you rotter, you could have kept quiet icon_lol.gif

I have a similar REXX to Dick which does exactly the same but in a slightly different fashion, and is called CSIUTIL. The code has been posted on the forum a couple of times.
Back to top
View user's profile Send private message
Saravana Manikandan

New User


Joined: 09 Aug 2011
Posts: 14
Location: India

PostPosted: Wed Oct 12, 2011 9:50 pm    Post subject: Reply to: How to suppress System Messages?
Reply with quote

@expat/Dick,
Sorry but i couldnt find your post regarding this..
Please could you share me the code agian pls?
Thanks in advance!
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: Wed Oct 12, 2011 10:15 pm    Post subject:
Reply with quote

I will try and find the code, however the internals are dependant on DFSORT being installed and will not work if your product is SYNCSORT.

Can you please let me know which sort product that you have installed.

The previous version of code posted on the forum does not, I think, invoke any SORT activity and would work with either sort product. However just a question of finding it.
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 Oct 12, 2011 10:16 pm    Post subject:
Reply with quote

Hello,

Quote:
@expat/Dick,
Sorry but i couldnt find your post regarding this..

You need to make sure that you actually read what is posted for you. . .

DBZ said that if you wanted his routine, send him a PM. He did not say it was posted. . .
Quote:
if you are interested send me a PM and I will email the rexx.
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: Wed Oct 12, 2011 10:34 pm    Post subject:
Reply with quote

Click HERE to see the old code, although the newer code has more functionality
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IMS BMP program causes 878 system abend Artemk IMS DB/DC 7 Tue Nov 22, 2016 8:26 pm
No new posts Check System time(Minute) Using TIME1... balaji81_k DFSORT/ICETOOL 5 Fri Nov 11, 2016 10:53 am
No new posts Get system time in micro second or cl... lind sh CICS 11 Mon Sep 05, 2016 11:14 pm
No new posts Add system date inside of a PS file a... pramitdas DFSORT/ICETOOL 5 Sun Aug 28, 2016 12:06 am
No new posts System availability in CICS Robert Sample CICS 10 Sat Jun 04, 2016 4:35 pm


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