I am trying to access information about dataset members using IBM Z Open Automation Utilities.
What I want to know is if it is possible to view dataset information like version, creation date, etc. as well as being able to view information inside the dataset member using Python library zoautil_py
So far I am able to list all dataset members using:
from zoautil_py import datasets, jobs, zsystem
import sys
dsname = input("Enter the Sequential Data Set name: ")
if (datasets.exists(dsname) == True):
print("Data set found! We will use it")
else:
sys.exit("Without a data set name, we cannot continue. Quitting!")
members = datasets.list_members(dsname)
However I haven't found functions in the library that allows printing of members info.
Anyways, I am able to use another command-line to view dataset member attribute, which is the Zowe CLI.
So back to my question, is it achievable using the zoautil_py library?