Modifies an IBIS cutline file as specified.
Reads an image based information system (IBIS) cutline file, prints the data to the terminal, modifies the data as specified, and then writes the modified data to the output file.
- INFILE
- Input file. The input file is an image based information system (IBIS) file in graphics format and contains line/sample locations.
- OUTFILE
- Output file. The output file contains the modified line/sample locations in the graphics format.
IN.DAT is opened and the line/sample locations are read in and printed to the terminal. A command is entered and the prompts for that command are displayed. When the "W" (write) command is entered, the points are written to OUT.DAT and the completion message is displayed.
After reading the input parameters, INFILE and OUTFILE are opened and the data is printed to the terminal. The user is then prompted to enter one of the commands shown below; and depending on the command entered, may be prompted further as indicated.
A: Add a point. Enter the number of the point which precedes the point to be added. Enter the line location of the point to be added. Enter the sample location of the point to be added. Do you wish to add another point? (yes,no) D: Delete a point. Enter the number of the point to be deleted. Do you wish to delete another point? (yes,no) H: Display help. M: Modify a point. Enter the number of the point to be modified. Enter the new line location of the point to be modified. Enter the new sample location of the point to be modified. Do you wish to modify another point? (yes,no) P: Print out points to the terminal. W: Write points to OUTFILE and end session. Q: End session without writing points to OUTFILE.After all the points are written to OUTFILE, all the files are closed, and the completion message is displayed.
An error was encountered while closing the <XXXXX> file. The data may still be valid.
The command entered is not valid. Enter a valid command.
The point number entered is not valid. Re-enter the point number that is needed.
This program cannot be run in batch mode. It expects a user to interactively type in the commands.
A fatal error was encountered during processing. The output file may or may not be valid, and processing is terminated. The message that is displayed immediately preceding this message is the specific error that was encountered.
This terminal does not have enough lines to display the cutline points. Execute this program on a terminal that has at least 23 lines of output.
The <XXXXXX> file could not be opened and processing is terminated. Verify that the <XXXXXX> file exists.
The <XXXXXX> file could not be read; and therefore, an output file cannot be created. Verify that the format of the file is correct.
This terminal is not supported the TAE terminal output. Refer to your TAE manual for terminals that are supported.
The <XXXXXXX> file could not be written to. Verify that disk space is available.