​​

Matching PERMSML File To PH File

The sample request below gathers payment information from the Payment History Data (PH) file for a group of SSN's held in your PERMSML file using the Match command.  If you'd like to copy the request and modify it for your use, it's available in the CIRS common library as FOC3200.

 

Note:  The example below presumes your PERMSML file was populated with SSN's by executing a report request that holds data to the file.  If you'd like to populate your PERMSML file by uploading SSN's from your PC, contact the CIRS Hotline for instructions.  

 

The first part of the request executes the standard defines for the PH file and begins the match request by summing gross pay for each SSN, for a specific pay period and your campus code.  

 

EX PH  

MATCH FILE PH

SUM PH:GROSSPAY

BY PH:SSA

IF PH:PAYPERIOD EQ __

IF PH:CAMPX EQ __

RUN

-*

 

The second part of the match compares the SSN's held in your PERMSML file to the PH data using the match option NEW, and holds the matched data to your PERMRPT file.  The fieldname E01 is the alias for the data held in PERMSML.  Note that E01 was renamed to PH:SSA so FOCUS will recognize that field as the same sort field used for the PH data.

 

FILE PERMSML

PRINT E01

BY E01 AS 'PH:SSA'

AFTER MATCH HOLD AS PERMRPT

NEW

END

-*

 

The final part of the report request generates the output from the matched data held in PERMRPT.  

 

TABLE FILE PERMRPT

PRINT PH:GROSSPAY

BY PH:SSA

END​



Last Updated: March 1, 2024