java.lang.Object
com.ibm.jzos.sample.nonvsam.file.CreateFileWithFileAttributes
This sample demonstrates how to create a non-VSAM
MVS sequential dataset with specific file attributes.
The file name is given as an argument to main, and
must be a non-VSAM MVS sequential dataset name.
- Since:
- 2.4.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcreateFileWithAttributes(String fileName) Creates a non-VSAM MVS dataset with specified attributes.static voidThe main method accepts a file name as the only argument and callscreateFileWithAttributes(String)to create the file.
-
Constructor Details
-
CreateFileWithFileAttributes
public CreateFileWithFileAttributes()
-
-
Method Details
-
main
The main method accepts a file name as the only argument and callscreateFileWithAttributes(String)to create the file.- Parameters:
args- The name of the file to create
-
createFileWithAttributes
Creates a non-VSAM MVS dataset with specified attributes.- Parameters:
fileName- The name of the file to create
-