Vous êtes sur la page 1sur 3

//000000ID JOB (000000,999),'EXTRACTION',MSGCLASS=X

//*
//INDPROC JCLLIB ORDER=(A24130.ICO000D.PROD1.PROCLIB,
// A24130.ICO000D.PROD2.PROCLIB)
//*
/*JOBPARM L=3000
/*SERVICE R
/*ROUTE PRINT RMT118
//*
//********************************************************************
//ETAPE010 EXEC EASYPLUS,TIME=15
//*COND=(0,NE)
//SYSPRINT DD SYSOUT=*,LRECL=3000
//SYSOUT DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//SYSABEND DD SYSOUT=*
//DISP01 DD SYSOUT=*
//*
//STEPLIB DD
// INCLUDE MEMBER=IUTPIUTI
// DD DSN=A24130.ICO999D.TUNIT,DISP=SHR
// INCLUDE MEMBER=IUTPIEAS
// INCLUDE MEMBER=IVIPIEX0
// INCLUDE MEMBER=IUTPISTE
//*
//PANDD DD DSN=A54630.ICO000D.PROD2,DISP=SHR
// DD DSN=A89640.ICO000D.PROD2,DISP=SHR
//*
//CONTRAT DD *
//*
//*SEPURE DD DSN=A24130.IAL0430D.CSEPURE,DISP=SHR
//CSEPURE DD DSN=LI23Z7.IPR999D.CSEPURE,DISP=SHR
//*
//SYSIN DD *

FILE DISP01 PRINTER

*---------------------------------*
* MSTCSEPURE *
*---------------------------------*
FILE CSEPURE
%ALCG028E

TAB-PRIME 167 33 A OCCURS 12


DTE-DEBUT TAB-PRIME 08 A
DTE-FIN TAB-PRIME +08 08 A

*-----------------------------------------------------------*
* VARIABLES DE TRAVAIL *
*-----------------------------------------------------------*

DEFINE W-TYPE W 15 A
DEFINE W-IND-A-ANNIV W 5 A
DEFINE W-AFF-REV-PRIME W 5 A

********************************************************************
JOB INPUT CSEPURE START 1000-INIT
*********************************************************************
IF ALCG028E-OCCURENCE EQ '99'

IF W-TYPE EQ 'STANDARD'
IF W-DTE-RENOUV NE ' '
DISPLAY 'STANDARD ' +
ALCG028E-NO-CONTRAT ' ' +
W-DTE-RENOUV ' ' +
W-TYPE-LETTRE ' ' +
W-MODE-PAIEMENT ' ' +
W-FREQUENCE ' ' +
W-IND-A-ANNIV ' ' +
W-AFFICHER ' ' +
W-IND-PREV-BANC ' ' +
W-IND-MULTIPLE ' ' +
W-IND-TRANS
ELSE-IF W-DTE-RENOUV EQ ' '
DISPLAY 'STANDARD ' +
ALCG028E-NO-CONTRAT ' ' +
'******** ' +
W-TYPE-LETTRE ' ' +
W-MODE-PAIEMENT ' ' +
W-FREQUENCE ' ' +
W-IND-A-ANNIV ' ' +
W-AFFICHER ' ' +
W-IND-PREV-BANC ' ' +
W-IND-MULTIPLE ' ' +
W-IND-TRANS
END-IF
END-IF

IF W-AFF-REV-PRIME EQ 'TRUE'

IF W-DTE-RENOUV NE ' '


DISPLAY 'REVPRIME ' +
ALCG028E-NO-CONTRAT ' ' +
W-DTE-RENOUV ' ' +
W-TYPE-LETTRE ' ' +
W-MODE-PAIEMENT ' ' +
W-FREQUENCE ' ' +
W-IND-A-ANNIV ' ' +
W-AFFICHER ' ' +
W-IND-PREV-BANC ' ' +
W-IND-MULTIPLE ' ' +
W-IND-TRANS
ELSE-IF W-DTE-RENOUV EQ ' '
DISPLAY 'REVPRIME ' +
ALCG028E-NO-CONTRAT ' ' +
'******** ' +
W-TYPE-LETTRE ' ' +
W-MODE-PAIEMENT ' ' +
W-FREQUENCE ' ' +
W-IND-A-ANNIV ' ' +
W-AFFICHER ' ' +
W-IND-PREV-BANC ' ' +
W-IND-MULTIPLE ' ' +
W-IND-TRANS
END-IF
END-IF

END-IF

GOTO JOB

*********************************************************************
1000-INIT. PROC
*********************************************************************

WK-COUNT = 1
W-TYPE = '*'
W-IND-A-ANNIV = '*'
W-AFF-REV-PRIME = '*'
W-AFF-TCL-T1 = '*'
W-IND-TRANS = '*'
W-IND-PREV-BANC = '*'
W-FREQUENCE = '*'
W-AFFICHER = '*'
W-IND-MULTIPLE = '*'
W-NOM-PROTECT = '*'
W-ID-TYPE = 0
W-DTE-RENOUV = '*'
W-TYPE-LETTRE = '*'
W-MODE-PAIEMENT = '*'
W-IND-TRANS = '*'

END-PROC