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

How to suppress System Messages?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Oct 12, 2011 4:34 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 12, 2011 4:57 pm
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: 2481
Location: Netherlands, Amstelveen

PostPosted: Wed Oct 12, 2011 4:58 pm
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
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
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
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
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

Global Moderator


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

PostPosted: Wed Oct 12, 2011 8:20 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Oct 12, 2011 9:46 pm
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
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: 8797
Location: Welsh Wales

PostPosted: Wed Oct 12, 2011 10:15 pm
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

Moderator Emeritus


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

PostPosted: Wed Oct 12, 2011 10:16 pm
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: 8797
Location: Welsh Wales

PostPosted: Wed Oct 12, 2011 10:34 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Sysplex System won't IPL at DR site I... All Other Mainframe Topics 2
No new posts How to delete a user's alias from the... JCL & VSAM 11
No new posts Insert system time/date (timestamp) u... DFSORT/ICETOOL 5
No new posts JCL Dynamic System Symbols JCL & VSAM 3
No new posts the system or user abend SF0F R=NULL COBOL Programming 0
Search our Forums:

Back to Top