Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 7

Updating the copybook and schema

Updating the copybook


 Click update then remove the file then browse the copybook wherever u have kept it
and then update the datasource .
This is how copybook is updated

Updating the schema


Manage /datasource/
Click the schema then update/remove the file /browse / and then click on update
datasource .
This is how schema is updated .

Generating a report for a single

UPDATE VCSTST93.XMINDX SET XML_PROCESS_SW ='R', SERVER_ID ='' WHERE MASTER_ID LIKE
'%NVS32202106' AND TYPE_INFO ='FRTNTC' AND TRANSACTION_CODE ='MNTL'

 Here in above query type info and transcation code varies depending on
which type info and for which letter we are generating the report
 To view the status of the processed query above we execute the given
query below
SELECT * FROM VCSTST93.XMINDX WHERE MASTER_ID LIKE '%NVS32202055' AND
TYPE_INFO ='FRTNTC'

Merging all the small generated into one


UPDATE VCSTST93.XMINDX SET XML_PROCESS_SW ='R', SERVER_ID ='' WHERE TIME_STAMP
='2022-03-09-06.15.20.883536' AND TRANSACTION_CODE ='TRM2’

 here transaction code varies for which letter your merging


example: if your merging the reports for maintenance letter then
transaction code is TRM2
Below are the Transaction codes and Trigger codes used for OM

CONF, SPAG, YES1, YES2, TRGR, TRMT, TRY1, TRY2, ANST, SPEG, TRSP, MNTL, TRM2, TRCF, TRST

TRX Code(transaction codes )

1. CONF : Confirmation Letter used for both A2(Annuity) & A5 (Payout)


2. SPAG : Contract Print letter used for A5(payout)
3.YES1 &YES2: quartly & Annually statement used for A5(payout)
4. MNTL : maintenance Letter used for A2 (annuity)
The server files path for MNTL where reports are generated in the
location-/common/XGMaps/OM/VAMaintenanceLetter

5. SPEG : Contract Print for A2(annuity)


6.ANST : Statement for A2(annuity)

Trigger Code(used for merging the reports)

1. TRMT : Used to merge CONF report for A5


2. TRGR : Used to merge SPAG report for A5
3. TRY1,TRY2 : Used to merge YES1 & YES2 reports for A5
4. TRM2 : used to merge MNTL reports for A2
5. TRSP : used to merge SPEG reports for A2
6. TRCF : used to merge CONF reports for A2
7. TRST : used to merge ANST reports for A2

Confirmation Letter for Annuity


1. Service rule : CONFPRTConfirmationLetterRule

2. Typeinfo : CONFPRT

3. Map : VAConfirmationLetterMAP

4. Folder location For report : /common/XGMaps/OM/VAConfirmationLetter

5. Template Name : COMFTemplate.xml

Maintenance Letter for Annuity


There is only one single mantance report and based on typeinfo first small reports get
created and then merge into big

Service rule Typeinfo Map


OWNADRMaintenanceLetterRule OWNADR MaintenanceLetterOWNADR

COWADRMaintenanceLetterRule COWADR MaintenanceLetterCOWADR


BENCHGMaintenanceLetterRule BENCHG MaintenanceLetterBENCHG

BENADDMaintenanceLetterRule BENADD MaintenanceLetterBENCHG

BENDELMaintenanceLetterRule BENDEL MaintenanceLetterBENCHG

ANNCHGMaintenanceLetterRule ANNCHG
MaintenanceLetterANNCHG

JATCHGMaintenanceLetterRule JATCHG MaintenanceLetterJATCHG

OWNCHGMaintenanceLetterRule OWNCHG MaintenanceLetterOWNCHG

COWCHGMaintenanceLetterRule COWCHG MaintenanceLetterCOWCHG

SPOUSLMaintenanceLetterRule SPOUSL MaintenanceLetterSPOUSL

SEPBRKMaintenanceLetterRule SEPBRK MaintenanceLetterSEPBRK

GLWSTPMaintenanceLetterRule GLWSTP MaintenanceLetterGLWSTP

CDRFLPMaintenanceLetterRule CDRFLP MaintenanceLetterCDRFLP

GLWDTEMaintenanceLetterRule GLWDTE
MaintenanceLetterGLWDTE

GLWBEXAMaintenanceLetterRule GLWBEXA MaintenanceLetterGLWBEXA

CONVSNMaintenanceLetterRule CONVSN MaintenanceLetterCONVSN

MKTCHGMaintenanceLetterRule MKTCHG MaintenanceLetterMKTCHG

DCATRMMaintenanceLetterRule DCATRM MaintenanceLetterDCATRM

RMDTRMMaintenanceLetterRule RMDTRM MaintenanceLetterRMDTRM

RMDCHGMaintenanceLetterRule RMDCHG MaintenanceLetterRMDCHG


RMDSRTMaintenanceLetterRule RMDSRT MaintenanceLetterRMDSRT

RBLTRMMaintenanceLetterRule RBLTRM MaintenanceLetterRBLTRM

SWPTRMMaintenanceLetterRule SWPTRM MaintenanceLetterSWPTRM

SWPCHGMaintenanceLetterRule SWPCHG MaintenanceLetterSWPCHG

SWPSRTMaintenanceLetterRule SWPSRT MaintenanceLetterSWPSRT

AIPCHGMaintenanceLetterRule AIPCHG MaintenanceLetterAIPCHG

AIPSRTMaintenanceLetterRule AIPSRT MaintenanceLetterAIPSRT

AIPTRMMaintenanceLetterRule AIPTRM MaintenanceLetterAIPTRM

GLWTRMMaintenanceLetterRule GLWTRM MaintenanceLetterGLWTRM

GLWSPLMaintenanceLetterRule GLWSPL
MaintenanceLetterGLWSPL

GLWANNMaintenanceLetterRule GLWANN MaintenanceLetterGLWANN

FRTNTCMaintenanceLetterRule FRTNTC MaintenanceLetterFRTNTC

SECNTCMaintenanceLetterRule SECNTC MaintenanceLetterSECNTC

4. Folder location For report: /common/XGMaps/OM/VAMaintenanceLetter

5. Template name: MNTLTemplate.xml

Contract Print Letter for Annuity

1. Service rule : UniqueService

2. Map : VAContractPrint

3. Folder location For report :

4. Template Name : SPEGTemplate.xml


Statement for Annuity
1. Service rule : STMTPRTStatementRule

2. Typeinfo : STMTPRT

3. Map : VAStatementTrxDetails

4. Folder location For report :

5. Template Name : ANSTTemplate.xml

You might also like