Overview | Statement List | Example
obj = UPGRAD/{ALL|COMP,component list}[,RECURS][,CREATE][,STATUS,status][,IFERR,label:]
Upgrades pre-V10 components to V10 instances. Options with this command provide the capability to:
upgrade all components or only specified components.
recursively upgrade the assembly hierarchy below the specified components.
create component parts for those components not found in the search path.
obtain a status of the commands results.
Parameter |
Description |
ALL |
Minor word that specifies that all components in the work part are to be upgraded. |
COMP |
Specifies that only the component object identifiers from the component list are to be upgraded. |
component list |
This list of object identifiers specifies the components to be upgraded. |
RECURS |
Recursively upgrades the assembly hierarchy below the specified component(s). |
CREATE |
Creates a new part in the current directory for a component file that cannot be found in the current search path. |
STATUS |
Specifies that the status value is to follow. |
status |
Number result that represents the status of the upgrade. This result is a GRIP error code. For a full list of error codes see Errors. Typical codes that may occur are the following: 1034 = The file
has not been opened. |
IFERR,label: |
Specifies a label to which program execution jumps if an error occurs. |