Pathway/iTS SCUP Reference Manual
Table Of Contents

SCUP Commands
HP NonStop Pathway/iTS SCUP Reference Manual—520269-002
2-23
CONVERT Command
Cause. SCUP returns this error when you attempt to reconvert a program unit of the
existing SCOBOL object after transferring the Java, HTML, and MAP files from the
original location to another location. SCUP purges the original files and then re-creates
them to reflect the changes. If SCUP is not able to locate any of the original files
mentioned in the MAP file for purging, it returns this error.
Recovery. Complete the following steps:
1. Delete the MAP file and all files in the HTMLVOL and JAVAVOL volumes that
correspond to the application.
2. Restart the conversion.
Or
1. FUP COPY all the content of the MAP file to an editable file.
2. Manually update the locations listed in the editable file to reflect the target
system location.
For example, to move the MAINAPP file from \SYS1 to \SYS2, change the
corresponding entry in the editable file as follows:
Change \SYS1.$FC4.USERAUTH.MAINAPP to
\SYS2.$FC9.SCUPVOL.MAINAPP.
3. FUP PURGEDATA the MAP file.
4. FUP COPY the content of the editable file to the MAP file.
Command Examples
•
The following example directs the converter to convert the latest version of all
program units in the object file abcd. The starting HTML page is called
MYPROG_START.html, and it will use a background color of white and a
foreground color of black. The font used will be 12-point Courier. The compile
environment for the converted code will be the NonStop Kernel. The converted
Java source and HTML files are created in the current SCUP system, volume and
subvolume.
FILE abcd
CONVERT, INITPROG myprog
•
The following example directs the converter to convert the latest version of all
program units in the object file defg. The starting HTML page is called
MYAPP_START.html. The output attributes are obtained from the configuration
file mycfg.
CONVERT defg, INITPROG myprog, CONFIGFILE mycfg, APPNAME
myapp
•
The following example directs the converter to convert version 1 of all program
units in the object file defg. The starting HTML page is called
MYAPP_START.html. The output attributes are obtained from the configuration