Suppress listing for XMIT & RECEIVE



IBM's Command List programming language & Restructured Extended Executor

Re: Suppress listing for XMIT & RECEIVE

Postby steve-myers » Fri Aug 29, 2014 5:35 pm

Steve Coalbran wrote:... FREEs failed for SYSOUT every time. :?
Am I thinking inside a box?! :o

Most likely, yes. You must specify the SYSOUT class for IEBCOPY on the XMIT command. XMIT allocates and frees the SYSOUT data set for IEBCOPY. XMIT does not use a definition you have allocated yourself.

In addition, you must locate a "dummy" SYSOUT class in your installation, either by analyzing the JES2 startup parameters as I did, or by using $D OUTCLASS(x) commands until you find a "dummy" SYSOUT class.
$HASP842 OUTCLASS(Z)                                 
$HASP842 OUTCLASS(Z)  OUTPUT=DUMMY,BLNKTRNC=YES,     
$HASP842              OUTDISP=(HOLD,HOLD),TRKCELL=YES
h xmit op(sysout)                                               
                                                                 
  SYSOUT           You may request the TRANSMIT command to direct
                   utility program messages (e.g. IEBCOPY) to a 
                   specific sysout class or to your terminal. If
                   you specify SYSOUT(*), you will receive all   
                   utility program messages on your terminal.


*** Added later: my bad. You already did. You specify the SYSOUT class on the XMIT and RECEIVE commands

XMIT ... SYSOUT(X)
RECEIVE ... SYSOUT(X)
steve-myers
Global moderator
 
Posts: 2105
Joined: Thu Jun 03, 2010 6:21 pm
Has thanked: 4 times
Been thanked: 243 times

Re: Suppress listing for XMIT & RECEIVE

Postby KevinMQ2 » Tue Aug 01, 2023 11:54 pm

Hi

I know this is an old thread, but I didn't see a solution to this so I thought I would provide one for anybody trying to suppress the IEBCOPY messages from XMIT or RECEIVE.

The answer is to use the SYSOUT parm on the transfer/receive. Now if you simply want to discard those messages set the output class to one that is a 'throw away' class at your site, otherwise the output will be written to the output class you specify.

TRANSMIT DSNAME('your dsname') OUTDSN('Output.DSN') PDS NOLOG SYSOUT(C) MEMBERS(*)
 

If output class C at your site isn't a 'throw away' class then the output will be under your TSO name in the class C output class

Obviously change the options as desired. Members can be omitted if the entire PDS is going to be transmitted.

Again, sorry to add to an old thread, but it does solve the original question in what is, hopefully, in an easy to follow way.

Regards
Kevin
KevinMQ2
 
Posts: 1
Joined: Sat Jul 29, 2023 8:25 am
Has thanked: 0 time
Been thanked: 0 time

Previous

Return to CLIST & REXX

 


  • Related topics
    Replies
    Views
    Last post