Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion 105-file-operations/AI FWText.ctmai

This file was deleted.

1 change: 1 addition & 0 deletions 105-file-operations/fileencoding/FILEENCODE.ctmai
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
H4sIAAAAAAAA/+1d+2/bOBL+ff8Kwlhg74Am9fuxwOHOdZytu44d2G56h92ioCU65lYWtSKVx+byv9+QelgPSpbT5La9k1EUsTikhjPD4XyfHn74DqEadpzajwihB/gCX228I/C9dj6Zjsez0fxsXHvlt1CD2bLlLcGW2IZHPY+a8mi7bwwMXO+e4G6/f9LubDrwV2Nw0jX73fraHBjr9iDsY1LuWPh+FpxqOEHn1CJobBvMpPY1GjH7hricwvmCHqDkT64z3mFqyR4uWxNXcEFtmwjxDwO7G3x3arBdUj48wUKJo2UgHwpZmIsLOOOGEjWFJXEE2YEoatVfoWa92YmmzkfOinAxtvHaUsIbbHEStDJPOJ5Ywsig/NgiO2ILZdLQqCDjevalS8Z3xJjYMD2Q9EhyGF9rYptj+2Zib9hcjQoywvXSIkuBxWEZ4pwRARbjRWLv2PocZDyXXPDrhKCSewxdRjbYs8Tq3lEWHU0nkTMJN+Sh1ZZyZCjPCY424FD432U7xGyCNszdYYEEQ9hmYgsm/gs9Jaev0PvV+UlfHh/OlpO/noaDhu6HceuRT23oioV/OGHcfcuMCaXfcngVxm2i/QyUdakTDOKLpebpWOxeevBqr0IzVOGWm9b7xZTDwV8+BsdciIv0MU53lqdO+JZxac9aOALEgaA7coldvEt0McBZ0h/ENu4hQEwqeydPFOtKBHHPqBFvJhBbnuwkfaQ6JmyUaA4XRuDVvaWYwwPjIvRLcHD/eYgdqYkgFByXnPiDk2icYNHsl0s88Pzp7sxIx+zgseH3kRbvG8ahXFDpZj+uF+R3Dzyz2q+RxFpLyXIHjE1KCYdCkLLAC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pCVGq/H5fNlqDHLCt9/t1VvdFuTHerfRK7Ff9o4PXqVyTtRq2v6cbdLX6MhNUuPGLTVNYudYuwPW7vcH9U6z3usOeiVyRT9m7uCv/Y2BzOGjyz1mCa+41GxyO7TNGRNLfJP5HTgIav+5lf3mqhhB+VtvF8ymsPUCDqjtr5MoNwN4PJsu4ejD43eP/wHZsCCjkm8AAA==
63 changes: 63 additions & 0 deletions 105-file-operations/fileencoding/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
# Control-M File Encoding Conversion Job Type

## Changes on this version

| Date | Who | What |
| - | - | - |
| 2025-09-30 | Robert Stinnett | Initial Release |
## Detailed Description

This Control-M Application Integrator job type enables the automation of character code (page code) conversion of text based files on Linux/Unix systems. This allows you to convert from one character type encoding (such as UTF-8 w/ BOM) to another such as (ANSI Windows-1252). This can often be useful when platforms or systems you are interacting with require specific encoding of files for processing.

The job uses the Linux command *iconv* for processing. Therefore it must run on a Linux platform with that package installed.


The available actions are:

Convert
Delete Original Upon Conversion Success
Omit Invalid Characters When Converting

## Download

* [Click this for the CTMAI file](FILEENCODE.ctmai)<br>
This will allow you to retrieve the raw ctmai file as described in the repository [Readme](https://github.com/controlm/integrations-plugins-community-solutions#saving-application-integrator-files-for-use).
* Or use the following command:

```bash
wget -O FILEENCODE.ctmai https://github.com/robertstinnett/integrations-plugins-community-solutions/tree/master/105-file-operations/fileencoding/FILEENCODE.ctmai
```

## Fields and available actions

### Connection Profile

Run As User: <username>
Password: <password>


### File Encoding Job Form

#### Parameters

Convert From <File Encoding Type> - Note this is a dynamic list and will pull all available types from the iconv command.
Convert To <File Encoding Type> - Note this is a dynamic list and will pull all available types from the iconv command.
Input File - Complete path and name of file
Output File - Complete path and name of file
Delete Original - Should original file be deleted if conversion finishes successfully?
Omit Invalid Characters - If a character is not supported in convert to file encoding format, should it be dropped?


## Additional Information

Please, feel free to modify and contribute! The more we share, the more we all learn.

## Requirements

Control-M/Agent with Control-M Application Integrator plug-in installed, running on Unix/Linux, version 9.0.20 or higher.

## Platforms and versions

The job was created and tested with the following platforms and versions:

Control-M/EM and Control-M/Server 9.0.22.035, running on Linux.
File renamed without changes.