Hi Tom,Hmmm ok, it’s not yet clear what is opening the COM port first, or causing hyperterminal to not be able to open it. Two more quick things to try:.If you type 'hyperterminal’ at the windows start menu, then once it comes up, righ t click and select “run as administrator”, can it then access the serial port?.If you have a different PC handy, does everything work on that fine?Thanks for letting us know this is unusual, so I’m suspecting something simple (but not obvious) that’s causing the problem Thanks again!Bernie. Hi Tom,I’m stumped on this one. Hi BernieTried procexp and nothing showed up in the search box for ProlificSerial.I tend to agree with you that this is something simple that is just eluding us. If I had had this machine for some time I might suspect I downloaded something some time that is causing the problem, but it is only a few weeks old and I have not had too much of a chance to crap it up yet.One thing that I even remotely suspect is that I loaded Oracle’s VM VirtualBox software and installed a Linux environment.
I double checked and the serial ports on the VM are disabled and the VM software is not started or running unless I explicitly do it, so I don’t really think it is the culprit, but it’s all I can think of right now. Short of uninstalling the VM software (which I really don’t want to do) I am not sure what to try next.Something I have not tried is bringing up the VM and seeing if I can use the COM port under Linux. I am just getting familiar with Linux, so it could take me some time to figure out, and I am not sure how that would ultimately help in the Windows 7 environment.Do you know of any issues when VM’s are present? I originally tried using Microsoft’s VM, but found some short comings and abandoned it for Oracle.Like I said, neither are running unless I explicitly start them.That’s the news from here. Hi Tom,VirtualBox has the ability to assign USB devices to the VM (in 1.1 mode with std edition; and 2.0 mode with Oracle VirtualBox Extension Pack ).
It’s a little bit of work, here’s a start:That will work with this adapter. So if getting it running in Linux in a VM might be a useful workaround, but if you’ve never used USB devices with VirtualBox, it can take a bit of fiddling. But looking into it might also confirm or not if VirtualBox may be the entity already grabbing the COM port.We’ve heard that some security software (in their scans of devices and files) can hold open COM ports - that’s another area to think about.Best wishes,Bernie.
Contents.FAQ: Creating and running the D6.0 version of MTS under Hercules - Version 1.1 - 7 February 2014This is a summary of some of the issues, questions, and answers that came up on the Hercules-390 and later the H390-MTS Yahoo! E-mail groups in the two weeks or so after the Michigan Terminal System (MTS) distribution materials first became available on Bitsavers.
It is written in the form of a Frequently Asked Questions (FAQ) list and the focus is on creating and running the D6.0 version of MTS under Hercules starting from 'tape' and following the D6.0 Installation Instructions for New Installations (D6.0-NEWSYS.txt).The hope is to update this FAQ from time to time as new issues arise. Check for updates.Corrections, questions, comments, and suggestions are all welcome. Post them to the H390-MTS e-mail list or send them to.Q1 Where is MTS available?A1: The MTS distributions starting with D1.0 (1968) through D6.0 (1988) are available in several tar.gz archives on the Bitsavers Software Archive, see:.Q2: What are the terms under which MTS is being made available?A2: MTS is copyright © by the Regents of the University of Michigan acting as agent for the MTS Consortium and is being made freely available under a Creative Commons Attribution 3.0 license (CC BY 3.0, ). The license allows one to use, copy, adapt, share, distribute, and transmit the work provided that one attributes the work by including the copyright statement and the name of the work, version number, volume reference, or date of publication that identifies the work in the copies or adaptations made. For additional information, see: or the COPYRIGHT.txt file included with the MTS distribution materials on the Software Archive.Q3: What is included in the MTS distributions?A3: The distributions include source code, object code, and documentation. There is a README.txt file available in the Bitsavers Software Archive that describes what is available in detail. The README file is also available as a Web page, see.Q4: Do the MTS distributions include everything that was part of MTS?A4: No, the distributions only include the materials that the MTS Consortium was able to distribute free of copyright or license restrictions.
This means that various program products are not included. None of the excluded materials are required to use MTS, but the absence of the MTS version of ASMH is a sometimes painful shortcoming since various MTS programs and configuration files can't be reassembled because they depend on the MTS version of ASMH. The MTS version of ASMH was based on the IBM Assembler H Program Product and included SLAC and MTS specific enhancements.Q5: Does MTS run under Hercules?A5: Yes, several people have gotten the D6.0 version of MTS running under Hercules. For information about Hercules, see.Q6: Is a runnable version of MTS available?A6: No, not quite yet.
With a bit of work one can create a runnable version of an MTS starter system based on the D6.0 distribution from 1988. Several people with little or no knowledge of MTS have been successful doing this. And work is being done now to create an IPLable disk based version of D6.0 MTS. It should be available sometime in early January 2012. When it is available, it will allow someone to run MTS under Hercules more or less directly without the need to restore the system from 'tape'. This system will also fix some of the problems that people have encountered when using the D6.0 version of MTS under Hercules.
The rest of this FAQ assumes that this IPLable disk based version of D6.0 is not available or not being used and you are starting with the simulated AWS tapes that are part of the D6.0 MTS distribution available from Bitsavers.Q7: Is D6.0 the latest or final version of MTS?A7: No. D6.0 is the last formal distribution of MTS. It was sent out in 1988. MTS continued to be developed and used at the University of Michigan (U-M) until 1996 and at RPI until 1999. While there is no distribution for later versions of MTS, work is being done now to create an IPLable version of MTS based on the system that was running at U-M in 1996 shortly before MTS was shutdown for the last time. 1.Determine the offset in minutes from GMT for your timezone and convertit to a signed twos-complement 16-bit hex value. For negative offsets,you can take 65536 minus the offset and convert that to hex to get thevalue.
For instance, PST is GMT minus 8 hours, which is 480 minutes andso 65536-480 = 65056 = FE20.2. Determine the EBCDIC values ofyour timezone name in hex. For instance, the string 'PST' would be D7 E2E3. The timezone name should be no more than 8 characters and should bepadded out to 8 characters by adding space characters (x'40') on theright. An EBCDIC table can be found at:Here are some timezone offsets and names in hex for various time zones. COPY SYS D6.0SYS.NDSK/MP DECK TABLES.MP to -tablesSTOP$RUN.OBJUTIL 0=-tablesMAPSymbol Type Esid Address Length AFModule: TABLES Size = 0041C8TABLES SD 0001 000000 003E0E $HSPMNDV LD 0040FC 0004$POOLID LD 0040EC 0004 $PPHOST LD 0040F2 0004.VMDBXLE LD 0 CACHINFO LD 0CNFGINFO SD 0004 0B8 MMDVADRL LD 0034E0 0001MMDVLSTL LD 003F4C 0004 MMLSTBIT LD 0TABLSEGS LD 0STOP10.Run RAMROD again and create a new system from the current system using acommand like 'CREATE D6.0-AN172-PST'.
Enter comments describing thereason you are creating the new system, ending with a blank line. Enter the command 'CURRENT' to make the new system into the current system and then 'STOP' to exit RAMROD.13. Then, shut down and re-IPL MTS.14.On the initial boot, you'll see an extra message warning that thetimezone has changed and asking whether to continue or not.
Enter 'OK'to continue.Q18a: I've read the instructions on 'Patching the System Object Deck' in the General Notes (D6.0-NOTES.txt), but am having trouble using MTS:RAMROD. Can I have some hints?A18a: Sure. The RAMROD writeup is available in the file RMRD:RAMROD.PF. RAMROD has a HELP command.
RAMROD works on systems. Systems are made up of an ordered collection of object decks. You can get a list of systems using the RAMROD command LIST. RAMROD on the D6.0 starter system doesn't have a current system initially, because there were several different resident system versions from which to choose (there are 4 possibilities: XA and 3 flavors of 370).
The RAMROD command CURRENT will make a system the current system, but you don't want to do that until you've created a new system and added your patches. You'll want to create a new system from an existing system ( create newsys from existingsys) and make your changes to the new system. The RAMROD PATCH command lets you add one or more REP cards to one of the object decks in a system. You need to know the ESID (usually 1) and the offset within the object deck you wish to patch. You can figure this out from the file SEG2:S2MAP.
The MTS commands $PEEK and $INFO can also be used to figure out the offset. When you've finished your modifications, use RAMROD's annotate command to add any additional comments, rename newsys bettersys (some better more meaningful name), and make the better more meaningful named system current.You've found the instructions on patching the system in the General Notes (D6.0-NOTES.txt), but the following comments from the D6.0 driver file (D6.0-LIST.txt) for component 468/007 (RESIDENT SYSTEM UM RAMROD) might be helpful as well. The following procedures are used in maintaining this file. Whenevera new system is installed i.e., made 'current', three things are done:1. The name of the system installed is changed to the 'modelnumber' of the date it is installed, e.g.
'AY108' for May 10,1978. 2nd and 3rd letters of the month name, two digit dayof the month and one digit year.2. The system installed is made the current system.3. The oldest system is deleted so that there are about fivesystems, the current one and the four preceding.When someone wishes to change a component, but not install a newsystem, a new system called 'NEWSYS' is created from the currentsystem (if it doesn't already exist) and the desired changes made andnoted using the ANNOTATE command. Then when the NEWSYS system isactually to be installed as the running system, the procedureabove is followed.A test system can be created at any time with any name, but when thenew components are ready to be installed, they should be put in'NEWSYS' and the test system destroyed.Q19: I cannot use.PRINT.
or.BATCH. What needs to be done to make them available?A19: The first time you use the spooler, HASP, it needs to be started by entering 'HASP COLD FORMAT' at the MTS Operator's Console.
Once a cold start has been done, subsequent IPLs can do a warm start (HASP WARM or just HASP). Once HASP has started, enter 'MTS.HSP' followed by the HASP command $RELEASE EX at the MTS Operator's Console. You may wish to tailor.HSP to your local configuration as outlined in step 13(A) in the D6.0-NEWSYS.txt instructions. Use 'MTS.HPS' to display HASP status.Q20: Does HASP support 3287 printers? What printers can be used as the MTS console log printer?A20: No, HASP does not support 3287 printers. A 1403, 3211, 1052, or 3287 printer may be used as the MTS Operator's Console log printer.
In order for a 3287 printer to work, it must be associated with a tn3287 session. Some tn3270 software includes tn3287 emulation. Issue the%PTR name device command from the request area at the bottom of the MTS Operator's Console to start a console log printer, where name is the MTS device name for the printer to be used. Use the%PTR NONE device command to terminate console logging and release the printer.Q21: I get an error when trying to print to a 1403 printer (HASPLING PTR n: Unrecoverable error - Printer status: 0100 0E00 01:80). How do I work around this?A21: This is a command reject (x'80') caused when the printer tried to skip to an undefined carriage control channel. To avoid the problem, an MTS carriage control tape needs to be defined for the printer.
Unfortunately, this is only possible using relatively newer versions of Hercules. As of early January 2012 the new versions were not available without building Hercules from the source in the SVN repository. And newer Windows snapshots may be available at. If you can get access to a newer version (versions 7000 and later have been reported to work, but bugs related to this support have been reported in those versions too), the Hercules configuration command to use to define the carriage control tape is:addr type filename lpp=66 fcb=1:11,4:1,5:5,8:10,14:6,19:4,24:7,34:2,44:6,49:4,54:7,63:8,66:3 optprintAn alternative that may work with currently available versions of Herculies is to include the 'nofcbcheck' option. For example:addr type filename nofcbcheckIf the version of Hercules being used does not support either the fcb or nofcbcheck option, then you will not be able to print using HASP or.PRINT.
You may be able to print directly to a printer when signed on to MTS using a privileged userid (an id that can $Set prot=off), if you avoid the more unusual MTS carriage control options. Here is an example. $Get PTR2$Copy somefile.AFD.@nocc$Run someprogram SPRINT=.AFD.@nocc$Release.AFD.Q22: Does MTS include a link editor?A22: Yes, but the use of a link editor is optional.
The MTS loader is a dynamic linking loader that will load output from compilers and assemblers directly. You can use the MTS programs.LINKEDIT and.OBJUTIL to optimize object modules so that they load somewhat faster, but that is the only advantage to using the programs. The programs are described in MTS Volume 2 and MTS Volume 5 contains additional information about the programs, the MTS loader, and MTS object modules.Q23: The message '.DWB: IS ANOTHER COPY OF.DWB RUNNING?'
Appears on the MTS Operator's console followed by an input request. What is the message about and how should I respond?A23: The MTS.-file job.DWB copies the contents of CMDSTAT (Command Statistics) log files to tape.DWB is started by.CMD when one of the log file fills up. There is a bug that prevents.DWB from running to completion and so the next time a version of.DWB starts up it appears that the previous version is still running. Until the bug is fixed, the simplest thing to do is to simply respond 'yes' which will cause the new version of.DWB to terminate.CMD will continue to log information to disk files. Eventually, all of the available files may become full and you might need to sign on to the userid SYS., check the file SYS:CMDDIR, empty the full files, and adjust the lines in SYS:CMDDIR to indicate that the files are no longer full. There is some information about CMDSTAT in the file D6.0-NEWSYS.txt step 13(C) and more information in the D6.0 MTS Operator's Manual.Q24: My 3270 terminal session gets signed off from time to time for reasons that are unclear. What is happening?A24: The 3270 Device Support Routine (DSR) will sign you off after a period of inactivity.
You can prevent this by issuing the%timeout device command. You can issue that command every time you sign on by placing the command $Control.MSOURCE. timeout=off into a file and establishing the file as your sign on file or sigfile ( $Set sigfile=filename).Q25: If your HASP spool space fills up, what can you do?A25: There is a relatively small amount of HASP spool space allocated on the D6.0 starter system. Check the output to see if there are any MTS jobs that did not stop, if there are, $RERUN any batch jobs and try to stop non-batch jobs one by one using the STOP job, once all of the jobs are stopped or it is clear that they won't stop, go ahead and stop the Hercules processors (stopall Hercules command) and exit from Hercules or re-IPL.Q31: How does one create new userids?A31: You use the program ACC:ACCMAINT, one of the more arcane programs in MTS.The.Format source for a writeup is available in component 104/172 (file 547 on d6.0t1). You can produce a formatted version with the command: $Run.Format scards=ACCMAINT.WF sprint=-print.
Then $Copy -print to look at the output, or $Copy -print PTR n to 'print' the output, or $Copy -print.Print., if you have HASP working.From the userid ACC. $Run ACCMAINT and use a CREATE command to create a new userid (RAF.), with a University account number of 0, with a disk space limit of 10,000 pages, in a new project (WRAF), with several system privileges that might look something like this. CRE RAF.,0,10000,WRAF,LIBRARY=ON,PRIV=ON,PROTECT=ON,PASSWORD=xxxxxxxThe positional parameters in order are: User ID, University account number, IDR number, Unit code, Expiration time, Max charge dollars, Max disk pages, Max terminal minutes, Max plotting minutes, Project owner's name, and Project number, optionally followed by keyword parameters. All of the keyword parameters set system privileges and IDs with these privileges set must be part of a project whose name starts with the letter W (WRAF in the above example).
If you want to create regular user ids rather than system user ids, then the project name shouldn't start with the letter W.A PDF of the Accounting in MTS writeup from 1991 is available in the Internal Documentation sub-section of the Documents page on the MTS Archive. Not sure what, if anything, changed between D6.0 in 1988 and 1991.
Q32: How does one change the password for an existing userid?A32: You can reset a password by signing on to the userid WPSW and running the program Program1. If you give it a userid, it will assigna new random password to that id.Q33: How does the operator respond to $Mount requests?A33: Here is a complete example of mounting the d6.0t1.aws simulated tape on drive 184 (T904):The user requesting the mount enters:$Mount MTS:TAPE1 9TP.T. LBLTYPE=VLO VOL=6.0T1MTS:TAPE1 is the tape name, it is to be mounted on a 9-track tape drive, using pseaudo device.T., the tape is a volume label only tape with volume serial number 6.0T1 (note that there is no initial 'D' in the volume name for this particular tape). The tape is to be mounted read-only (ring out), which is the default. In this case MTS:TAPE1 is a pretty much a made up name for D6.0 and D6.0A that allows the use of tapes that haven't been put through the tape submission process by non-privileged users.A mount request appears on the MTS console:00041 MTS KPM0: T (1 9TP) (TAPE1) on 9TP, ring OUT, '.In this case the requested mount is from user KPM0. Mount requests are handled in batches from the same user. In this case the batch includes a request for one 9-track tape (1 9TP).
When more than one tape is requested at the same time for the same job, the operator only starts to mount the tapes when there are enough free tape drives of the appropriate type to satisfy all requests in the batch. The tape is located in rack TAPE1, another made up location for use with D6.0 and D6.0A. The tape name and the rack location are usually quite different, but in this example they are similar.Attach the tape file with device 184, if it isn't already associated with a tape drive in the.cnf file, using the Hercules devinit command. In this example the simulated tape file is in the Tapes directory:devinit 184 Tapes/d6.0t1.aws noringAt the MTS console reply:OK TAPE1 T904OK is just one of the possible responses. It says that the tape from rack 'TAPE1' has been mounted on the device named T904.