The NoteBook of EricKong

            BlogJava :: 首頁(yè) :: 聯(lián)系 :: 聚合  :: 管理
            611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks
          In Windows, you double-click a Program, to start it in the Online-Mode. However, in CICS, a user cannot directly start a Program. Instead, you define a Transaction, which in turn will run the COBOL Program in Online Mode. Every transaction has a 4-byte Unique identification number called Transaction ID. You wanna to run COBOL Programs in Online mode on CICS, transactions are the way.

          How do you run a COBOL Program on CICS? On a CICS Terminal(like a Web-browser), when you type the Transaction-ID, and hit ENTER, the COBOL Program is loaded, immediately started in the online-mode. This is called invoking the Transaction. For example, if the COBOL-online Program is BOOKTKT, and the Transaction-ID is TBOOK, when you type TBOOK, and hit ENTER, CICS Software will find the the COBOL Program BOOKTKT on the Disk, and Load into the CICS Region and execute it in Online Mode. Similar to TSO, CICS Software serves many users simultaneously. CICS is a very robust Transaction Monitor (keeps listening for transactions) – it can handle trillions of transactions at a time.

          When you invoke a transaction, by typing say TBOOK, it starts a COBOL Program like BOOKTKT. But how does the CICS Software, which COBOL Program to start for the transaction TBOOK? Moreover, the CICS Software also needs to know the place(location) to look for your COBOL Program. What is the PDS, Folder or library on the Disk in which the COBOL Load Module BOOKTKT resides, so that CICS Software can pick up the Load, and start running it. Now, all this extra-information is stored in CICS Tables.

          The important CICS Tables are :
          PCT – For Transactions
          PPT – For COBOL Programs
          FCT – For Files
          RCT – For DB2 Connections

          When you type the Transaction ID – TBOOK, on the Terminal, the CICS Software will look-up the Transaction in the PCT.

          Transaction Program
          TBOOK BOOKTKT
          TABC PROGR01
          TDEF PROG02
          ... ...

          PCT Table(Program Control Table) tells the COBOL-CICS Program for any Transaction.

          Program Load Pointer
          BUA21 AGY0157.CICS.LOADS
          BUA22 AGY0157.CICS.LOADS
          BOOKTKT AGY0157.DEMO.CICS.LOADLIB
          BUA23 AGY0157.DEMO.CICS.LOADLIB

          PPT Table(Process Program Table) tells the location(Load Library) from which the COBOL Program(Load) must be picked up, and loaded into the CICS Region
          posted on 2011-12-21 11:56 Eric_jiang 閱讀(342) 評(píng)論(0)  編輯  收藏 所屬分類: Mainframe
          主站蜘蛛池模板: 塔河县| 县级市| 嘉祥县| 慈溪市| 东明县| 缙云县| 三穗县| 莱州市| 巧家县| 东乌| 垦利县| 丽江市| 玛曲县| 阿拉善左旗| 甘肃省| 邮箱| 阜南县| 龙南县| 淮滨县| 莆田市| 天台县| 襄汾县| 南宫市| 河间市| 虹口区| 岢岚县| 丰都县| 庆元县| 勐海县| 武宁县| 马关县| 昌邑市| 蓝田县| 南和县| 常德市| 莎车县| 五台县| 呼伦贝尔市| 崇左市| 石泉县| 武义县|