开云体育

WAKEUP - does a emulation of this module exist


 

Hi, interested to move some old Rexx stuff onto CE and WAKEUP function is missing (I think). Has anyone stood up an emulation or close alternative. If not, I guess I break out the assembler.....


 

The VM/370 Community Edition supplies a WAKEUP server that uses a control file to drive REXX routines at specific times. Event handlers can be driven:
- at specific intervals from "Now"
- on specific dates or date patterns
-on specific?days of the week or on weekends

The code is on the 191 disk of the WAKEUP virtual machine.

Bob Bolch


 

Hi Bob, Yeah I am aware of the server. It runs with just sleep though, and I was wondering about the WAKEUP MODULE that could be at the heart of this server. I know that WAKEUP MODULE is a SP(?) or later version facility.


 

The IBM WAKEUP facility was part of the copyrighted IPF Program Product. I believe it
became?available in the VM/SP timeframe.

The source for the DMSLFN program is in the VMSETUP?CMS search order on MAINT.
It shows what other capabilities are available to the WAKEUP?server, besides the timer facility.
It might be possible to add whatever additional capabilities you are interested in.
Bob


On Fri, Jan 7, 2022 at 9:50 AM Anthony Smith <anthony@...> wrote:
Hi Bob, Yeah I am aware of the server. It runs with just sleep though, and I was wondering about the WAKEUP MODULE that could be at the heart of this server. I know that WAKEUP MODULE is a SP(?) or later version facility.


 

开云体育

This is going back a long way, but when DOE started putting information on the internet, we got a program called GOPHER, written in Rexx and used either WAKEUP or a replacement YWAKEUP. Since we already had WAKEUP, we ignored YWAKEUP except to see that it was supposed to be a NON-IBM replacement. I don't remember who wrote it. Maybe someone else in here or on the VM list remembers it better, or maybe even has a copy.

/Tom Kern

On 2022-01-07 10:04, Bob Bolch wrote:

The IBM WAKEUP facility was part of the copyrighted IPF Program Product. I believe it
became?available in the VM/SP timeframe.

The source for the DMSLFN program is in the VMSETUP?CMS search order on MAINT.
It shows what other capabilities are available to the WAKEUP?server, besides the timer facility.
It might be possible to add whatever additional capabilities you are interested in.
Bob

On Fri, Jan 7, 2022 at 9:50 AM Anthony Smith <anthony@...> wrote:
Hi Bob, Yeah I am aware of the server. It runs with just sleep though, and I was wondering about the WAKEUP MODULE that could be at the heart of this server. I know that WAKEUP MODULE is a SP(?) or later version facility.


 

开云体育

I recall using WAKEUP or YWAKEUP (don't know which of the two)
to implement a plotter server. The plotter server was used to read incoming plot files,
stored them and after a certain time period, plotted them on a large piece of paper
on a large electrostatic Calcomp plotter. The plotter server moved the graphics on
the paper so that the paper was used as economical as possible (the graphics had
different formats).

So the WAKEUP routine in our case woke up on arriving RDR files (which were handled
without delay) AND on elapsed time periods. IIRC, we received a return code from
WAKEUP which telled us which event triggered the wakeup.

HTH, kind regards

Bernd


Am 07.01.2022 um 19:43 schrieb Thomas Kern via groups.io:

This is going back a long way, but when DOE started putting information on the internet, we got a program called GOPHER, written in Rexx and used either WAKEUP or a replacement YWAKEUP. Since we already had WAKEUP, we ignored YWAKEUP except to see that it was supposed to be a NON-IBM replacement. I don't remember who wrote it. Maybe someone else in here or on the VM list remembers it better, or maybe even has a copy.

/Tom Kern

On 2022-01-07 10:04, Bob Bolch wrote:
The IBM WAKEUP facility was part of the copyrighted IPF Program Product. I believe it
became?available in the VM/SP timeframe.

The source for the DMSLFN program is in the VMSETUP?CMS search order on MAINT.
It shows what other capabilities are available to the WAKEUP?server, besides the timer facility.
It might be possible to add whatever additional capabilities you are interested in.
Bob

On Fri, Jan 7, 2022 at 9:50 AM Anthony Smith <anthony@...> wrote:
Hi Bob, Yeah I am aware of the server. It runs with just sleep though, and I was wondering about the WAKEUP MODULE that could be at the heart of this server. I know that WAKEUP MODULE is a SP(?) or later version facility.


 

A VM370CE server using the?WAKEUP REXX function package can wait on a timer, reader file arrival, or command sent by SMSG. Other event types could be added.

Bob?


 

OK. Good shout Bob. That is a great work around for me. I'll put the assembler away.


 

A open-source WAKE MODULE came out in the 1980s, with a similar function to WAKEUP.? I have the source, it might to be off the 1991 VM Workshop tape.? I don't know if it depends on VM/SP CP.

-ahd-


 

Hi Drew,
I scanned the tape named 91VM.AWS but I don't see it.
If you send me the source, I will look at adding this to the next VM370CE release.
Bob

On Mon, Jan 10, 2022 at 2:20 AM Drew Derbyshire <swhobbit@...> wrote:

A open-source WAKE MODULE came out in the 1980s, with a similar function to WAKEUP.? I have the source, it might to be off the 1991 VM Workshop tape.? I don't know if it depends on VM/SP CP.

-ahd-


 

Happy to help out with code needs a fix. Warmed up the Assember recently but not needed. Haven't felt the joy of a successful "BALR" in too long :-)


 

Drew sent me a copy of the WAKE assembler program he mentioned.
It appears to be coded using VM/SP system macro interfaces and
the NUCXLOAD command which is not available to VM/370. The latter is not
available to VM/370 because the program loader cannot process a?
relocatable MODULE. WAKE and WAKEUP both implement:
1. Waiting for a specific time (and date)
2. Waiting for a command issued with SMSG.
3. Waiting for a reader file to arrive.

I removed the support, originally added to my version of WAKEUP, for IUCV
and CONSOLE macro capabilities that don't exist in VM/370. I can send a copy of
WAKE to anyone who wants it, but I suggest you use the WAKEUP REXX function
package, which is already installed. To produce an assembler listing, so you can
look at the WAKEUP code:
LOGON MAINT
VMSETUP?CMS
VMFASM DMSLFN DMSLCL

That produces an assembler listing file you can examine.?

Bob Bolch




On Tue, Jan 11, 2022 at 5:43 AM Anthony Smith <anthony@...> wrote:
Happy to help out with code needs a fix. Warmed up the Assember recently but not needed. Haven't felt the joy of a successful "BALR" in too long :-)


 

On Mon, Jan 10, 2022 at 06:36 AM, Bob Bolch wrote:
I scanned the tape named 91VM.AWS but I don't see it.
If you send me the source, I will look at adding this to the next VM370CE release.
On the 1986 Workshop tape, 86WTTL.AWS, file 132,
132?? Steve Howes, Brigham Young Univ.: VM mods to spooler, tools
contains a WAKEUP ASSEMBLE. There are many other files in that one, and they are all LRECL 1024 RECFM F, which rings a bell, but not clearly. (Some kind of LOAD/UNLOAD?)

I have placed all of those files on one tape,
/g/h390-vm/files/1986%20VM%20Workshop/2022-01-13.86WTTL.FILE132.het
as I can't actually read any of them on my VM/370 CE system, to determine how they are related. If this is not useful, please let me know, and I will delete it.

?... Mark S.


 

From distant memory an lrecl 1024 sounds like a text file in compressed format from vm/sp? so you will need to get something to decompress it on earlier versions.
eddy_balem
?


 

From distant memory an lrecl 1024 sounds like a text file in compressed format from vm/sp? so you will need to get something to decompress it on earlier versions.
eddy_balem
?


 

Mark,

F 1024 sounds like a packed file.? COPYFILE fn ft fm (UNPACK? might restore it to F 80.

Jim


 

On Fri, Jan 14, 2022 at 09:35 AM, Ganino, James (PERATON) wrote:
F 1024 sounds like a packed file.? COPYFILE fn ft fm (UNPACK? might restore it to F 80.
Thanks for the info. No such luck, assuming I ran the command correctly.

l WAKEUP?? ASSEMBLE A5 ( date
Filename Filetype Fm? Format??? Recs Blocks???? Date??? Time
WAKEUP?? ASSEMBLE A5? F? 1024????? 5????? 7? 05/07/79??? 5:44
Ready; T=0.14/0.25 19:16:13

copyfile WAKEUP?? ASSEMBLE A5 WAPKEUP1 = = ( unpack oldd
INPUT FILE 'WAKEUP ASSEMBLE A5' NOT IN PACKED FORMAT.
Ready(00032); T=0.01/0.01 19:16:49

?... Mark S.


 

I expect the F 1024 file was created in COPYFILE ( PACK format, BUT the block size
indicates that it was created on a VM/SP or later version of VM. The PACK format
changed to F 1024 when the enhanced CMS file system was introduced with disk block sizes of
512, 1024, 2048, or 4096. In VM/370, the COPYFILE ( PACK output is F 800, so VM/370
CMS doesn't recognize it and cannot unpack the file.
Bob Bolch


 

开云体育

Is the “pack” format documented anywhere?

?

Dave

?

From: [email protected] <[email protected]> On Behalf Of Bob Bolch
Sent: 15 January 2022 11:25
To: [email protected]
Subject: Re: [h390-vm] WAKEUP - does a emulation of this module exist

?

I expect the F 1024 file was created in COPYFILE ( PACK format, BUT the block size
indicates that it was created on a VM/SP or later version of VM. The PACK format
changed to F 1024 when the enhanced CMS file system was introduced with disk block sizes of
512, 1024, 2048, or 4096. In VM/370, the COPYFILE ( PACK output is F 800, so VM/370
CMS doesn't recognize it and cannot unpack the file.
Bob Bolch


Martin Taylor
 

If the file looks scrambled/compressed perhaps its in Terse Form which IIRC uses a 1024 blocksize.

Regards,
Martin.