Functioning of Cms Reconciliation Jobs
Functioning of Cms Reconciliation Jobs
Functioning of Cms Reconciliation Jobs
PPLGBD00: It EXTRACT VALUES FROM CMS REPORTS It uses the Program ARD480 which is which is an Activity Recap Print Program. It uses the input file as PPLVPGE.CMS.REPORT.ARD480.SE, during the current batch. This file contains Report R16 which is COMBINED ORGANIZATION REPORT known as ACTIVITY RECAP Report defined at Org level. It contains fields such as Transaction code, Transaction Description, Total Transaction & Month to Date & Year to Date. This report is generated for the previous days transactions when the current batch is being run. For example, in Production batch of 11 th December, 2006 it creates report for 10th December which is 48 pages Report in this case. Then in this job, the report namely as PPLVPGE.CMS.REPORT.ARD340.ATR0.SHORT.SE is deleted. This report is generated in Program ARD340. This program prints logo-based reports produced by the Posting program (ARD140). This program begins by opening the System Control file (AMCR) and the Sort Report File 0 (ATR0) generated by the Reports Tag Sort program (ARD320). The program reads the sorted report file and checks the first record to ensure that it is a header record and that the time and date stamps of this file match the time and date stamps of the system record. If either of these conditions is not met, this program abends. The program initializes the Total accumulators required by certain reports and then reads the sorted report file. Based On the record type (for example, 0 = header, 1 = detail, 9 = trailer), program control is Passed to the appropriate area. Then, based on the report category (for example, D = daily, O = optional, U = user), the program passes control again. Within each of these areas, the program interrogates the record to determine the report number. The program performs the functions required by this record and reads another sorted report record. Processing continues in this fashion until the program has read and processed all report records. This ATR0 file is opened in input mode in the program ARD340 & is a Sequential file. Finally this report contains fields namely as ORG TOTALS, RUNNING TOTALS FOR THIS GROUP & FOR ORGANIZATION respectively. After this, SORT program is run to which PPLVPGE.CMS.REPORT.ARD340.ATR0.SE is provided as input file & the Output Sorted file PPLVPGE.CMS.REPORT.ARD340.ATR0.SHORT.SE is generated with the similar properties as that of PPLVPGE.CMS.REPORT.ARD340.ATR0.SE. This job also extracts values form Report generated by the Program ARD200, which loads the rejected transactions from todays batch run to the Reject Monetary Transactions file (AMJ1). This program begins by reading the System Control file (AMCR) and moving the time and date stamp to a working storage field for later reference. The first input procedure (2000-OPEN-ATTA-SECT) starts by reading the Unapplied Transactions (ATTA) file header and checking for the header and the time and date stamps. Then the ATTA record is read, validated, edited, and reformatted into the AMT1
Record layout and released to the sort file. The output procedure (3000-RETURN-SORT-1-SECT) returns the records from the sort file and creates a temporary AMT1 Work file (AWT1). The second sort builds the batch headers beginning with the input procedure (4000OPEN-AWT1-SECT). The temporary work file is opened and the records are read with Batch header information taken from the transaction records and both headers and Transactions released to the sort file. The output procedure (5000-CREATE-AWT1-SECT) returns the sort file and writes the sorted records with batch headers to the AWT1 file. A third sort then merges the AWT1 file with the Reject Reentry File 1 (ATE1) from program ARD080 into the Reject Monetary Transaction (AMJ1) and the Reject Reentry Backup (ABJ1) files generated from this program. The input procedure (6000-MERGEAWT1ATE1-SECT) reads the AWT1 file and releases the records (with batch headers) to the sort file until an end-of-file condition is reached. It then reads and checks the validity of the ATE1 header and the time and date stamp data. The program continues by reading the ATE1 file and releasing to the sort file where both files are merged and sorted. The output procedure (7000-CREATE-AMJ1-SECT) returns the Sort file and writes the records to the Reject Monetary Transaction (AMJ1) and the Reject Reentry Backup (ABJ1) files. ARD200 produces and prints the Reject Reentry Batches report (R15) and the Nonposted Reject Reentry report (S200). The file that is extracted from the program ARD200 in this job is PPLVPGE.CMS.REPORT.ARD200.SE This is nothing but a REJECT RE-ENTRY Report (R15), which contains fields as TOTAL NBR OF ITEMS, TOTAL NBR OF MEMOS, TOTAL NBR OF DELETES, TOTAL NBR OF DEBITS, TOTAL NBR OF CREDITS, TOTAL AMOUNT OF DEBITS & TOTAL AMOUNT OF CREDITS. This job also extracts values form Report generated by the Program ARD150, which performs the following functions: Accumulates balancing totals from posting run(s) and updates the System Control file(AMCR) with these totals. Any one-time options that were set are discontinued. Resets options on the Processing Control record on the AMCR file. Produces the Daily Balancing report. There are two major parts to this program: the sort input/output procedure and the Daily Balancing report. The input procedure of the sort reads the Control Record Update file (ATCU) and passes the records to the sort file. If you are using file segmentation, multiple file headers and trailers are allowed for the ATCU file. ARD150 checks each file header for the correct date and time stamp. The output procedure of the sort performs two functions. It updates the AMCR file with the information passed from the ATCU file. At each organization break, it resets any Interest Insurance Tables file fields on the Processing Control table by passing the file Sequentially and interrogating each record. After the sort is complete, the program performs a start on the AMCR file to point the file to the top. The program then reads the AMCR sequentially and, for each Organization
record encountered, produces the Daily Balancing Report (R32). The file that is extracted from the program ARD150 in this job is PPLVPGE.CMS.REPORT.ARD150.SE This is nothing but a Daily Balancing Report (R32), which contains fields as OUTSTANDING BALANCE BEGINNING BALANCE + TODAYS DEBITS + TRANSFERRED IN TODAY - TODAYS CREDITS - TRANSFERRED OUT TODAY = ENDING BALANCE PROFIT AND LOSS BALANCE BEGINNING BALANCE + TODAYS DEBITS - TODAYS CREDITS = ENDING BALANCE This job also extracts values form Report generated by the Program ARD080, which merges the following files: ATJ1 (Sequential Rejected Transactions) ATT1 (Sequential Monetary Transactions) ATTI (Merged User Monetary) ATXT (Temporary Transferred Transactions) AMWT (Warehoused Monetary Transactions). You must run programs ARU080 and ARD020 (to generate ATT1, ATJ1, and ATXT) before you run ARD080, even if there is no input. There are five major parts to this program: Sort 1, Sort 2, Sort 3, Print Incomplete and Deleted Batches, and Print Completed Batches. Sort 1 The first sort in this program places the three main input files (ATT1, ATJ1, and ATTI) Into order by batch date, batch source, batch number, and sequence number. The input Procedure assigns an entry number that is used to sort the items back into file input order (Since the output procedures of subsequent sorts puts the items out of order). The output procedure filters out duplicate batches (batches with duplicate keys are not Permitted). These print on the Unaccepted Batches report. A batch is a duplicate if the batch date, batch source, and batch number are identical in two consecutive batch header records. Sort 2 The second sort in this program takes the ATBB file (which contains all batches) and resorts it into organization, batch date, batch source and batch number (ascending), and full item sequence (five-position) number (descending). Sorting the full sequence number in descending order places the batch header in a logical position to receive batch-calculated totals with ticket headers (if they are present). Sort 3 Sort 3 puts the headers and detail items back into the proper sequence. It also filters out Any batches on the Unaccepted Batch report that do not have a valid organization number. The third sort in this program takes the ATBB file (which still contains all batches) and resorts it into organization, batch date, batch source, batch number, and full item sequence (ascending). The input procedure reads the ATBB file and passes the batch items to the sort file. The output procedure prints the NO ORGANIZATION FOUND BATCHES message on the Unaccepted Batches report or passes all valid batches into the Balanced Batches file
(ATBB) or Incomplete Batches file (ATIB) depending on the status on the batch header Record of each batch. (Sort 3 places the headers and detail items back into the proper Sequence.) Print incomplete and deleted batches The next routine in the program produces the Deleted and Incomplete Batches Organizational report (R13). This report is produced by reading the ATIB file and printing the items on the report. Print completed batches The next routine in the program produces the Completed Batches organizational report (R14). This report is produced by reading the ATBB file and printing the items on the Report. During this routine, AMWT and ATXT are merged into the ATNS file. ARD080 produces and prints the Deleted and Incomplete Batches report (R13), Completed Batches report (R14), and Unaccepted Batches report (S080).
PPLGBD01: BETA91 CHECKPOINT A: INPUT/REPORT CONTROL TOTALS This Job is BETA91 RECONCILIATION OF CMS CHECKPOINT "A" INPUT/REPORT CONTROL TOTALS REPORT DEBITS ----------------------------------ARD340 D03 TRANS JOURNAL BY ACC# POSTED: 5,487,171.30 ARD340 D03 TRANS JOURNAL BY ACC# NON-POSTED: 13,377.87 ARD340 D10 WAREHOUSED TRANSACTIONS NON-POSTED: 0.00 ARD340 D11 GENERATED TRANSACTIONS JRNL POSTED: 345,521.70 ARD340 D11 GENERATED TRANSACTIONS JRNL NON-POSTED:0.00 ----------------------------------TOTAL ALL TRANSACTIONS POSTED: 5,155,027.47 ----------------------------------ARD080 R14 COMPLETED BATCHES REPORT CALCULATED TOTALS: 5,163,036.02 ARD080 R14 COMPLETED BATCHES REPORT WAREHOUSED TOTALS: 0.00 ARD480 R16 ACTIVITY RECAP PURGE TOTALS: 8,008.55 ARD480 R16 ACTIVITY RECAP INIT DB/CR TOTALS: 0.00 ARD480 R16 ACTIVITY RECAP MAN N/P?? PUR : 0.00 ARD480 R16 ACTIVITY RECAP ARDH PURGE : 0.00 ----------------------------------TOTAL ALL TRANSACTIONS INPUT: 5,155,027.47 PPLGBD02: BETA91 CHECKPOINT B: NON-POSTED TRANSACTIONS VERIFICATION This Job is BETA91 RECONCILIATION OF CMS CHECKPOINT "B" NON-POSTED TRANSACTIONS VERIFICATION CREDITS 3,962,456.60 3,687.70 0.06 10,296.090.00 3,955,848.27
When NORMAL Running VISION CMS CONTROL REPORT: CHECKPOINT "B" ...................................... NON-POSTED TRANSACTIONS --------------------------------------------------------------------------REPORT DEBITS ------------------------------------ARD480 R16 ACTIVITY RECAP NET: ARD200 R15 REJECT/RE-ENTRY TOTALS: 221,923.47 When ABENDING VISION CMS IMBALANCE - PPLG CHECKPOINT "B: NON-POSTED TRANSACTIONS ARD480 R16 ENDING NON-POSTED BALANCE = ARD200 R15 REJECT/RE-ENTRY TOTAL NET = DIFFERENCE = PPLG ...................................... VISION CMS CONTROL REPORT: CHECKPOINT "B" ...................................... NON-POSTED TRANSACTIONS --------------------------------------------------------------------------REPORT DEBITS ------------------------------------ARD480 R16 ACTIVITY RECAP NET: ARD200 R15 REJECT/RE-ENTRY TOTALS: 12,964.05 9,788.25 9,442.65 345.60-
CREDITS 6,267.97
CREDITS
NET 9,788.25
3,521.40
9,442.65
PPLGBD03: BETA91 CHECKPOINT C: TRIAL BALANCE/ACTIVITY RECAP/CONTROLS This Job is BETA91 RECONCILIATION OF CMS CHECKPOINT "C TRIAL BALANCE/ACTIVITY RECAP/CONTROL TOTALS PPLG ............................ VISION CMS CONTROL REPORT: CHECKPOINT "C" ............................ TRIAL BALANCE/ACTIVITY RECAP/CONTROL TOTALS --------------------------------------------------------REPORT VALUE ----------------------------ARD340 D03 TRANS JOURNAL BY ACC# POSTED CREDITS: ARD340 D03 TRANS JOURNAL BY ACC# POSTED DEBITS: ARD340 O17 TRANS JOURNAL BY TRAN CODE CHARGE-OFFS: ARD340 O17 TRANS JOURNAL BY TRAN CODECHARGE-OFF REVERSALS:
. . . . . . . . . . . . . . . . . . . TOTAL NET POSTED (D03/D - D03/C + O17/CO - O17/R): -----------------------------ARD480 R16 ACTIVITY RECAP BEG A/R BALANCE: ARD480 R16 ACTIVITY RECAP BEG P/L BALANCE: TOTAL (BEG A/R + P/L) : -----------------------------TOTAL (BEG A/R + BEG P/L + NETPOST) -----------------------------ARD480 R16 ACTIVITY RECAP END A/R BALANCE: ARD480 R16 ACTIVITY RECAP END P/L BALANCE: TOTAL (END A/R + END P/L) ------------------------------ARD340 O08 TRIAL BALANCE TOTAL A/R: ARD340 O08 TRIAL BALANCE TOTAL P/L: ------------------------------TOTAL (TRIAL BALANCE GRAND TOTAL) ------------------------------ARD150 R32 DAILY BALANCING A/R OUSTANDING BALANCE: ARD150 R32 DAILY BALANCING P/L OUSTANDING BALANCE: ------------------------------TOTAL (PORTFOLIO)
5,022,453.70 928,168,842.22 7,563,685.48 935,732,527.70 940,754,981.40 933,153,070.67 7,601,910.73 940,754,981.40 940,754,981.40 0.00 940,754,981.40 940,754,981.40 0.00 940,754,981.40