PRT2SAVE: convert screen dumps to EZFORMAT files
Description
Converts a print file of a screen into an EZFORMAT source
file. Can be used to recover "lost" EZFORMAT source.
Categories
Program Development
System Operation
Related files
PRT2SAVE: Object file or BASIC source for program.
User Instructions
Accepts the name of a screen dump print file and converts the
screen information into EZFORMAT format. Primarily used to
create EZFORMAT screen images from existing programs.
At the INPUT screen, enter the name and location of the
screen dump print file. Next, the program prompts for the
name and location of the output file. The program ends after
converting the screen portions of the print file into a
1920-byte EZFORMAT screen file.
Programmer Instructions
Both of the screens in PRT2SAVE are GETPARMs, so it can be
run under program control.
INPUT Enter information and press (RETURN) to continue.
FILE (blank) The name and location of the print
LIBRARY [spoolib] file to be used as input. Must be
VOLUME [spoolvol] created using the screen print option
from the command process or
equivalent.
OUTPUT Enter information and press (RETURN) to continue.
FILE (blank) The name and location of the EZFORMAT
LIBRARY [uid]+SAVE screen file to be created. Default
VOLUME [outvol] library consists of user ID + 'SAVE'.
RECORDS (blank) The number of output records to be
created.
BASIC source is available.
Example of use
Best used to recover EZFORMAT menus where the SAVE files have
been lost. For example, if program source has been lost for
a menu, run the program and create a screen dump, then
convert the image to EZFORMAT source and use the MENU option
to create a new menu. (Note that the key assignments will
not be captured; only the image of the screen.)
Another use might be to use an existing program screen as a
starting point for a new program screen by capturing the
image and converting it to COBOL source with EZFORMAT.
Comments
Creates an accurate EZFORMAT file, but ignores overstrikes (a
carriage return with no line feed) such as those used for
underlines or bold printing. Assumes that the MENU option of
EZFORMAT is in use; therefore, text fields are not surrounded
by double quotes.