| CPC G06F 16/188 (2019.01) [G06F 16/148 (2019.01); G06F 16/162 (2019.01); G06F 16/258 (2019.01)] | 16 Claims |

|
1. A computer implemented method for executing queries on files stored within a mainframe system, the method being executed by one or more processors and comprising:
extracting, by a UNIX Systems Services (USS) application operating within the mainframe system, Virtual Storage Access Method (VSAM) file names from catalog files;
identifying, by the USS application and based on the VSAM file names, associated copybooks within a z/OS operating system operating within the mainframe system;
generating, by the USS application, metadata for a plurality of VSAM files based on the associated copybooks;
generating, by the USS application, a metadata catalog based on the metadata for the plurality of VSAM files;
receiving, by the USS application operating within the mainframe system, query data based on the generated metadata catalog, the query data indicating a conditional query and a selection of a set of VSAM files of the plurality of VSAM files on which to execute the conditional query;
identifying, by the USS application, a subset of the selected set of VSAM files for which copies of the selected set of VSAM files are not stored in a file database of the USS application;
extracting, by the USS application and from a VSAM file system hosted by the z/OS operating system operating within the mainframe system, a copy of each file of the subset of the selected set of VSAM files into the file database of the USS application;
parsing, by the USS application, the copies of the selected set of VSAM files from the file database into a dataframe operating within the USS application;
executing, by the USS application, the conditional query on the parsed selected set of VSAM files in the dataframe; and
providing, by the USS application, a result of the conditional query based on the execution of the conditional query.
|