To make things simpler for this lab, we had pre-configured Micro Focus ES with a Database File Handler (MFDBFH). It allows to store VSAM files data in a relational database. This File Handler uses previously configured PG.MFLABDB and PG.VSAM ODBC system data sources to access Aurora DB.
Run the following command to set MFDBFH_CONFIG environment variable to locate MFDBFH configuration file.
Run the following command to create relational logical database (in Aurora PostgreSQL) which contains VSAM files data.
dbfhdeploy create sql://aurora-mf-lab-db/vsam -verbose