QUERY_CCSID

LANSA Composer

QUERY_CCSID

This activity returns the IBM i CCSID for the specified file.  The activity is only supported on IBM i servers.

A CCSID is a coded character set identifier that identifies a specific encoding of a specific code page on IBM i servers and other IBM platforms and software.  It is crucial that a file containing textual data has the correct CCSID that represents its encoding of that data – otherwise programs cannot successfully interpret the file.  For more information on CCSIDs, refer to relevant IBM documentation.

INPUT Parameters:

FILEPATH : Required

This parameter should contain the full name and path of the file whose CCSID is to be queried.

OUTPUT Parameters:

CCSID :

If successful, this parameter will contain the CCSID for the specified file.