Chicago, IL

  

  

Hercules Area



Latest News about QScan

The newest version of QScan 1.6.0 is available now.  This update is recommended for all users of QScan 1.5.0 or earlier. The format of the .ini file was changed to make it easier to edit the file and to keep it from being corrupted. Starting with QScan 1.6.0, old format .ini files will not be supported. If you are have a previous version of QScan prior to V1.4.1, please discard it, download and install QScan V1.5.0. Then install QScan V1.6.0. Click to Download from our Files Area. Please visit our online support forum to download our software offerings.



QScan 1.6.0

Introduction


QScan is a program designed to work in conjuction with the Hercules Mainframe Emulator under Windows.  Hercules “prints” data to an ASCII file on the host Windows system.  QScan has the ability to scan this virtual paper and segment the output into individual jobs.  Each job can be viewed on the screen or saved to a file.  The saved file can then be printed. 


New Features added in QScan 1.6.0

  1. Removed old ini file format support
  2. Removed Windows CE detection
  3. Changed messages for memory corruption and to abort QScan when this condition is detected
  4. added code to extract rtf files
  5. added prompt before overwriting a .txt or .rtf file
Full Revision History


Click to join CedarLakeEmporium If you have any questions or suggestions, please visit our online support forum.


Requirements

Since HASP and ASP evolved into JES2 and JES3 respectively, I suspect that QScan might be able to support MVT with HASP and MVS with JES3 already.  I have not been able to verify this.  If you have working HASP or JES3 system, try QScan and let me know the results.

Host Operating System Dependencies

MVS 3.8j with JES2

QScan was designed to work with output produced with the Tur(n)key JES2PARM default of:
        &PRIDCT=33                           LOCAL SEPARATOR PAGE LINE COUNT
This results in separator page with the jobname and number with the large block letters.  QScan also use works with the value of PRIDCT=1. QScan V1.4.1 has not  been tested with any other values of PRIDCT.  If you try it, drop me a line on my support page and let me know how it works (or didn't work).

DOS/360

The LIST option must be on by default.  Do not use the '// OPTION NOLIST' since this will suppress the JCL from printing. Detecting start of job is a little tricky under DOS/360.  QScan looks for the text '// JOB ' on the first line of each page printed.  The job ends when another job is detected or end of file is detected.  The default separator page, if enabled, prints several lines of asterisks.  The separator is not used for job detection. 

MVT with ASP

An unmodified version of the "ASP MVT" distribution was used for testing QScan.


Possible Future Enhancements



Installing QScan 1.6.0

To install QScan 1.6.0, click on the file you downloaded (QScan-1-6-0-Setup.exe) and answer the questions.  After the install is completed, if you selected the desktop icon, you should see the following icon on your desktop.

A default QScan.ini file is supplied.  If it does not exist, when you run QScan a QScan.ini file will be created in the same directory as QSCAN.EXE. This file contains the setting for the printers and some of the options.

I don’t suggest changing this .ini file except via QSCAN. The INI file is written whenever you exit via the FILE->EXIT  or via the "X" close.
 

Usage

Click on the QSCAN icon and you should see a list of jobs in your virtual output bin (assuming you have output).

 
  1. Most of the options and menus are self explanatory so I won’t belabor the obvious. 
  2. If Hercules is running while QScan is open, you may need to do a File->Refresh to rebuild the job selection list in case any additional jobs are added to the bin.
  3. File->Extract to File will copy all the output for the job that is being displayed to a file.  The file will be created in the same directory as the main print files.  For JES2, the file name will be jobname-J####.txt
  4. File->Extract to RTF will copy all the output for the job that is being displayed to a RTF format file.  The file will be created in the same directory as the main print files.  For JES2, the file name will be jobname-J####.rtf. The RTF format may be openned by MSWord or OpenOffice to print. The RTF is formated to be as close to the layout of a 1403 printer.
  5. File->Browse will copy all the output  for the job that is being  displayed to a file.  Notepad will be launched to view the entire printout rather than the restricted view provided by QScan.
  6. View menu allows you to change the window size.
  7. The Asc radiobuttons indicate that the job list dropdown is displayed in oldest to newest sequence.  Desc displays the job list in newest to oldest sequence.
  8. The two Max fields allow you to specify the maximum number of lines or characters to display. Due to memory restrictions, only a finite number of output may be displayed. You can type over these to change the maximum. For OS type of LOG, the last maximum number of lines is displayed. For all others, the first maximum number of lines is displayed.

Defining  Printers

Click on the File Menu -> Printers and will display the following.

 
The Printers drop down lists all of the Hercules printers defined to QScan.  Note the printers listed are the default printers, which just happens to be my configuration. 
Since your system is different than mine, you will need to change the printers.

You may use the Add Printer, Change Printer or Remove Printer to change the drop down list of printers and the files associated with the printers.

When QScan is started, the first printer on the list is the selected by default.  In this example, MVS JES2 00E is the first printer accessed.

Clicking on Add, Change or Remove Printer results in a screen similar to the one below.

The top part of the screen shows all of the printers defined, the hardare unit number, the operating system and the Hercules text file associated with the printer.

To change or delete a printer, click on the number in the left most column.  The printer will be marked as deleted or an area to change the information will be displayed.  To add a printer, click on an unused number. 




Determine Hercules printer file locations

In order to connect the Hercules printers to QScan, the Hercules config statements for the printers must point to disk files accessible to your Windows system.  This is a segment of a Hercules config file.



Adding a Printer


Changing a Printer


Delete a Printer



Hardcopy output

Once a file is saved via File->Extract to RTF, you may open it with any other Windows application to view or print it. The RTF is generated with landscape orientation and top/bottom margins of .2 inches and left/right margins of .4 inches. The font is 8pt Courier New. MS Word and Open Office can open an .RTF file.

Once a file is saved via File->Extract, you may open it with any other Windows application to view or print it. Here are some suggestions  on how to print it:

Using MS Word


At this point, you should have something that looks like it was printed on 1403 printer.


Revision History

New Features added in QScan 1.5.0

  1. Added support for OS type of LOG.


New Features added in QScan 1.4.1

  1. Changed format of the .ini file
  2. Added code to prompt for a default file name in the event that the default file name cannot be located.
  3. Note that the help screens refer to QScan 1.4.0. They are still valid. No functional changes were made.


New Features added in QScan 1.4.0

  1. Patch for PRIDCT being less than 32
  2. Restructured the Printers section of the .ini file
  3. Changed code to support new printers structure
  4. Added options to maintain the printer list
  5. Bug fixes


New Features added in QScan 1.3.1

  1. Corrected URLs for QScan website
  2. Added path for help file
  3. Added MaxLines and MaxChars to .ini
  4. Remove prompts when MaxLines and MaxChars are changed
  5. Bug fixes


New Features added in QScan 1.3.0

  1. Converted i/o from fileCtl.file to Scripting.FileSystemObject
  2. Fixed Low Res/High res bug
  3. Add StringClass to improve performance
  4. Reformatted Help screens
  5. Other Bug fixes


Features Added in QScan 1.2.2

Due to memory constraints, there is a limit on the size (i.e number of lines) which can be viewed by QScan.  To circumvent this restriction, a new file option (browse w/NotePad) was added.  This option copies the job to a temp file and opens it in NotePad.  Be sure and uncheck NotePad's word wrap option.

The screen size can be changed by the View menu.

A Queue refresh is performed upon starting QScan.

Miscellaneous fixes were also applied for reliable operation.

A new installer was created  to help insure all of the files are installed (and uninstalled) correctly.


Click to join CedarLakeEmporium If you have any questions or suggestions, please visit our online support forum.



Last Modified: Jan 23, 2012 - Copyright ©  2012  CLEmporium, LLC   All rights reserved.

Free Website Hosting