VisualAge Generator to Enterprise Generation Language Migration Guide

Other data EZE words

The left table column shows the VisualAge Generator 4.5 EZE word. The right column shows what the migration tool converts the EZE word to in EGL.

Figure 108. Other data EZE words

EZE word in VisualAge Generator 4.5
EGL definition
EZEAID sysVar.eventKey
EZEAPP sysVar.transferName
EZECNVCM sysVar.commitOnConverse
EZECONVT sysVar.callConversionTable
record.EZEDEST record.resourceAssociation
Note:
The qualification is still the record name.
EZEDESTP sysVar.printerAssociation
EZEFEC sysVar.handleHardIOErrors
EZELOC sysVar.remoteSystemID
EZELTERM sysVar.terminalID
EZEMNO
  • If EZEMNO is used as the target of a MOVE or assignment, the following occurs:
    • If EZEMNO is set from a numeric literal other than 9999, EZEMNO becomes:
      validationFailed(numericLiteral);
      
    • If EZEMNO is set from numeric literal 9999, EZEMNO becomes:
      validationFailed();
      
    • If EZEMNO is set from an item, EZEMNO becomes:
      if (itemName = 9999)
         validationFailed();
      else
         validationFailed(itemName);
      end
      
  • If EZEMNO is used anywhere else, it is replaced with:
    sysVar.validationMsgNum
    
EZEMSG
Note:
EZEMSG as a data item exists only if it is placed on a map. If it is placed on multiple maps, EZEMSG must be qualified.
<custPrefix>EZEMSG
Note:
  • There is no dot between <custPrefix> and EZEMSG
  • Where EZEMSG is used in functions, the migration tool keeps the same qualifications for <custPrefix>EZEMSG that were used by EZEMSG in those functions. For example, xxxx.EZEMSG becomes xxxx.<custPrefix>EZEMSG
  • Where EZEMSG is used in maps, the migration tool does the following:
    • Changes the field name to <custPrefix>EZEMSG
    • Sets the map msgField property to <custPrefix>EZEMSG
EZEOVER sysVar.handleOverflow
EZEOVERS sysVar.overflowIndicator
EZERCODE
Note:
VisualAge Generator permitted, but did not recommend, negative values and values greater than 512 for EZERCODE.
sysVar.returnCode
Note:
EGL does not permit negative values or values greater than 512 for sysVar.handleSysLibErrors.
EZEREPLY sysVar.handleSysLibErrors
EZERT2
Note:
In VisualAge Generator 4.5, EZERT2 is used only as the condition code for MQ Series access.
sysVar.mqConditionCode
EZERT8
Note:
EZERT8 is set for the following:
  • CALL statements if the (REPLY option is specified.
  • EZE system function invocations if EZEREPLY is set to 1.
  • I/O statements for serial, indexed, relative, and message queue records.
sysVar.errorCode
Note:
sysVar.errorCode is set for the following:
  • All CALL statements.
  • All sysLib system function invocations.
  • I/O statements for serial, indexed, relative, and message queue records.
The value of sysVar.errorCode changes more frequently in EGL than it did in VisualAge Generator.
EZESEGM sysVar.segmentedMode
EZESEGTR sysVar.transactionID
EZESYS

To use the EGL values in an if or while statement, use:

sysVar.systemType

To get the old VAGen values for use in any other statement, use:

myItem = <ezeSysLib>.getVAGSysType();

and then use myItem in the statement.

If you need to use the old VAGen value in a migrated VAGen program, use:

<custPrefix>EZESYS

where <custPrefix> is the Renaming Prefix you specified during Stage 2 of migration. The migration tool always includes a data declaration for <custPrefix>EZESYS and a statement to initialize it to the old VAGen value.

See EZESYS for details and potential problems.

EZETST
Note:
Set for IF...IN, and MOVEA. EZETST is 2-byte binary.
sysVar.arrayIndex
Note:
arrayIndex is int (4-byte binary).
EZEUSR sysVar.sessionID
EZEUSRID sysVar.userID


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]