There is an own entry in the default configuration XML file to define file mappings, i.e mappings between generic remote file names and the suffix which is used on the client side. The suffix on the client side defines among others which editor is used to open the file.
Syntax:
Element
|
Attribute
|
Description
|
fileMappings*
|
|
Main element for all file mappings.
|
fileMapping
|
genericName*
|
The generic z/OS file name pattern this mapping should apply for.
Examples:
- *.CBL
- MYUSER.*XML
- *.LOAD.*
|
|
suffix*
|
The suffix (without the dot) that should be given to files which match the generic name pattern.
|
|
type
|
The type of file the generic name should be matched with. Valid values include:
|
|
remoteCodePage
|
The code page that should be used for editing files that match the generic name pattern. Do not define this attribute if the code page from the remote system connection should be used.
|
|
localCodePage
|
The code page of the encoded local file. Currently only the value UTF-8 is supported.
|
|
transferMode
|
How the file should be transferred when read or copied. Currently only the value
Text is supported.
|
Example:
<defaultConfigurations>
<fileMappings>
<fileMapping genericName="*.XML" suffix="xml"
remoteCodePage="IBM037"/>
<fileMapping genericName="COB*" suffix="cbl" type="member"/>
</fileMappings>
</defaultConfigurations>