View previous topic :: View next topic
|
Author |
Message |
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
Hi all,
when I run a rexx exec (either in forground or batch), I keep getting TSO output on my screen continuously- e.g. "ARC1102I DATA SET IS NOT MIGRATED/BACKED UP"
Is there anyway to suppress all these TSO forground output? so that I'll get everything in dataset and not on screen.
Many Thanks. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
if You' d tell what kind of rexx script You are trying to run,
maybe somebody will be able to make suggestions
to start... investigate on how to prevent HSM messages from appearing on Your screen |
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
|
|
Try
ADDRESS TSO "PROFILE NOWTPMSG NOINTERCOM"
OR
STAT = MSG("OFF") |
|
Back to top |
|
|
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
Hi Enrico,
It is rexx script which recalls all datasets based on highlevel qualifier.
But I think it has nothing to do with rexx script, just we need to suppress or redirect the TSO output so that it doesn't appear on screen.
enrico-sorichetti wrote: |
if You' d tell what kind of rexx script You are trying to run,
maybe somebody will be able to make suggestions
to start... investigate on how to prevent HSM messages from appearing on Your screen |
|
|
Back to top |
|
|
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
Thanks for reply.
Please also suggest how & where to try these command.
Escapa wrote: |
Try
ADDRESS TSO "PROFILE NOWTPMSG NOINTERCOM"
OR
STAT = MSG("OFF") |
|
|
Back to top |
|
|
Escapa
Senior Member
Joined: 16 Feb 2007 Posts: 1399 Location: IL, USA
|
|
Back to top |
|
|
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
actually TSO commands, all I use is xmit & receive... sorry for trouble!
Escapa wrote: |
|
|
|
Back to top |
|
|
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
tried with TSO STATus = MSG("OFF") resulting in " EXTRANEOUS INFORMATION WAS IGNORED: = MSG("OFF") " and got the list of jobs
displayed
from sys1.help
Quote: |
THE STATUS COMMAND IS USED TO FIND THE STATUS
OF JOBS PREVIOUSLY SUBMITTED TO THE BACKGROUND |
still no clue how to try "ADDRESS TSO "PROFILE NOWTPMSG NOINTERCOM" as ADDRESS is not valid tso command. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Quote: |
when I run a rexx exec (either in forground or batch), I keep
|
You asked for a rexx solution, so all of the responses have been rexx related. You cannot issue rexx instructions from the TSO ready prompt.
Your process is not clear to me. You have stated some conflicting things:
1. rexx script which recalls all datasets
2. all I use is xmit & receive
can you explain why you use XMIT & RECEIVE to recall datasets? why not use HRECALL command? |
|
Back to top |
|
|
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
Hi Pedro,
Lets forget about everything else.... here I reitirate the problem
here is the batch jcl for rexx utility Trcall-
//STEP1 EXEC PGM=IKJEFT1A
//SYSTSPRT DD DSN=DBSB.OUT,DISP=SHR
//SYSPROC DD DISP=SHR,DSN=TBS.rexx
//SYSTSIN DD *
TRCALL DBSB
/*
TRcall recalls all datasets based on highlevel qualifier.
When I run this job, I get foreground message generated by IKJEFT1A on my screen , I dont want any such message on my screen, istead everything should be in DBSB.OUT
I hope I answered your que. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Try this from the TSO READY prompt:
Code: |
PROFILE NOWTPMSG NOINTERCOM |
|
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
I believe that HSM uses TPUT for a lot of its messages, and these can not be rerouted AFAIK. |
|
Back to top |
|
|
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
tried my batch job after this tso command... problem still persist.
Pedro wrote: |
Try this from the TSO READY prompt:
Code: |
PROFILE NOWTPMSG NOINTERCOM |
|
|
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Deja vu,
I have experienced the same exact problem, (this is kind of like.... anyway).
I have not been able to resolve it, so I have learned to deal with the messages.
I think than expat's response is what you have to go with:
Quote: |
I believe that HSM uses TPUT for a lot of its messages, and these can not be rerouted AFAIK.
|
|
|
Back to top |
|
|
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
Seems you are right... but these messages lock my screen for more than one hr... so I thought must be some way out...anyway
daveporcelan wrote: |
Deja vu,
I have experienced the same exact problem, (this is kind of like.... anyway).
I have not been able to resolve it, so I have learned to deal with the messages.
I think than expat's response is what you have to go with:
Quote: |
I believe that HSM uses TPUT for a lot of its messages, and these can not be rerouted AFAIK.
|
|
|
|
Back to top |
|
|
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
Hi Expat,
I think must be some way to suppress these TPUT messages...
can you suggest me which manual(TSO or smthing else?) to dig for this TPUT stuff...I'll give a try...(coz anyway I am free for an hour when my job runs )
expat wrote: |
I believe that HSM uses TPUT for a lot of its messages, and these can not be rerouted AFAIK. |
|
|
Back to top |
|
|
daveporcelan
Active Member
Joined: 01 Dec 2006 Posts: 792 Location: Pennsylvania
|
|
|
|
Wow, that is a long time! My screen is only locked up for about a minute or so.
Obviously, recalling at such a high level is your issue. When I do it, I am more selective on the recall, giving the first three nodes.
If you find out how to supress the messages, please post here.
It all depends on how many datasets need to be recalled vs how many do not.
If you do not have too many that actually need to be recalled, you can put a loop in your program listing all datasets and check the volume. If they are migrated, then issue the hrecall one dataset at a time. Messages are issued for these as well, so it is a balancing act.
Here is an example. Please modify as needed for your purposes.
Code: |
CTR = 0
DSN2 = 'DBSB'
SAY 'RECALLING MIGRATED DATASETS WITH -' DSN2
DSVAR = ''
"ISPEXEC LMDINIT LISTID(RELLIST) LEVEL ("DSN2")"
"ISPEXEC LMDLIST LISTID("RELLIST") OPTION(LIST) DATASET(DSVAR)
STATS(YES)"
RCODE = RC
DONE1 = 0
IF RCODE = 0 THEN
DO UNTIL DONE1
IF ZDLVOL = 'MIGRAT' THEN DO
"HRECALL ('"DSVAR"')"
CTR = CTR + 1
END
"ISPEXEC LMDLIST LISTID("RELLIST") OPTION(LIST) DATASET(DSVAR)
STATS(YES)"
RCODE = RC
IF RCODE ¬= 0 THEN DONE1 = 1
END
"ISPEXEC LMDFREE LISTID("RELLIST")"
SAY CTR 'DATASETS RECALL REQUESTS MADE'
|
|
|
Back to top |
|
|
valyk
Active User
Joined: 16 Apr 2008 Posts: 104 Location: South Carolina
|
|
|
|
Are these message not routed to your session's SYSPRINT? If you changed the definition in your session to a dataset, they should no longer be written to your terminal. |
|
Back to top |
|
|
Pedro
Global Moderator
Joined: 01 Sep 2006 Posts: 2547 Location: Silicon Valley
|
|
|
|
Get a second userid and submit your job from that userid. |
|
Back to top |
|
|
Deja vu
New User
Joined: 15 Oct 2009 Posts: 23 Location: Pune
|
|
|
|
I think you referring to sysprint dataset of my job...
Yes... I am getting all these messages in sysprint dataset as well as on my terminal screen...
I don't know how to change the session's default so that messages not written to my terminal and only in daatset?
valyk wrote: |
Are these message not routed to your session's SYSPRINT? If you changed the definition in your session to a dataset, they should no longer be written to your terminal. |
|
|
Back to top |
|
|
|