View previous topic :: View next topic
|
Author |
Message |
Saravana Manikandan
New User
Joined: 09 Aug 2011 Posts: 14 Location: India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Unfortunately DFSMShsm uses TPUT, so probably not |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
expat wrote: |
Unfortunately DFSMShsm uses TPUT, so probably not |
TPUT in batch? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
Quote: |
a lot of system messages
|
Do they appear in the SYSLOG or JES joblog? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Saravana Manikandan
New User
Joined: 09 Aug 2011 Posts: 14 Location: India
|
|
|
|
@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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
Saravana Manikandan
New User
Joined: 09 Aug 2011 Posts: 14 Location: India
|
|
|
|
@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 |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
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 |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Ooops, looks as though I was up too early and didn't read the post properly.
Peter you rotter, you could have kept quiet
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 |
|
|
Saravana Manikandan
New User
Joined: 09 Aug 2011 Posts: 14 Location: India
|
|
|
|
@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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
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 |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Click HERE to see the old code, although the newer code has more functionality |
|
Back to top |
|
|
|