Class MakeDirectory

java.lang.Object
com.ibm.jzos.sample.nonvsam.directory.MakeDirectory

public class MakeDirectory extends Object
This sample demonstrates how to create a new directory. The directory name is given as an argument to main, and it may be either a HFS directory or a PDS directory.
Since:
2.4.0
See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    main(String[] args)
    The main method accepts a directory name as the only argument and calls makeDirectory(String) to create that directory.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MakeDirectory

      public MakeDirectory()
  • Method Details

    • main

      public static void main(String[] args) throws Exception
      The main method accepts a directory name as the only argument and calls makeDirectory(String) to create that directory.
      Parameters:
      args - The name of the directory to create
      Throws:
      Exception