From a Natural program, I want to get a list of datasets

From an online (not batch) session, I would like something like ‘DIR datasetname*’ to get a list of existing datasets.
I can Create, delete and write to datasets, but only as long as I have a name.


Can you provide more info about your environment? Do you have Natural Process (i.e. Entire System Server)? I’m assuming so, but that would make a huge difference in any suggestions. :wink:


We do have Entire System Server.


Have a look at member MCATLG in library SYSNPE for an example. I think that’s what you’re looking for.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.