Hello,
I'm trying to understand WAKEUP. I have the
following in WAKEUP TIMES A:
ALL 09:01:00 04/07/11 CP MSG OPERATOR
BACKUP THE DASD TONIGHT
I enter the command: wakeup 09:12 (file
This is displayed:
DMSCYW2246I 08:58:43 WAKEUP at 09:01:00 (137
sec
.
Les
Billy Bingham wrote:
Hello,
I'm trying to understand WAKEUP. I have the
following in WAKEUP TIMES A:
ALL 09:01:00 04/07/11 CP MSG OPERATOR
BACKUP THE DASD TONIGHT
I enter the command: wakeup 09:12 (file
This is displayed:
DMSCYW2246I 08:58:43 WAKEUP at 09:01:00 (137
sec
Billy,
The RC 3 is from WAKEUP.
RC 3 = A time from the timer file has been reached
Use HELP WAKEUP for doc, the return codes can be found a the bottom of the help
file.
From: The IBM z/VM Operating System [mailto:IBMVM@LISTSERV.UARK.EDU] On Behalf
Of Billy Bingham
Sent: Friday, April 08, 2011 9
Wakeup is documented in the CMS Command Reference.
On 04/08/2011 10:28 AM, Les Koehler wrote:
What does the documentation say? If you don't have it, I would hope it is in the VM
Download Library.
Unless you're just playing, you should consider using one of the DSM managers for a
service
WAKEUP file is position oriented.. CP MSG must start in column 29 .. it
looks like you may be in column 28 ... ??
On Fri, Apr 8, 2011 at 8:09 AM, Billy Bingham
billy.bingham...@suddenlink.net wrote:
Hello,
I'm trying to understand WAKEUP. I have the following in WAKEUP TIMES A:
ALL
This is from the WAKEUP documentation.
When a file item is the cause of the WAKEUP, the line from the file is
stacked, and WAKEUP exits with the return code set to 3.
The WAKEUP documentation is here:
http://publib.boulder.ibm.com/cgi-bin/bookmgr/BOOKS/HCSD8C01/2.367?SHELF=hcsh2ab1DT
WAKEUP will stack the command (or text or whatever is there) -- not execute
it.. you need code around it to pull it off the stack and execute it..
Scott Rohling
On Fri, Apr 8, 2011 at 9:09 AM, Billy Bingham
billy.bingham...@suddenlink.net wrote:
Hello,
I'm trying to understand WAKEUP. I
You need a REXX exec around WAKEUP, that REXX is supposed to handle the
events that are written in the wakeup cpontrol file.
You can get a very complete implementation with my RxServer package:
http://www.vm.ibm.com/download/packages/descript.cgi?RXSERVER
2011/4/8 Hodge, Robert L robert.l.ho
I am fairly new to VM and having some problems with WAKEUP.
I have a server that runs a WAKEUP EXEC that uses the FILE parameter. I
need to run an additional WAKEUP EXEC that uses the SMSG parameter.
My question is can I incorporate the 'WAKEUP (SMSG' in the same FOREVER
loop as the other
Just one WAKEUP (SMSG FILE. Test the RC to see which interrupted it.
Frank M. Ramaekers Jr.
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Mark Workman
Sent: Wednesday, September 22, 2010 9:46 AM
To: IBMVM
Not sure it's quite that simple - I too have had issues using FILE and
IUCVMSG within VMUTIL. Been awhile but I think the cause stems from this
(HELP WAKEUP):
When FILE is specified, WAKEUP will always stack the line from the file
(or a null line if no line was found) before exiting, even
Perhaps this sample EXEC will help get you started. It's a bit old, but I
believe its still pretty accurate. Use it as a starting point.
BTW, its on our Y-disk as WAKEUP EXECSAMP so that anyone looking for
WAKEUP will stumble across it. DO NOT save it as WAKEUP EXEC.
Instead, pick
10:04 AM
Subject:Re: Problems with WAKEUP
Sent by:The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
Another clue from HELP WAKEUP:
Seven WAKEUP options cause data to be stacked: EXT, FILE, IO, IUCVMSG,
SMSG,
TIME, and VMCF. WAKEUP stacks the data in the following order
...@shelterinsurance.com
From: Scott Rohling scott.rohl...@gmail.com
To: IBMVM@LISTSERV.UARK.EDU
Date: 09/22/2010 10:04 AM
Subject:Re: Problems with WAKEUP
Sent by:The IBM z/VM Operating System IBMVM@LISTSERV.UARK.EDU
Another clue from HELP WAKEUP:
Seven WAKEUP options
EXEC will help get you started. It's a bit old, but I
believe its still pretty accurate. Use it as a starting point.
BTW, its on our Y-disk as WAKEUP EXECSAMP so that anyone looking for
WAKEUP will stumble across it. DO NOT save it as WAKEUP EXEC.
Instead, pick a different name. Our
Issued: Error! Unknown document property name. iii
... found my own solution - I had a SECUSER set for the service machine. After
turning that off, all was good.
Regards,
Fred Schmidt
Issued: Error! Unknown document property name. iii
Hi Listers,
I'm trying to run a service machine that will receive a message sent to it (by
guest LINMON) and then perform some processing. It works great when I am logged
on to it. However, if it runs disconnected, the WAKEUP waits
LINMON) and then perform some processing. It works great when I am logged
on to it. However, if it runs disconnected, the WAKEUP waits forever, ignoring
any messages sent.
Here is a trace of the relevant bits, showing how messages are arriving, but
the WAKEUP is ignoring them...
136 *-* 'CP
RxSERVER is the name:
http://www.vm.ibm.com/download/packages/descript.cgi?RXSERVER
As for the detailed question: WAKEUP ignoring messages
- With a SECUSER, WAKEUP (IUCVMG doesn't intercept messages.
- But, with OBSERVER you don't have that side effect.
2009/11/27 Les Koehler vmr
The DO QUEUED() is not required, there is only one stacked message for
an SMSG or IUCV event.
If however you also use WAKEUP's FILE option, the WAKEUP file entry
that (could have) caused is **in all interrupt cases** stacked first
(before the entry of an SMSG for example).
If more SMSGs
On Thu, 23 Apr 2009 09:07:06 +0200 Kris Buelens said:
The DO QUEUED() is not required, there is only one stacked message for
an SMSG or IUCV event.
You are correct Kris. I just ran a test where I flooded my WAKEUP
with 10 SMSGs in quick succession. Tey were all processed one at a
time.
But I
:07:06 +0200 Kris Buelens said:
The DO QUEUED() is not required, there is only one stacked message for
an SMSG or IUCV event.
You are correct Kris. I just ran a test where I flooded my WAKEUP
with 10 SMSGs in quick succession. Tey were all processed one at a
time.
But I am SURE that when I
files are in the queue then an SMSG arrives followed by 20 or more RDR
files. We all now know the 70 files are processed then the SMSG is
processed. So, if we want the SMSG processed, then something like
WAKEUP +00:01 (SMSG NOEXT CC needs to be inserted into the
rdr_file_received: routine
We have an EXEC that has within it: 'WAKEUP (SMSG RDR QUIET'
According to HELP WAKEUP:
Seven WAKEUP options cause data to be stacked: EXT, FILE, IO, IUCVMSG,
SMSG,
TIME, and VMCF. WAKEUP stacks the data in the following order regardless
of
the order the options are specified when you invoke
What I coded in RxServer: when a RDR file is found, the RDR_Event subroutine
basically issues
'PIPE CP Q RDR *!stem rdrfiles.'
do i=1 to rdrfiles.0
Otherwise: test it
Code a CP SLEEP in the RDR file handler
then send a file and an SMSG and see what WAKEUP calles first
2009/4/22
On Wednesday, 04/22/2009 at 11:49 EDT, James Stracka (DHL US)
james.stra...@dhl.com wrote:
My question is: If the EXEC is doing some processing for a prior
WAKEUP trigger and several READER files come to it and somewhere in the
process an SMSG command is sent to it, will the SMSG command
Thank you.
-Original Message-
From: The IBM z/VM Operating System [mailto:ib...@listserv.uark.edu] On
Behalf Of Alan Altmark
Sent: Wednesday, April 22, 2009 1:07 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: WAKEUP Order of Processing
On Wednesday, 04/22/2009 at 11:49 EDT, James Stracka
And it will keep on reporting that if you do not insure that all (eligible)
reader files are purged, transferred or held before the next WAKEUP command.
Regards,
Richard Schuh
RDR simply reports that you have one or more (eligible) files in your RDR.
Alan Altmark
z/VM Development
IBM
Jim -
I found out the hard way that when WAKEUP gives you RC=5 that there
may be more then one message to be processed.
When I wrote this EXEC I assumed that there was only one message and
every once in a while I would lose one.
Here is part of an EXEC:
'CP SET SMSG IUCV'
Do Forever
'WAKEUP
Long ago (as will be obvious from the comments herein) I realized that CMS
app developers struggled even more than I did with WAKEUP. So I wrote a
short 'starter' exec to get them going when they needed to use WAKEUP. It
is pasted below, with a couple recent updates included based
I'd say this means that the HCPSIG2113 message is not sent as a CP MSG (i.e.
sent often by someone else), what is by default the only thing WAKEUP
(IUCVMSG will intercept.
So, change the code to:
'WAKEUP +0 (IUCVMSG QUIET'
'CP SET CPCONIO IUCV' /* Intercept all CP console IO too with IUCV
Thanks Kris I will give this a try and let you know how it goes.
Terry
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Kris Buelens
Sent: Sunday, October 12, 2008 3:19 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: REXX with WAKEUP
check for the
answer never works. It is like something is left on the STACK. I am
thinking it has something to do with the 'WAKEUP +0 (IUCVMSG QUIET' . I
say this because when I put the code in RED above this the REPLY area is
what I expect not a message.
Do I need to clear something? Thanks
First of all: WAKEUP gives RC=6 when someone at the 3270 console where this
exec runs presses enter.
The usual reaction of REXX execs using WAKEUP is then to exit, stop the REXX
program. Some REXX execs will first ask the user a confirmation if they
want to exit, or if if was a mistake
Secondly
Of Kris Buelens
Sent: Saturday, October 11, 2008 4:18 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: REXX with WAKEUP (IUCVMSG
First of all: WAKEUP gives RC=6 when someone at the 3270 console where
this exec runs presses enter.
The usual reaction of REXX execs using WAKEUP is then to exit, stop
Greetings Listers,
Can someone out there post or forward me a copy of measly wakeup exec to read
incoming RDR files and file them in CMS file.
Greatly appreciated
Richard
_
Reveal your inner athlete and share it with friends
-LOAD, RDR-APND, etc)
I use them both.
/Tom Kern
/301-903-2211
On Fri, 8 Aug 2008 14:01:24 -0400, Richard Alexander [EMAIL PROTECTED]
m
wrote:
Greetings Listers,
Can someone out there post or forward me a copy of measly wakeup exec t
o
read incoming RDR files and file them in CMS file
9 DO FOREVER
00010 'WAKEUP (CONS'
00011IF RC /=6 THEN
00012 LEAVE
Very basic exec to get rdr files, no rexx niceties here.
/***/
trace 'i'
receive:
'wakeup (noext rdr'
'execio 2 cp ( lifo string QUERY RDR * ALL'
if rc ^= 0 then signal receive
pull origin spid . . . . . . . name type dist
I do now have a Wakeup exec!
Thanks Bob, Howard and Thomas for your responses.
Richard
_
Your PC, mobile phone, and online services work together like never before.
http://clk.atdmt.com/MRT/go/108587394/direct/01/
notify the sender immediately by reply e-mail and delete
the e-mail from your system.
-Original Message-
From: The IBM z/VM Operating System [mailto:[EMAIL PROTECTED] On
Behalf Of Berry van Sleeuwen
Sent: Thursday, March 13, 2008 6:21 PM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Re: Using WakeUp
On Friday, 03/14/2008 at 08:31 EDT, Romanowski, John (OFT)
[EMAIL PROTECTED] wrote:
Instead of adding a CP SIGNAL SHUTDOWN option to prevent shutdown
(contrary to the signal name),
it'd be better to extend the CP SIGNAL command to send other types of
signals for other purposes, something like
To All:
I have a zLinux that is having issues and as a temporary bandaid I
need to cycle the instance every morning. Will the wake command help me
accomplish this? That for everyone input.
Frank Sikich
NCC
On Thu, Mar 13, 2008 at 2:48 PM, Sikich, Frank J.
[EMAIL PROTECTED] wrote:
I have a zLinux that is having issues and as a temporary bandaid I need
to cycle the instance every morning. Will the wake command help me
accomplish this? That for everyone input.
You could tweak the inittab to
I think it should work.
Put something like this in your WAKEUP TIMES
ALL 05:00:00 CP FORCE LINUX WITHIN 300
ALL 05:10:00 CP XAUTOLOG LINUX
Will send LINUX a shutdown signal before forcing it to logoff
And then xautolog him back on 10 minutes later
[Huegel, Thomas
: Thursday, March 13, 2008 9:49 AM
To: IBMVM@LISTSERV.UARK.EDU
Subject: Using WakeUp to cycle a zLinux instance
To All:
I have a zLinux that is having issues and as a temporary bandaid I
need to cycle the instance every morning. Will the wake command help me
accomplish this? That for everyone
in a wakeup
where some wakeup machine issues a shutdown -r on a linux console.
But for the restart triggered by signal, are you sure you could do that?
A SIGNAL SHUTDOWN LINUX01 WITHIN 300 will log off LINUX01 after 300
seconds or before that if the user reports a successfull shutdown. So a
SIGNAL
On Thursday, 03/13/2008 at 06:25 EDT, Berry van Sleeuwen
[EMAIL PROTECTED] wrote:
I had a discussion with IBM on that some time ago. I'd liked to see an
option in signal to prevent the shutdown of guests when they do not
shutdown within the timeout period. But IBM did not follow me on that.
Try
'WAKEUP +00:00 (IUCVMSG'
just before 'CP SPXTAPE...'
That sets the diversion as Rob already suggested. Add 'WAKEUP RESET' after
the end of loop.
Ivica
I wrote an exec to run on a disconnected service machine to dump the
VM spool. It was a while ago, but I see I did a CP SET CPCONIO IUCV
before the wakeup (iucvmsg loop. And a CP SET CPCONIO OFF before the
wakeup (reset at the end of the loop.
I am sure I read about this technique somewhere
Yes, thank you Ron, 'WAKEUP +0 (IUCVMSG' just does CP SET MSG IUCV and
WAKEUP RESET puts it back to ON. To trap other stuff, you do need to
explicitly set it (and maybe IMSG/EMSG would be enough in this case). But
Phillip has to set those traps before the SPXTAPE command.
And BTW, Phillip, WAKEUP
In a CMS service machine i have an EXEC that issues SPXTAPE command:
'CP SPXTAPE DUMP 181 SDF ALL'
Finished = 0
Say '...starting finished loop' /* debug */
Do until Finished
'wakeup (IUCVMSG'
Say 'number of queued() lines:' queued() /* debug */
Do queued()
parse pull
On Feb 13, 2008 4:18 AM, [EMAIL PROTECTED] wrote:
is there something else that has to be in place for the
wakeup command to get the output from the 'CP SPXTAPE ...' command ?
Dunno what SPXTAPE output comes as, but it probably is CPCONIO - so
you would do a SET command to divert those via
Sorry Rob, you're confusing CPCONIO a little with VMCONIO, the later
is all virtual machine I/O.
2008/2/13, Rob van der Heij [EMAIL PROTECTED]:
On Feb 13, 2008 4:18 AM, [EMAIL PROTECTED] wrote:
is there something else that has to be in place for the
wakeup command to get the output from
I've been reading and testing:
- I get WAKEUP's RC 6 too, but when calling WAKEUP again, it directly
exist with RC 1. So, the SHUTTRAP signal triggers 2 WAKEUP events: COSN
SMSG. Removing the CONS option doesn't do anything.
- SHUTTRAP does not work like ADDRESS CMS, (so an eventual
did not make some silly error.
When you use WAKEUP to trap the EXT interrupts, do you get alot of the
EXT 4000 interrupts queued up when some exec that gets called as a TIMER
event needs to query an SFS server via CSL calls? Hobbit client DISK
function reports on CP allocations (PAGE, SPOOL
PROTECTED]:
Well, at least I did not make some silly error.
When you use WAKEUP to trap the EXT interrupts, do you get alot of the
EXT 4000 interrupts queued up when some exec that gets called as a TIMER
event needs to query an SFS server via CSL calls? Hobbit client DISK
function
On Fri, 9 Nov 2007 10:15:36 -0600, Thomas Kern [EMAIL PROTECTED]
wrote:
Now I have to clean it up just a bit more. Which brings up the next
tangent
on this discussion. When I signal a linux SVM to shutdown, CP reports th
at
the linux SVM has signalled its termination. When I am logged onto a
Logging off seems like a pretty good signal. :-) You can put any CP
command you want in the VMPOFF, so you could use MSG or SMSG to send a
signal back to a shutdown SVM, which could wait until all guests have
reported in before it issues the real CP SHUTDOWN.
Brian Nielsen
On Fri, 9 Nov
A CLASS G linux guest only needs to signal CP that ITS own shutdown
processing has been completed and apparently the x0FFF in the PSW does th
at.
An SVM or Operator or Sysprog that issued the SIGNAL SHUTDOWN command wil
l
get the HCPSIG2113I message when the target SVM has completed its shutdow
n
On Fri, 9 Nov 2007 10:15:36 -0600, Thomas Kern [EMAIL PROTECTED]
wrote:
Is this PSW code (x0FFF) the
indicator to CP that SHUTDOWN has completed? If it is, how can I nicely
load
the same indicator when my SVM has completed its shutdown processing?
Sorry, I mis-read your question the first
One difference for VSE is that the field(s) NAME and TYPE can contain a V
SE DSNAME (all one word)
instead of a filename and filetype.
Are you sure the WAKEUP is not triggered, or only that your code has a pr
oblem with the file?
If WAKEUP is not being triggered, first check all your reader
Hello List,
We have some CMS machines to automate several tasks, such as processing
job output from VSE. When a file is sent to the machine's RDR WAKEUP is
triggered and processes the file. The machine has been running for some
years now on most of our VM images. Last week we copied
I don't know a perfect solution. The thing we used in one of our WAKEUP
based appls is -as far as I remember- is using NOREAD and prompting the
user after the first interrupt. So, the end-user's first input is lost,
that is: he presses enter, and then we display another CMS Window panel
64 matches
Mail list logo