¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

DOS/360 and printing (under VM) under Hercules


 

Ren¨¦ Ferland wrote:? ?(/g/H390-DOSVS/message/141)
Have you run your DOS/360 under VM/370? It should not be very hard. But the one problem I see is handshaking (automatic close of spool print/punch files), probably not implemented on DOS/360. The OS has to be patched for that. George Shedlock did it for DOS/VS.
Hi Ren¨¦,

I looked at what I thought was George's DOS/VS distribution (now at:?).? It appears that it depends on HercPrt () to issue Hercules commands to break printouts into separate files.? Apparently HercPrt has magic in it to look for job separator pages from whichever spooler generated the printout and create appropriately named files on the system hosting Hercules.??

If so, that approach would work with the DOS/360 installation with the following caveats:

1. HercPrt would need to be trained to recognize POWER II separator pages, which I suspect are not very different from POWER/VS(E) separator pages.? I haven't used HercPrt, so I don't know how difficult this would be, but I suspect not very difficult at all.??

2. The file POWER02.JCL, which creates the POWER II executable, would need to be changed to generate separator pages.? "JOBSEP=NO" becomes "JOBSEP=1".? POWER II lacks a JSEP= option on the * $$LST or * $$PUN card, so it has to be done during POWER II generation and cannot be turned off.??

3.? If running under VM, there is no coordination between POWER II and the VM spooler.? The unit record devices to be used by POWER II should be assigned by DEDICATE in the virtual machine's entry in USER DIRECT.? Addresses do not need to match;? "DEDICATE 00E 05E" would be fine.??

Another approach would be to develop a variant of HERCCMD (posted in this group at HERCCMD.ZIP) to eliminate that coding which is specific to a virtual storage DOS.? The program would need to be changed but the $$B transient might be OK as is.? This approach might be useful for other things.? I also don't know what happens to DIAG 8 when issued under VM under Hercules.??

Modifying POWER II to issue appropriate CP or Hercules commands is possible in principle; source for POWER II is included on the available distribution.? However, I took a look at this and found the code impenetrable.? Maybe another look is in order.??

-Steve


 

Hello Steve,
?
Thank you very much for taking your time at looking into that topic. ?On my side, I can add this:
?
1. I already use HercPrt with DOS/360, despite the absence of an end separator page, I am using the same method Fish uses for VM/370 (which has no end separator page), it is a reasonable trade-off;
?
2. it would be easy for me to "train" HercPrt to recognize an end separator page, I just did not know how to create one, but you just showed me how;
?
3. using a dedicated printer for DOS/360 avoids the problem of handshaking but leave us without one advantage of running DOS in a virtual machine, that is spooling the output (punched or printed) to other virtual machines, without manual intervention. When I use DOS/VS under VM/370, I submit jobs from a CMS virtual machine and I use a "special" print class for them. This class is handled by one LST task connected to a virtual printer, itself spooled to the CMS virtual machine. This way I can submit a job to the DOS/VS virtual machine, get back the output in the virtual reader of the CMS virtual machine, examine it with the SFBROWSE command and then decide whether or not I print it. I can also use a "regular" print class if I want the output printed right away. However, this can only work if handshaking is implemented. Otherwise, one has to manually close the spool device;
?
4. as far as I am concerned, don't worry about modifying the code of POWER II, I prefer to work with DOS/VS anyway (meaning no offense :-) ). However, I feel I should add that I truly had a lot of fun building DOS/360 following the instructions of your website. I learn along the way and I do play with my DOS/360 system from time to time. I think the community is lucky to have a man of your expertise to help anyone interested in DOS/360.
?
Cheers,
?
Rene FERLAND, Montreal
?