Skip to content

/AWS1/CL_MGN=>CHANGESERVERLIFECYCLESTATE()

About ChangeServerLifeCycleState

Allows the user to set the SourceServer.LifeCycle.state property for specific Source Server IDs to one of the following: READY_FOR_TEST or READY_FOR_CUTOVER. This command only works if the Source Server is already launchable (dataReplicationInfo.lagDuration is not null.)

Method Signature

IMPORTING

Required arguments:

IV_SOURCESERVERID TYPE /AWS1/MGNSOURCESERVERID /AWS1/MGNSOURCESERVERID

The request to change the source server migration lifecycle state by source server ID.

IO_LIFECYCLE TYPE REF TO /AWS1/CL_MGNCHANGESERVERLCST01 /AWS1/CL_MGNCHANGESERVERLCST01

The request to change the source server migration lifecycle state.

Optional arguments:

IV_ACCOUNTID TYPE /AWS1/MGNACCOUNTID /AWS1/MGNACCOUNTID

The request to change the source server migration account ID.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MGNSOURCESERVER /AWS1/CL_MGNSOURCESERVER