Skip to content

ZosJobFolders

The ZosJobFolders object is a collection of all job folders with the same parent folder. This object is obtained using the Subfolders property of the ZosJobFolder object.

ZosJobFolders Properties

ZosJobFolders exposes the following properties:

Property Type R/W Description
Item (varIndex) Object (IZosJobFolder) R Folder with specified name or index.
Count Integer (long) R Number of objects in collection.

...

ZosJobFolders Methods

ZosJobFolders exposes the following methods:

Add Method

Adds a new folder. Query type can be "QN" (name), "QP" (prefix), "AP" (active prefix), "AU" (active userid), or "A" (all active). Search argument is job name, prefix, or userid. Default argument is logged-on userid.

Add (
    strFolderName, 
    strQueryType,  
    strQueryArg
    ) 

Returns

Object (
    IZosJobFolder
    ) 

Refresh Method

Refreshes collection.

Refresh()

...

Remove Method

Deletes a folder.

Remove ( 
    strFolderName  
    )
Back to top