I'm trying to get the same output as "ls '*'" from z/OS FTPD.
I think this can be done by reading the master catalog. Until now I found no way to open it from C.
I found out that the master catalog path is in SYS1.NUCLEUS(SYSCATLG). It says: S6SYS1113CCATALOG.Z16S.MASTER
So, my master catalog is CATALOG.Z16S.MASTER. I thought I could be able to open it with fopen, but it doesn't work.
Am I missing something?
Any help is appreciated.
IBMUSER:/u/ibmuser: >uname -a
OS/390 ADCD 16.00 03 9121
Software/Hardware used:
ASKED:
April 17, 2009 1:12 PM
UPDATED:
August 9, 2010 7:56 PM
Why not use normal MVS (z/OS) commands to access your catalog? Things like LISTCAT come to mind. Output to a dataset. Then use your program (written in C or whatever) to read the dataset.