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.

image

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:

Regards,

We do have Entire System Server. 3.7.1.0

Natural 8.2.8.2

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