getRpsMappedFiles

getRpsMappedFiles(schemaName: String;
                  rpsMapName: String;
                  dbfiles:    DbFileArray input);

The getRpsMappedFiles method of the JadeDatabaseAdmin class populates the DbFile array specified by the dbfiles input parameter with references to database files that are required for an RPS mapping. The RPS mapping is specified by the rpsMapName and schemaName parameters.

The following code example shows the use of the getRpsMappedFiles method.

vars
    dba : JadeDatabaseAdmin;
    dbfiles : DbFileArray;
begin
    create dba transient;
    create dbfiles transient;
    dba.getRpsMappedFiles("TestSchema","TestRpsMapping",dbfiles);
    // dbfiles now contains the database files for the RPS mapping
epilog
    delete dba;
    delete dbfiles;
end;