2 2 18 Deprecated Activities

LANSA Composer

2.2.18 Deprecated Activities

Some Activities from previous versions of LANSA Composer have been deprecated in this version.

In most cases, the deprecated Activities are renamed and a replacement Activity is provided with new or different features or behavior.  New Processing Sequences should use the suggested alternate Activity.

Unless otherwise indicated, the deprecated Activities are still supplied, but are hidden for normal use such that they cannot be used in new or revised Processing Sequences.  This preserves the behavior of existing Processing Sequences that used the original activity.

The deprecated Activities are:

 

ZZARCHIVE_FILE

Original Activity Name:

ARCHIVE_FILE

Alternate Activity name:

MOVE_FILE

 

This activity was deprecated for the following reasons:

  • Because it did not properly set the error result code when the file move fails.
  • Because its parameters specify the file and path to be moved in a way that is inconsistent with other supplied activities
 

ZZARCHIVE_FILE2

Original Activity Name:

ARCHIVE_FILE2

Alternate Activity name:

MOVE_FILE

 

This activity was deprecated because it did not properly set the error result code when the file move fails.

 

ZZCALL_FUNCTION

Original Activity Name:

CALL_FUNCTION

Alternate Activity name:

CALL_FUNCTION

 

This activity was deprecated because the CALL_FUNCTION activity was enhanced with the ability to call functions in a different LANSA system and/or partition.  In doing so, the number of supported exchange parameters was reduced to seven (7).  The deprecated version of the activity preserves support for nine (9) exchange parameter values for existing Processing Sequences that may use them (but does not provide the enhanced capabilities of the new CALL_FUNCTION activity).

 

ZZDELETE_FILE

Original Activity Name:

DELETE_FILE

Alternate Activity name:

DELETE_FILE

 

This activity was deprecated because it did not properly set the error result code when the file delete fails.

 

ZZFTP_INBOUND

Original Activity Name:

FTP_INBOUND

Alternate Activity name:

FTP_INBOUND

 

This activity was deprecated because of incorrect behavior with respect to the use of the local target directory used by the activity.  When this deprecated version was used with some FTP servers (especially Linux servers), then parts of the remote directory path may have been added to the target directory path.  This behavior was INCORRECT and has been corrected in the revised FTP_INBOUND.  However because existing implementations may have relied on this behavior, this deprecated version maintains the previous behavior.

 

ZZMSG_RECEIVE

Original Activity Name:

MSG_RECEIVE

Alternate Activity name:

MSG_RECEIVE

 

This Activity was deprecated because it ends with an error status when no message is available to receive.  The new version of the Activity ends with a normal (OK) status in this case, but a new output parameter contains a count of the messages received, allowing Processing Sequences that use it to better handle this case.

 

ZZTUT_03_AT

Original Activity Name:

TUT_03_AT

Alternate Activity name:

NEXTNUMBER

 

This activity was used in the tutorial exercise LIC004 provided with LANSA Composer version 2.0 and earlier.  The tutorials supplied with LANSA Composer version 3.0 and later use the supplied NEXTNUMBER activity instead.