Michel Castelein wrote:
Note that z/OS includes a ready-to-use SLEEP program.
Yeah, the BPX1SLP. It is using the STIMERM macro.
Or use this without all those SYSCALL and SYSCALLS things:
/* REXX */
SAY 'ZZZ AT ' TIME()
CALL SLEEP 5
SAY 'YAWN AT ' TIME()
Elardus Engelbrecht wrote:
[ ... some rubbish ... ]
Please disregard my previous post, the sleep function in my rexx is not the
correct one as intended.
Michel, you are 100% correct and thanks for your post and the SUBCOM
statements.
Sorry to all
Groete / Greetings
Elardus Engelbrecht
To
IBM-MAIN@bama.ua.edu
cc
Subject
Re: Time Parameter
Elardus Engelbrecht wrote:
[ ... some rubbish ... ]
Please disregard my previous post, the sleep function in my rexx is not
the
correct one as intended.
Michel, you are 100% correct and thanks for your post and the SUBCOM
statements
Elardus Engelbrecht elardus.engelbre...@sita.co.za
Sent by: IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu
18/05/2010 11:30 AM
Please respond to
IBM Mainframe Discussion List IBM-MAIN@bama.ua.edu
To
IBM-MAIN@bama.ua.edu
cc
Subject
Re: Time Parameter
Elardus Engelbrecht
Here's a variation that works for me:
ADDRESS TSO BPXBATCH sh sleep 30
-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of
Peter Nuttall
Sent: Tuesday, May 18, 2010 4:42 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Time Parameter
To my
On Tue, 18 May 2010 09:45:11 -0500, Hal Merritt wrote:
Here's a variation that works for me:
ADDRESS TSO BPXBATCH sh sleep 30
And why would you prefer to:
o Issue a TSO command, which
o Executes a load module, which
o Forks an address space, which
o Execs a shell process, which
o Forks an
...@bama.ua.edu] On Behalf Of
Paul Gilmartin
Sent: Tuesday, May 18, 2010 10:21 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Time Parameter
On Tue, 18 May 2010 09:45:11 -0500, Hal Merritt wrote:
Here's a variation that works for me:
ADDRESS TSO BPXBATCH sh sleep 30
And why would you prefer to:
o Issue a TSO
On Tue, 18 May 2010 10:26:17 -0500, Hal Merritt wrote:
The *nix function I used should be availble to all.
I see it much the opposite. My preference:
-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of
Paul Gilmartin
Sent: Tuesday, May 18,
i think the best way to accomplish that is to perfom the check of 30 minute
in the rexx (in case you don't want it to go to sleep)
if your rexx performing somthing in this 30 minutes you should add a check
in it of the time like this:
RC = TIME(R)
SECS = 1800 /* 1800 second you want them to
On Mon, 17 May 2010 17:57:55 +0300, Matan Cohen wrote:
i think the best way to accomplish that is to perfom the check of 30 minute
in the rexx (in case you don't want it to go to sleep)
if your rexx performing somthing in this 30 minutes you should add a check
in it of the time like this:
RC =
May 2010 15:58
To: IBM-MAIN@bama.ua.edu
Subject: Re: Time Parameter
i think the best way to accomplish that is to perfom the check of 30
minute in the rexx (in case you don't want it to go to sleep) if your
rexx performing somthing in this 30 minutes you should add a check in it
of the time like
Hi Matan,
With regard to your post on this subject which included:
SNIPPET
RC = TIME(R)
SECS = 1800 /* 1800 second you want them to pass */
DO FOREVER
N = TIME(E)/*get the time in second which was pass */
IF N = SECS THEN LEAVE
END
/SNIPPET
As Dustin Hoffman said in Hook, bad
On Mon, 17 May 2010 16:59:54 +0100, Nick Varley
nick.var...@metron.co.uk wrote:
(snip)
Anyway, if you want a simple SLEEP program, I can mail you one (it's in
Assembler and is free, with NO support offered under any circumstances)
Note that z/OS includes a ready-to-use SLEEP program.
A few
Automation software and loops. Not quite on the topic, but I remember when
some Brainiac implemented automated responses to IEF238D and IEF433D. We
lost almost 25% of a 400E while Net/Master replied WAIT and then NOHOLD as
fast as it could...
Yes, waiting is far more efficient.
A loop of this
Hi Ravi,
The TIME parameter in JCL is CPU time, not elapsed time.
I use this REXX code to do what you are trying:-
Safe_Alloc: Procedure
Parse Arg file_name,dataset_name
Address TSO 'SLEEP 1000'
You can use a built in OMVS/USS sleep command.
This will give you 10 seconds:
call syscalls 'ON'
address SYSCALL sleep 10
call syscalls 'OFF'
-
Too busy driving to stop for gas!
On Sun, 16 May 2010 00:59:59 -0500, Bruce Hewson wrote:
Address TSO 'SLEEP 1000'
???
I find no such command in:
URL: http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ikj4c5a1
Title: z/OS V1R11.0 TSO/E Command Reference
Document Number: SA22-7782-12
-- gil
On Sun, 16 May 2010 07:31:24 +, Ted MacNEIL wrote:
call syscalls 'ON'
address SYSCALL sleep 10
call syscalls 'OFF'
However, an expert has advised:
Linkname: mvs...@www2.marist.edu post from w...@us.ibm.com :
URL: http://www2.marist.edu/htbin/wlvtype?MVS-OE.35369
I do not
Hi Gil,
that is correct, but in my defence I quote my original post:-
Where SLEEP and QUERYENQ are local programs.
On Sun, 16 May 2010 09:53:44 -0500, Paul Gilmartin
paulgboul...@aim.com wrote:
On Sun, 16 May 2010 00:59:59 -0500, Bruce Hewson wrote:
Address TSO 'SLEEP 1000'
???
I find
Hi Team,
Any idea where I am missing point..
I am running a Rexx exec in batch job which check the ENQ on the dataset
every 6 second and idea is to do continuously in loop till the Time
parameter on the job doesn't complete..say for example I have idea for 30
minute however during testing I
Hi Ravi,
Could it be that the TIME Parameter is CPU time, not wall clock time.
It is unlikely that your REXX code would use 1 second of CPU, but if we
assume it did, then the elapse time for the job would be in the order of 30
x 7, or 3mins 30 seconds.
SNIPPET
I am running a Rexx exec in batch
On Sat, 15 May 2010 06:17:22 -0500, Ravi Kumar wrote:
I am running a Rexx exec in batch job which check the ENQ on the dataset
every 6 second and idea is to do continuously in loop till the Time
parameter on the job doesn't complete..say for example I have idea for 30
minute however during
22 matches
Mail list logo