ZosFileFormatMapping
The ZosFileFormatMapping object represents a single file format definition. This object can be obtained using the Item property of ZosFileFormatMappings.
ZosFileFormatMapping Properties
ZosFileFormatMapping exposes the following properties:
| Property | Type | R/W | Description |
|---|---|---|---|
| Name | String | R | Name pattern. |
| FileFormat | String | R | File format: |
| "AT" (ASCII Text) | |||
| "AD" (ASCII Data) | |||
| "ET" (EBCDIC Text) | |||
| "ED" (EBCDIC Data) | |||
| "UT" (UNICODE Text) | |||
| "VT" (UTF-8 Text) | |||
| "B" (Binary) | |||
| "BT" (Binary CRLF) |
...
Examples of using ZosFileFormatMapping:
Visual Basic or VBScript:
Dim objFileFormat
Dim strName
Dim strDataType
strName = objFileFormat.DataSetName
strDataType = objFileFormat.DataType
JScript:
var objFileFormat;
var strName;
var strDataType;
strName = objFileFormat.DataSetName;
strDataType = objFileFormat.DataType;
...