Keyboard Shortcuts
Likes
Search
Real and Virtual Printers and Punches and File Transfers
Thinking about how I might be able to transfer?a simple text file from within CMS to the Hercules?host I had the idea that I may be able to send it to the card punch which would should then appear in the a host file but I then discovered that VM virtualises the card punch so when you use the 'punch' command the output is placed in a spool file.? Not a great surprise but the spool file is not marked as held and yet I can't seem to find any way to tell the VM spooling system that it should send that file to what it thinks is the real card punch (i.e. the one virtualised by Hercules, not VM).? Exactly the same situation applies to the printer. Searching, I didn't find any solution to for the card punch; most documentation and web resources are more recent and I don't suppose anyone would think that you'd want to use a real card punch. For printing, the only solution I found any mention of involved driving the printer from MVS, either on a completely different machine, or by running MVS in a VM on the same machine and either way using an extra bit of software whose name I have forgotten to transfer the spool files from VM to MVS.? Is there no easier way, especially as I suspect the bit of software concerned may be proprietary. So stepping back a bit, what is the easiest way to transfer text files between CMS and the Hercules host OS? |
You need to start the "real" card punch or printer, for example, while logged in to OPERATOR or MAINT, use: CP START 00D (00D) is the "real" address of the "real" card punch. Regards, Peter Coghlan. |
¿ªÔÆÌåÓýSteven Well if you are using one of the incarnations of the six-pack it comes with ind$file and you can use that to move files in either direction. If you are using Windows and the standard TN3270 client from the six-pack you may need to tweak the Windows console settings to let you click on the file menu. Then click on ¡°file¡± ¡°transfer¡± and follow the prompts. ? The Punch and reader work well as well. So the first thing is to get your virtual punch pointing to the system spool, and with the right class, so ? ¡°SPOOL PUN SYSTEM CLASS P¡± ? Then punch your file ? ¡°PUNCH fn ft¡± ? Then start the system punch. So from the Operator, which is usually attached to the Hercules console and needs a ¡°/¡± prefix to ? ¡°/cp start d¡± ? And your cards will be placed in the file attached to ¡°D¡± in the config. You can change it by doing ? ¡°devinit d my-punch-file.txt¡± ? On the Hercules console. You don¡¯t need the ¡°/¡± as it¡¯s a hercules command. ? Dave ? From: [email protected] <[email protected]> On Behalf Of Steven Fosdick
Sent: 20 January 2020 13:09 To: [email protected] Subject: [h390-vm] Real and Virtual Printers and Punches and File Transfers ? Thinking about how I might be able to transfer?a simple text file from within CMS to the Hercules?host I had the idea that I may be able to send it to the card punch which would should then appear in the a host file but I then discovered that VM virtualises the card punch so when you use the 'punch' command the output is placed in a spool file.? Not a great surprise but the spool file is not marked as held and yet I can't seem to find any way to tell the VM spooling system that it should send that file to what it thinks is the real card punch (i.e. the one virtualised by Hercules, not VM).? Exactly the same situation applies to the printer. ? Searching, I didn't find any solution to for the card punch; most documentation and web resources are more recent and I don't suppose anyone would think that you'd want to use a real card punch. ? For printing, the only solution I found any mention of involved driving the printer from MVS, either on a completely different machine, or by running MVS in a VM on the same machine and either way using an extra bit of software whose name I have forgotten to transfer the spool files from VM to MVS.? Is there no easier way, especially as I suspect the bit of software concerned may be proprietary. ? So stepping back a bit, what is the easiest way to transfer text files between CMS and the Hercules host OS? |
On Mon, 20 Jan 2020 at 08:08, Steven Fosdick <stevenfosdick@...> wrote:
Other have explained how best to transfer files. But as an aside, there is nothing to stop you from ATTACHing the "real" card punch (i.e. the one virtualized by Hercules) to your userid, and thus avoiding SPOOLing entirely. Obviously this wouldn't work well in a production environment, but in your private instance of VM no one's going to complain. Tony H. |