Pathway/iTS SCUP Reference Manual
Table Of Contents
SCUP Commands
HP NonStop Pathway/iTS SCUP Reference Manual—520269-002
2-21
CONVERT Command
Restrictions
The following restrictions apply to the conversion process:
•
The converter works with block-mode non-IDS SCREEN COBOL program units
only.
•
Symbol information for the program units must be available in the POBJSYM file,
which must reside in the same volume and subvolume as the SCREEN COBOL
object file.
•
The CONVERT command supports up to 15 levels in a group data declaration,
whereas the Screen COBOL language supports up to 48 levels. This restriction
applies to the actual number of different levels, not to the level numbers
themselves. For example, in the following data declaration there are only four
levels even though the level numbers are 01 through 20:
01 WS-RECORD.
05 WS-PERSONAL-DETAILS
10 WS-NAME
10 WS-ADDRESS.
20 WS-ADDRESS-LINE-1
20 WS-ADDRESS-LINE-2
20 WS-ADDRESS-LINE-3
To prevent conversion problems, look at each data structure and remove unused
group level declarations. For example, if there was no reference in the code to the
group element WS-PERSONAL-DETAILS in the above structure, you can remove
it to rearrange the data structure as follows, which reduces the number of levels
from four to three:
01 WS-RECORD.
10 WS-NAME
10 WS-ADDRESS.
20 WS-ADDRESS-LINE-1
20 WS-ADDRESS-LINE-2
20 WS-ADDRESS-LINE-3
Troubleshooting
•
Unconditional GO TO statements
Cause: In some cases, when there are SCOBOL statements directly after an
unconditional GO TO statement, the Java compiler generates the error Statement
is unreachable.
Recovery:
1. Remove or comment out the appropriate SCOBOL statements.
2. Recompile the SCOBOL program, execute the CONVERT command again,
and recompile the Java code.
or