Package com.ibm.jzos.sample
Provides sample classes for using the JZOS Toolkit API.
See: Description
-
Class Summary Class Description CatalogSearchSample Sample program that uses CatalogSearch, LOCATE and OBTAIN to display information about datasets matching a filter key.DynallocCopyDataset Sample program that uses BPXWDYN to dynamically allocate a new dataset with the same attributes as a given dataset, and then copy the original to the new dataset.EnqUpdatePdsMember Sample program that ENQs on a PDS / member in a manner compatible with ISPF and then updates the PDS member.FileFactoryCopy Sample program that uses the FileFactory class to copy a text file or dataset.HelloWorld Simple class that says hello on System.out and System.errLogstreamSample Sample program that uses ZLogstream, supporting IXGCONN (connect) and IXGBRWSE (read), to read data from a z/OS Logstream (aka, the z/OS System Logger).MvsConsoleInteraction This sample shows how JZOS can be used to interact with the MVS console.MvsConsoleWrapper This sample demonstrates a main program that can be used to wrap another main program while redirecting System.in and System.out to the MVS console.MvsJob Simple bean which holds a MVS jobname and id.MvsJobOutput Sample program which reads all sysout data for a MvsJob (jobname and jobid), and writes the output to a specified Writer.MvsSubmitJob Sample program which submits a job to the internal reader.PdsLister Sample program that lists a PDS directory.PeekOSMemory Sample program that dumps 500 bytes from the CVT to System.outShowJavaProperties Simple class used to display Java system properties and selected system environment variablesStdinTester Simple class which reads from System.in (//STDIN DD in batch), and copies to System.out (//STDOUT)ZFileCopy Sample program that uses the ZFile class to copy an MVS dataset in record mode from DD INPUT to DD OUTPUT.ZFileKSDS Sample program that inserts, updates, locates, and deletes records in a VSAM KSDS usingZFile.ZFilePrint Sample program that prints an EBCDIC MVS dataset pointed to by //INPUT DD to System.out (stdout).ZipDatasets A sample Java main class that can be invoked to create a Zip archive from one or more datasets or PDS members.ZipDatasetSource A class that is used byZipDatasetsto handle the creation of zip file entries for z/OS datasets.
Package com.ibm.jzos.sample Description
Provides sample classes for using the JZOS Toolkit API.
For more information, refer to the documentation and samples available on the JZOS Java Launcher and Toolkit Overview web site.