There are many VSAM datasets with AIX and PATH need to use mfdas to download.one of the example is TSTBA.DUE05B with AIX TSTBA.DUE05A and PATH TSTBA.DUE05P.
- TSTBA.DUE05B is a general VSAM Cluster
- TSTBA.DUE05A is an AIX of TSTBA.DUE05B
- TSTBA.DUE05P is a PATH of TSTBA.DUE05A
When using the mfdas commands below to download them from mainframe which the result datasets are not correct.
- MFDAS IMPORT BINARY C:\\TCP_BAS_PROJECT\\ES_BAS\\SYSTEM\\CATALOG\\DATA\\* from auto TSTBA.DUE05B /catloc=d:\\es_bas\\system\\catalog\\catalog.dat /catlog=d:\\mfa.txt /overwrite=yes
- MFDAS IMPORT BINARY C:\\TCP_BAS_PROJECT\\ES_BAS\\SYSTEM\\CATALOG\\DATA\\* from auto TSTBA.DUE05A /catloc=d:\\es_bas\\system\\catalog\\catalog.dat /catlog=d:\\mfa.txt /overwrite=yes
- MFDAS IMPORT BINARY C:\\TCP_BAS_PROJECT\\ES_BAS\\SYSTEM\\CATALOG\\DATA\\* from auto TSTBA.DUE05P /catloc=d:\\es_bas\\system\\catalog\\catalog.dat /catlog=d:\\mfa.txt /overwrite=yes
After downloading those 3 datasets which the result datasets all are independent as VSAM Type: CLUSTER without the AIX and PATH relationship.
When adding a new record into the base VSAM Cluster TSTBA.DUE05B then using AIX or PATH to read it with result of data not found. THIS IS A VERY SERIOUS PROBLEM.
Customer tried manually change TSTBA.DUE05A back to VSAM type AIX and TSTBA.DUE05P back to VSAM type PATH point to Cluster TSTBA.DUE05B, which solved the problem.
So, the question is how to use mfdas command with any options to download the VSAM with AIX and PATH?
I tried to do the similiar testing connecting AR23, however, the path is failed to import with error:
C:\\EDProjects\\TPCPROJ\\es\\file>MFDAS IMPORT BINARY C:\\EDProjects\\TPCPROJ\\es\\file\\* from auto TS6595.TESTVSMP /catloc=C:\\EDProjects\\TPCPROJ\\es\\file\\catalog.dat /catlog=C:\\EDProjects\\TPCPROJ\\es\\file\\mfa.txt /overwrite=yes
MFDAS01: Mainframe access problem. Reason: Open error (196).
When check the AIX file name in the catalog, it shows VSAM type is Cluster, not Alternate Index, which is the same situation as customer sees:

------------------------------
Man Li
Technical Support Engineer
Rocket Internal - All Brands
------------------------------