2 2 3 File Management

LANSA Composer

2.2.3 File Management

Activity ID

Description

BASE64_DECODE

Base64 decode the contents of a specified file.

BASE64_ENCODE

Base64 encode the contents of a specified file.

COPY_FILE

Copies a file from one directory to another using the file names, source directory and the target directory.

DELETE_FILE

Deletes a flat file from a directory using the provided file name and full path.

DIRECTORY_LIST

Lists the contents of a directory.

FOR_EACH_TXTLIN

Iterate for each line in a text file.

FOR_EACH_OBJECT

Iterate for each object in an IBM i server library

HASH_FILE

Generate a hash value for a specified file

LOAD_PSVSET

Load processing sequence variables from a PSV file.

MOVE_FILE

Moves a file from one directory to another using the file names, source directory and the target directory.

PATHMAKE

Constructs a file path from folder path and file name.

PATHSPLIT

Splits a file path into its constituent components.

QUERY_CCSID

Returns the IBM i CCSID for a specified file

RENAME_FILE

Renames a file.

SAVE_PSVSET

Save processing sequence variables to a PSV file.

SYSTEM_COMMAND

Executes an operating system command.

TEXT_SUBSTITUTE

Reads a skeleton text file and replaces %%parm.parmeter%% references in the text with the current parameter value and writes the expanded text file.

WAIT_FILESREADY

Cache operations for files waiting for "ready"

WATCH_DIRECTORY

Watch a directory for new or changed files

XML_SPLIT

Split XML document file.

XML_QUERY

Query value(s) in an XML document file.

XML_VALIDATE

Validate an XML document file.

XSL_TRANSFORM

Executes an XSL transformation

ZIP_DIRECTORIES

Zips a list of directories and places the contents in a zip archive.

ZIP_FILES

Zips a list of files and places them in a zip archive.

ZIP_LIST

Lists the contents of a zip archive.

ZIP_UNZIP

Lists the contents of a zip archive.