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
April 17, 2009 1:12 PM
August 9, 2010 7:56 PM