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

Suppress TSO forground output


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Tue Apr 27, 2010 9:05 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Tue Apr 27, 2010 9:14 pm
Reply with quote

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
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Apr 27, 2010 9:17 pm
Reply with quote

Try
ADDRESS TSO "PROFILE NOWTPMSG NOINTERCOM"

OR

STAT = MSG("OFF")
Back to top
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Tue Apr 27, 2010 9:31 pm
Reply with quote

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
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Tue Apr 27, 2010 9:33 pm
Reply with quote

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
View user's profile Send private message
Escapa

Senior Member


Joined: 16 Feb 2007
Posts: 1399
Location: IL, USA

PostPosted: Tue Apr 27, 2010 9:34 pm
Reply with quote

icon_eek.gif
Back to top
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Tue Apr 27, 2010 9:38 pm
Reply with quote

icon_smile.gif actually TSO commands, all I use is xmit & receive... sorry for trouble!
Escapa wrote:
icon_eek.gif
Back to top
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Tue Apr 27, 2010 9:52 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Wed Apr 28, 2010 2:09 am
Reply with quote

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
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Wed Apr 28, 2010 9:59 am
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Wed Apr 28, 2010 7:17 pm
Reply with quote

Try this from the TSO READY prompt:
Code:
PROFILE NOWTPMSG NOINTERCOM
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Wed Apr 28, 2010 7:32 pm
Reply with quote

I believe that HSM uses TPUT for a lot of its messages, and these can not be rerouted AFAIK.
Back to top
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Wed Apr 28, 2010 8:57 pm
Reply with quote

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
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Wed Apr 28, 2010 9:06 pm
Reply with quote

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
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Wed Apr 28, 2010 10:05 pm
Reply with quote

Seems you are right... but these messages lock my screen for more than one hr... icon_evil.gif so I thought must be some way out...anyway icon_sad.gif

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
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Wed Apr 28, 2010 10:12 pm
Reply with quote

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 icon_biggrin.gif )

expat wrote:
I believe that HSM uses TPUT for a lot of its messages, and these can not be rerouted AFAIK.
Back to top
View user's profile Send private message
daveporcelan

Active Member


Joined: 01 Dec 2006
Posts: 792
Location: Pennsylvania

PostPosted: Wed Apr 28, 2010 10:40 pm
Reply with quote

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
View user's profile Send private message
valyk

Active User


Joined: 16 Apr 2008
Posts: 104
Location: South Carolina

PostPosted: Wed Apr 28, 2010 11:57 pm
Reply with quote

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
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Thu Apr 29, 2010 1:31 am
Reply with quote

Get a second userid and submit your job from that userid.
Back to top
View user's profile Send private message
Deja vu

New User


Joined: 15 Oct 2009
Posts: 23
Location: Pune

PostPosted: Fri Apr 30, 2010 4:15 pm
Reply with quote

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
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Joinkeys - 5 output files DFSORT/ICETOOL 7
No new posts Build a record in output file and rep... DFSORT/ICETOOL 11
No new posts XDC SDSF output to temp dataset CLIST & REXX 4
Search our Forums:

Back to Top