Thanks. I haven't used it before. Let me look it up ..

- Vignesh
Mainframe Admin

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf 
Of Paul Gilmartin
Sent: 17 April 2014 20:55
To: [email protected]
Subject: Rexx Concurrency (was: Sorting CSV data ...)

On Thu, 17 Apr 2014 18:58:10 +0000, Sankaranarayanan, Vignesh wrote:
>
>I'm looping some  5000 times in REXX and doing functions (NetView ping, SNMP 
>walk, etc) sequentially. They don't necessarily need to be sequential. I'm 
>just going through a list of printers and I want to test them.
>
>So.. Is it possible that I make the first run a data run - reading parameters 
>from files for each printer (reading PDS member) - and the second run as a 
>thread creator of sorts. Each thread going off to test one printer.
>
>The first run should be almost instantaneous. My thinking is.. Is it possible 
>to parallelly do the pinging and SNMP connection bits. It would cut 20 minutes 
>runtime to just a couple.
>
I suggested elsewhere in this thread, "SYSCALL spawn".  The only z/OS-supported 
Rexx facility that provides concurrency (AFAIK).  Considerable coding; much to 
learn if you haven't used it before; but it's effective.  Each child (I don't 
believe you can do 5000 at once), could write its report to a separate file, 
and when all complete the master could merge, catenate, or summarize them.

-- gil

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

MARKSANDSPENCER.COM
________________________________
 Unless otherwise stated above:
Marks and Spencer plc
Registered Office:
Waterside House
35 North Wharf Road
London
W2 1NW

Registered No. 214436 in England and Wales.

Telephone (020) 7935 4422
Facsimile (020) 7487 2670

www.marksandspencer.com

Please note that electronic mail may be monitored.

This e-mail is confidential. If you received it by mistake, please let us know 
and then delete it from your system; you should not copy, disclose, or 
distribute its contents to anyone nor act in reliance on this e-mail, as this 
is prohibited and may be unlawful.

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

Reply via email to