Skip to content

ZosFileFormatMapping

The ZosFileFormatMapping object represents a single file format mapping. This object can be obtained using the Item property of ZosFileFormatMappings. ZosFileFormatMapping maps a data set name pattern to a local file format.

ZosFileFormatMapping Constructor

The following constructor can be used to initialize a new ZosFileFormatMapping object:

ZosFileFormatMapping(  
            String name,  
            ZosFileFormat format  
            )

Parameters

name Name pattern

format File format

ZosFileFormatMapping Properties

ZosFileFormatMapping exposes the following properties:

Property Type R/W Description
Name String R Name pattern.
FileFormat ZosFileFormat R File format

ZosFileFormatMapping Examples

Examples of using ZosFileFormatMapping are shown below:

C

ZosFileFormatMapping format;
String name = format.Name;
ZosFileFormat type = format.FileFormat;

...

C++

ZosFileFormatMapping^ format;
String^ name = format->Name;
ZosFileFormat^ type = format->FileFormat;

...

Visual Basic

Dim format As ZosFileFormatMapping;
Dim name As String = format.Name
Dim type As ZosFileFormat = format.FileFormat

...

Jscript

var format : ZosFileFormatMapping;
var name : String = format.Name;
var type : ZosFileFormat = format.FileFormat;

...

Back to top