Member of the month special: Real time project spec - by Rasith xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Program Specifications Project Number:
Document: Release: Billing 3.1
Finance Systems
PROGRAM :
GB630010
PROGRAM NAME: Europay Convergence
LANGUAGE: COBOL MVS
DATABASE: N/A
SYSTEM NAME: MasterCard Consolidated Billing System (MCBS)
FREQUENCY: Daily
PROCESSING MODE: Batch
DESCRIPTION: This is a new Cobol Batch program to do tier pricing for Europay. This is a copy of GB189010.
This program will read customer file sorted by MCE grouping id, cust event bal file, generic tbl xx (which lists billing events and their parent billing event), then it will calculate and update customer specific rate info, by grouping all customers under their MCE grouping id (parent ica), adding up their total volume and then looking up the parent billing event on TGBASTR get the rate which will then be used to update the child billing events on TGBACRA (only update when there is a change).
Get the parent billing event by using the billing event on the cust event bal file and looking it up on generic tbl xx to get the parent.
When updates are done, write record to audit reports.
Change reports to match new format.
Change to use MCE-group-id instead of RPS-parent-ica
When updating TGBACRA, operator id will be GB630010, operator id review will be GBBATCH
Remove read and processing of SYSIN. This is generic tbl 21 which will not be used.
Change sys004 customer backup input file to only have 3 fields, cust id, cust name, mce grouping id (this is a nullable field so it will be low-values if nothing there).
MCBS ? Report (GB630010-AA)
Purpose: To.
Frequency: Daily
Distribution: Internal
Media: Internal:
Copies: One
Sequence:
Report Breaks: None
Report Field Explanation:
Example of new MCE Parent / Child audit trail report (similar to GB189010-AA):
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012
REPORT NUMBER: GB630010-AA MASTERCARD INTERNATIONAL RUN DATE: 02/02/03
PROCESSING DATE: FEB 02 2003 CONSOLIDATED BILLING SYSTEM RUN TIME: 07:29:16
MCE PARENT/CHILD AUDIT REPORT PAGE: 1
INPUTS:
DD NAME TYPE COPYBOOK
SYS001 SEQ
SYSIN remove, this input is not needed.
SYS004 unloaded TGBACUS file, sorted in MCE grouping id order
OUTPUTS:
DD NAME TYPE COPYBOOK
SYS201 SEQ N/A
CONTROL CARDS/PARAMETERS :
N/A
NEW COPYBOOKS:
DATA FLOW DIAGRAM:
N/A
IDENTIFICATION DIVISION
? Standard COBOL statements will be used, PROGRAM-ID, INSTALLATION, etc.
? Include within the REMARKS an area for ?REVISION HISTORY?
? Program will be identified as ?PROPERTY OF MASTERCARD INTERNATIONAL, INC.?
? Program will be identified as ?COBOL MVS?
ENVIRONMENT DIVISION
? Standard COBOL statements SOURCE-COMPUTER, OBJECT-COMPUTER will be used.
? FILE-CONTROL will select two files as described above at inputs and outputs.
DATA DIVISION
? FILE-SECTION will contain FD?s for each of the files:
WORKING-STORAGE
? Include literal ?WORKING STORAGE BEGINS?
? Include SWITCHES and COUNTERS.
? The literals found below will be defined in the 300- series.
? The internal tables will be defined in the 500- series.
? The report lines will be defined in the 700- series.
? Include COPYBOOKS MCIWINCB and CR000020. Include WORK-DATE-TIME-MESSAGES area that includes Year 2000 requirements.
? All ABEND messages will include Program name and Paragraph name.