VisualAge Generator to Enterprise Generation Language Migration Guide


Service Routines

The service routines section is organized into the following tables:


Figure 118. Service Routines - general syntax

VisualAge Generator 4.5
EGL produced by the migration tool Migration tool considerations
CALL serviceRoutine 
  [ argumentList ] ;
syslib.EGLSystemFunction
  [ ( argumentList ) ] ;
Note:
EGL system functions use the same argument list as in VisualAge Generator.
No special considerations.
CALL serviceRoutine 
   [ argumentList ] (REPLY ;
try
  sysLib.EGLSystemFunction
   [ ( argumentList ) ] ;
end;
Note:
EGL system functions use the same argument list as in VisualAge Generator.

If the (REPLY option is included in VisualAge Generator, the migration tool includes a try... end block.


Figure 119. Service Routines - VisualAge Generator and EGL equivalent routines

VisualAge Generator 4.5
EGL produced by the migration tool Migration tool considerations
CALL AUDIT sysLib.audit No special considerations.
CALL COMMIT sysLib.commit No special considerations.
CALL CREATX sysLib.startTransaction No special considerations.
CALL CSPTDLI sysLib.callDli
Note:
CSPTDLI is not supported in this release.
The migration tool converts the call to sysLib.callDli and issues an error message. You cannot run the program.
CALL EZCHART
call EZCHART [ arguments ]
     externallyDefined ;
Note:
There is no replacement for EZCHART in EGL.

The VAGen migration tool converts EZCHART to a call to an externally defined program.

If the REPLY option is specified in VisualAge Generator, the migration tool nests the call statement within a try ... end block.

CALL RESET sysLib.rollback No special considerations.


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