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
 

 

Suppress TSO forground output

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: Suppress TSO forground output
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10201
Location: italy

PostPosted: Tue Apr 27, 2010 9:14 pm    Post subject: Reply to: Suppress TSO forground output
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    Post subject:
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    Post subject: Re: Reply to: Suppress TSO forground output
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Wed Apr 28, 2010 2:09 am    Post subject: Reply to: Suppress TSO forground output
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    Post subject:
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

Senior Member


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

PostPosted: Wed Apr 28, 2010 7:17 pm    Post subject: Reply to: Suppress TSO forground output
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: 8593
Location: Back in jolly old England

PostPosted: Wed Apr 28, 2010 7:32 pm    Post subject:
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    Post subject: Re: Reply to: Suppress TSO forground output
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: 645
Location: Pennsylvania

PostPosted: Wed Apr 28, 2010 9:06 pm    Post subject:
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    Post subject:
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    Post subject:
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: 645
Location: Pennsylvania

PostPosted: Wed Apr 28, 2010 10:40 pm    Post subject:
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    Post subject:
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

Senior Member


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

PostPosted: Thu Apr 29, 2010 1:31 am    Post subject: Reply to: Suppress TSO forground output
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Problem in writing Output file vickey_dw COBOL Programming 5 Mon Nov 14, 2016 11:14 pm
No new posts Syncsort - Hard coded Value in output PORYES SYNCSORT 1 Thu Nov 03, 2016 9:23 am
No new posts output data in CSV Format janmejay COBOL Programming 8 Sat Oct 15, 2016 2:20 pm
This topic is locked: you cannot edit posts or make replies. output data in CSV Format janmejay DFSORT/ICETOOL 3 Sat Oct 15, 2016 2:16 pm
No new posts ICETOOL/SYNCSORT - SYSPRINT output nartcr DFSORT/ICETOOL 17 Wed Oct 05, 2016 10:46 pm


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