java.lang.Object
com.ibm.jzos.sample.EnqUpdatePdsMember
Sample program that ENQs on a PDS / member in a manner
compatible with ISPF and then updates the PDS member.
The fully qualified dataset name is given as the first argument and the member name is given as the second argument.
- Since:
- 2.3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EnqUpdatePdsMember
-
-
Method Details
-
main
- Throws:
Exception
-
update
Update a given fully qualified PDS name and membername. Catch exceptions and unwind/cleanup any resources that were obtained.- Returns:
- true if updated, false if in use
- Throws:
IOException
-