PATHSPLIT

LANSA Composer

PATHSPLIT

This activity receives a file path and extracts the constituent components including the folder path, file name and extension.

The activity's behavior is subject to the operating environment. For example, it uses or looks for a path delimiter of '\' or '/' according to whether the processing sequence engine is running on aWindows or IBM i server.

INPUT Parameters:

PATHIN : Required

This parameter specifies the file path to be split.

OUTPUT Parameters:

PATHOUT :

Upon completion, this parameter will contain the folder path - that is the input file path minus the file name and extension.

FILEOUT :

Upon completion, this parameter will contain the file name if one is found in the input file path.

FILEXOUT :

Upon completion, this parameter will contain the file name and extension if one is found in the input file path.

EXTENSIONOUT :

Upon completion, this parameter will contain the file extension (not including the period) if one is found in the input file path.