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

XMIT to multiple destinations


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Deepak KM

New User


Joined: 14 Jun 2012
Posts: 13
Location: India

PostPosted: Thu Jun 14, 2012 10:20 pm
Reply with quote

Hi,

Is it possible to xmit to multiple IDs at same time?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Jun 14, 2012 10:51 pm
Reply with quote

Deepak KM, don't tack on unrelated question on an old thread that has been idle for well over 2 years -- start a new thread. I've split this one for you.

Have you tried using the TSO HELP command for XMIT to find out what can be done? I just did so and there is information about sending to multiple desitnations provided.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Thu Jun 14, 2012 10:51 pm
Reply with quote

Deepak KM wrote:
Hi,

Is it possible to xmit to multiple IDs at same time?

Yes; specify
Code:
XMIT (addressee, addressee, ...) other parameters
Back to top
View user's profile Send private message
Deepak KM

New User


Joined: 14 Jun 2012
Posts: 13
Location: India

PostPosted: Thu Jun 14, 2012 11:14 pm
Reply with quote

@Robert: Apologies for that...

@Akatsukami
Quote:

Yes; specify
Code:
XMIT (addressee, addressee, ...) other parameters


Well, I tried this.. but no luck.. icon_sad.gif

Its sending to only one Id.. and in JESMSGLG, I can see something like this - "ESTIMATED CARDS EXCEEDED"

Code:


Rexx code, I used:-

queue "Subject: Hello"                         
queue "How are you "                           
queue "$$"                                                 
say " "             
                                     
Address TSO 'XMIT (XXXX.ABCDEF,XXXX.QWERTY) LINE($$)'

JESMSGLG:-

 -JOBNAME  STEPNAME PROCSTEP CCODE ELAPSED-TIME 
 -INITCHK           DELETE1      0     00:00:00 
 INITCHK  ESTIMATED  CARDS EXCEEDED             
 -INITCHK           INITCHK      0     00:00:11 
INITCHK - ENDED - TIME=13.35.18                 
 -INITCHK  ENDED.  NAME-INIT-CHECK         


I would really appreciate if anyone can help me out..icon_smile.gif
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Jun 14, 2012 11:16 pm
Reply with quote

Quote:
"ESTIMATED CARDS EXCEEDED"


speak to Your support, You are trying to send more data than it is allowed on Your system
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Thu Jun 14, 2012 11:19 pm
Reply with quote

You need to show us the trace from your rexx exec and you also need to show message numbers from the joblog.

And does it work for only one user?
Back to top
View user's profile Send private message
Deepak KM

New User


Joined: 14 Jun 2012
Posts: 13
Location: India

PostPosted: Thu Jun 14, 2012 11:21 pm
Reply with quote

Quote:
You are trying to send more data than it is allowed on Your system


But, in that case It should not xmit to either of the IDs, right? .. Here I'm able to receive in one ID, while other is unsuccessful !


Quote:

And does it work for only one user?

Yes !
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Thu Jun 14, 2012 11:39 pm
Reply with quote

when XMIT/TRANSMITing <things> to multiple users the data into the spool is duplicated for each adressee

100 cards to 1 addressee ==> 100 <spool records>

100 cards to 1000 addressee ==> 100*1000 ==> 100.000 <spool records>

if the output limit was ( for example ) 50.000 You would succeed in xmitting things to 500 addressees

the <transmissions> completed before hitting the output limit were OK

again.... speak to Your support

all this is naturally described and searchable in the manuals

all can be started by googling for ESTIMATED CARDS EXCEEDED TSO XMIT
Back to top
View user's profile Send private message
Deepak KM

New User


Joined: 14 Jun 2012
Posts: 13
Location: India

PostPosted: Thu Jun 14, 2012 11:57 pm
Reply with quote

@enrico

Thanks for that info.. really appreciate, that.. I'll talk with my system support..

@all..

Just out of curiosity... Is there any way other than what @Akatsukami has mentioned earlier?
Quote:
XMIT (addressee, addressee, ...) other parameters
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jun 15, 2012 12:02 am
Reply with quote

Quote:
@all..

Just out of curiosity... Is there any way other than what @Akatsukami has mentioned earlier?
Quote:
XMIT (addressee, addressee, ...) other parameters


are your fingers broken except for just asking questions?

try looking in the manuals.
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Fri Jun 15, 2012 12:06 am
Reply with quote

There is a link to Manuals at the top of THIS page. Click on it, find the TSO Command Reference manual, and start reading. You might even find this:
Quote:
1.96.2 TRANSMIT command operands


Note: If you specify either MSGDDNAME or MSGFILE, or MSGDATASET or MSGDSNAME, the TERMINAL operand is no longer the default.



(addressee[,addressee[, ...]])
specifies the information identifying the target user(s). You can combine one or more of the following: a node and user ID specified as node.user_id or node/user_id, a nickname, or a distribution list name. If you identify only one user as the addressee, you can omit the parentheses. See "NAMES data set function" in topic 1.96.10.
A maximum of 200 node/userid combinations and 200 nicknames may be specified, but the total number of addressees may not exceed 200.


You can read up on the NAMES data set function yourself -- this is a HELP forum, not a READ-THE-MANUAL-FOR-YOU forum.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Fri Jun 15, 2012 3:48 am
Reply with quote

Quote:
you also need to show message numbers from the joblog.


You still have not shown the message number that I asked for. It is not clear who is setting the limit.

But sometimes, the limit is on the job. And you might be taking a default value. It may be as simple as setting a higher value in the JES2 statements.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Fri Jun 15, 2012 4:35 am
Reply with quote

Quote:
"ESTIMATED CARDS EXCEEDED"


I think your estimate is wrong. What are you using now? Try a higher value:
Code:
/*JOBPARM LINES=500


BTW, it looks like your job still ends with RC=0. Are you sure it does not work?
Back to top
View user's profile Send private message
Deepak KM

New User


Joined: 14 Jun 2012
Posts: 13
Location: India

PostPosted: Fri Jun 15, 2012 10:30 am
Reply with quote

Well, well, well... glad news... it worked... icon_biggrin.gif

I was trying to send to my ID two times... ie., I gave both XMIT IDs as same,

Code:
XMIT (XXXX.ABCDEF,XXXX.ABCDEF)


I never thot REXX was too intelligent to figure it out that both are same IDs and will be sent only once... stupid me ! icon_biggrin.gif.. When I tried with different IDs, I was able to XMIT..

and, yes.. I mentioned earlier as I'm Xmitting to different IDs (as below)... which infact I thot was immaterial.. I expected it to XMIT twice to my IDs..

XMIT (XXXX.ABCDEF, XXXX.QWERTY)

So I believe, Rexx will not consider duplicate IDs while xmitting..


Special Thanks to all the moderators who came to help me out...

@Pedro -
Quote:
I think your estimate is wrong. What are you using now? Try a higher value:
Code:

/*JOBPARM LINES=500


I tried with your suggestion by giving value to 5000, even though the files are XMITting to different IDs, I can still see the message in spool.. icon_sad.gif
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jun 15, 2012 11:04 am
Reply with quote

Quote:
So I believe, Rexx will not consider duplicate IDs while xmitting..


Deepak,

you have no idea what is going on, do you?
Back to top
View user's profile Send private message
Nic Clouston

Global Moderator


Joined: 10 May 2007
Posts: 2455
Location: Hampshire, UK

PostPosted: Fri Jun 15, 2012 12:10 pm
Reply with quote

nothing to do with rexx - probably all to do with xmit which is not rexx but something entirely different.
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Fri Jun 15, 2012 6:13 pm
Reply with quote

Quote:
I can still see the message in spool..

I cannot stress how important the message number is in problem determination. You are asking for help without providing essential details.

This is the third time I am asking for the message number.
Back to top
View user's profile Send private message
Deepak KM

New User


Joined: 14 Jun 2012
Posts: 13
Location: India

PostPosted: Mon Jun 18, 2012 8:53 pm
Reply with quote

Quote:
Deepak,

you have no idea what is going on, do you?


icon_biggrin.gif

Quote:

nothing to do with rexx - probably all to do with xmit which is not rexx but something entirely different.

In that case, am also wondering whats the reason !

Quote:
I cannot stress how important the message number is in problem determination. You are asking for help without providing essential details.

This is the third time I am asking for the message number.


Well, I don't want you to ask me for a 4th time icon_biggrin.gif .. but the thing is I'm getting this message in JESMSGLG not in JESYSMSG dataset.. I'm unable to see the message number as well.. anyway, I'm pasting the message here..

Code:
 
 IEF403I INITCHK - STARTED - TIME=08.46.36                     
 GSDMV20I -JOBNAME  STEPNAME PROCSTEP CCODE ELAPSED-TIME  CPU-
 GSDMV21I -INITCHK           DELETE1      0     00:00:00     0
 $HASP375 INITCHK  ESTIMATED  CARDS EXCEEDED                   
 GSDMV21I -INITCHK           INITCHK      0     00:00:11     4
 IEF404I INITCHK - ENDED - TIME=08.46.48                       
 GSDMV22I -INITCHK  ENDED.  NAME-INIT-CHECK           TOTAL CP
 $HASP395 INITCHK  ENDED                                     
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Mon Jun 18, 2012 9:04 pm
Reply with quote

the message is right there in front of Your eyes.
Code:
$HASP375 INITCHK  ESTIMATED  CARDS EXCEEDED       


nothing we can do from here,
the forum is not a manual reading service
read the messages and codes manuals for the $HASP375 message
and ...
speak with Your support.

if You keep spinning around topic is going to be locked very shortly
Back to top
View user's profile Send private message
Deepak KM

New User


Joined: 14 Jun 2012
Posts: 13
Location: India

PostPosted: Mon Jun 18, 2012 9:19 pm
Reply with quote

@Pedro

Quote:

I think your estimate is wrong. What are you using now? Try a higher value:
Code:

/*JOBPARM LINES=500



Just now I noticed that my message showed ESTIMATED CARDS EXCEEDED

So, I tried adding below code in my JCL & bingo! warning message disappeared.. icon_biggrin.gif

Code:

/*JOBPARM CARDS=500


Thanks for the hint !
Back to top
View user's profile Send private message
Pedro

Global Moderator


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

PostPosted: Mon Jun 18, 2012 9:45 pm
Reply with quote

How much information are you sending? If it is large, why would you be surprised by the result?
Back to top
View user's profile Send private message
Deepak KM

New User


Joined: 14 Jun 2012
Posts: 13
Location: India

PostPosted: Mon Jun 18, 2012 9:50 pm
Reply with quote

@Pedro
Quote:

How much information are you sending? If it is large, why would you be surprised by the result?


I tried sending short message as well.. /icon_smile.gif .. but the message shown was same... for eg. I tried sending below message.. but got same warning...

"Hello, How are you"
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 -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Grouping by multiple headers DFSORT/ICETOOL 7
No new posts How to append a PS file into multiple... JCL & VSAM 3
Search our Forums:

Back to Top