There is often a reason why z/OS makes simple UNIX tasks difficult or makes 
good people do bad things. In your case, you estimated 5000 pings and SNMP 
GET's. If you spawn that many process under Netview could be detrimental. Can 
SNMP become CPU intensive? Will there be a situation where you need to cancel 
5000 processes (or worse - restart Netview because of the overload). Will the 
number increase from 5000 to a much larger number? Will someone decide running 
this every 10 minutes is a great idea?

Automation products run at a high dispatching priority and run mission critical 
commands. You can potentially take away valuable CPU from much more important 
workload or even worse, cause a critical command to be delayed.

Submitting JCL is the best solution but submitting 1000 jobs to be a bit 
much.Submitting 3 or 4 is more reasonable but you will need to use a queue to 
pull the next IP address. For the queue, you could install / use the REXX 
interface to MQ or DB2. Alternatively you could install / use RXVSAM from CBT 
and use a VSAM file as a queue.


If you do this in Netview, I suggest scheduling multiple Netview commands that 
are processed by a set of specific Netview command tasks. You can stop / start 
these tasks if Netview get's overwhelmed and Netview cancel command is 
available to cancel the commands.

Jon Perryman.  


----- Original Message -----
> From: "Sankaranarayanan, Vignesh" 
> <[email protected]>
> 
> Continuing dream mode, is it possible to SNMP GET and PING from inside OMVS, 
> whilst maintaining the NetView REXX as parent?
> That would allow me to spin up threads I hope ...
> 
> -----Original Message-----
> Of Paul Gilmartin
> 
> On Thu, 17 Apr 2014 17:41:12 -0500, Norbert Friemel wrote:
> 
>> On Thu, 17 Apr 2014 19:26:17 +0000, Sankaranarayanan, Vignesh wrote:
>> 
>>> Ok.. Is it possible to fire off other REXXes repetitively (let's say 
> 2 or 3, each doing one function) that will not RETURN to the main, but write 
> their output to a dataset once done?
>> 
>> Submit batch jobs (PGM=IKJEFT01,PARM='%rxsub?? p1 p2 p3) from the main?
>> 
> Neither DDLIST nor Google gives me relevant hits for RXSUB.
> 
> (But it really shouldn't be that hard.  For each job:
> 
>     RC = BPXWDYN( 'alloc rtddn(RDR) sysout writer(INTRDR) msg(WTP)' )
>     /* write JCL to RDR with EXECIO.  */
>     RC = BPXWDYN( 'free dd('RDR') msg(WTP)' )
> 
> The hard part is detecting completion and getting status back.)
> 
> -- gil


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to