CICS-DB2 ENTRIES IN CICS ENVIRONMENT 1) WRITE A COBOL+CICS+DB2 PROGRAM. ...
CICS-DB2 ENTRIES IN CICS ENVIRONMENT
1) WRITE A COBOL+CICS+DB2 PROGRAM.
2) DO COMPILATION USING DB2CICS COMPILER
3) DO BIND WITH CCSDBBND( MAKE SURE THAT PLAN NAME & DBRM NAME SHOULD BE
SAME)
EXAMPLE HOW TO DO ENTRIES IN CICS REGION:
PROG NAME : PGM1
MAPSET NAME : MAPSET1
TRANSID : TRN1
DB2ENTRY : ENT1
DB2TRAN : DDDD
PLAN : PGM1 ( SAME AS PROGRAM NAME)
GROUP : GROUP1
1) MAPSET DEFINE & INSTALLATION:
DEFINE:
CEDA DEF MAPSET(MAPSET1) GROUP(GROUP1) ===>ENTER
MSG: DEFINE SUCESSFUL
INSTALLATION:
CEDA INS MAPSET(MAPSET1) GROUP(GROUP1) ===>ENTER
MSG: INSTALL SUCESSFUL
2) PROGRAM DEFINE & INSTALLATION:
DEFINE:
CEDA DEF PROG(PGM1) GROUP(GROUP1) ===>ENTER
MSG: DEFINE SUCESSFUL
INSTALLATION:
CEDA INS PROG(PGM1) GROUP(GROUP1) ===>ENTER
MSG: INSTALL SUCESSFUL
3) TRANACTION DEFINE & INSTALLATION:
DEFINE:
CEDA DEF TRANS(TRN1) PROG(PGM1) GROUP(GROUP1) ===>ENTER
MSG: DEFINE SUCESSFUL
INSTALLATION:
CEDA INS TRANS(TRN1) GROUP(GROUP1) ===>ENTER
MSG: INSTALL SUCESSFUL
4) DB2ENTRY DEFINE & INSTALLATION:
DEFINE:
CEDA DEF DB2E(ENT1) GROUP(GROUP1) ===> HIT ENTER WILL GET
BELOW SCREEN
OVERTYPE TO MODIFY
CEDA DEFINE DB2ENTRY( ENT1 )
DB2ENTRY : ENT1
GROUP : GROUP1
DESCRIPTION ==>
THREAD SELECTION ATTRIBUTES
TRANSID ==> TRN1
THREAD OPERATION ATTRIBUTES
PLAN ==> PGM1
MSG: DEFINE SUCESSFUL
INSTALLATION:
CEDA INS DB2E(ENT1) GROUP(GROUP1)
OVERTYPE TO MODIFY
CEDA INSTALL
DB2ENTRY ==> ENT1
MAPSET ==> MAPSET1
PROGRAM ==> PGM1
GROUP ==> GROUP1
MSG: INSTALL SUCESSFUL
5) DB2TRAN DEFINE & INSTALLATION:
DEFINE:
CEDA DEF DB2T(DDDD) GROUP(GROUP1) ===> HIT ENTER WILL GET
BELOW SCREEN
OVERTYPE TO MODIFY
CEDA DEFINE DB2TRAN( DDDD )
DB2TRAN : DDDD
GROUP : GROUP1
DESCRIPTION ==>
ENTRY ==> ENT1
TRANSID ==> TRN1
MSG: DEFINE SUCESSFUL
INSTALLATION:
CEDA INS DB2T(DDDD) GROUP(GROUP1) ===> HIT ENTER WILL GET BELOW SCREEN
OVERTYPE TO MODIFY
CEDA INSTALL
DB2ENTRY ==> ENT1
DB2TRAN ==> DDDD
LSRPOOL ==>
MAPSET ==> MAPSET1
+ PROGRAM ==> PGM1
GROUP ==> GROUP1
MSG: INSTALL SUCESSFUL
AFTER ALL ENTRIES IS DONE IN CICS REGION CLEAR THE SCREEN(SHIFT+PAUSE
BREAK) AND TYPE TRANACION ID ON CICS TERMINAL AND HIT ENTER.
No comments
Post a Comment