<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    The NoteBook of EricKong

      BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
      611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks

    When the user types Input text Data on the CICS GUI Input Screen – say he presses Option 1 on the MAIN MENU Screen, and hits ENTER, the COBOL Program starts from the top at the PROCEDURE DIVISION, processes the data, and sends the next CICS Output Screen say BOOK MENU Screen, and gets killed(terminated). This is called one Invocation of the COBOL Online Program.

    The User stares at the BOOK MENU screen, decides what Input to type, and then after filling in the passenger details on the BOOK MENU Input Screen, hits ENTER. The COBOL Online Program restarts all over again from the PROCEDURE DIVISION, processes the Passenger Details and reserves a ticket, and sends the next CICS Output Screen say CONFIRMATION TICKET Screen, and gets killed. This is the second invocation of the COBOL Online Program.

    Every time, the COBOL Program starts from the PROCEDURE DIVISION, receives data from the Input Screen, processes the data, and sends the next output screen, and finally stops running. The Start-Receive Input-Process-Send Output-Stop cycle keeps repeating till you are done with your task. Each time you type data and hit ENTER, you invoke or run the COBOL Program to process your inputs.

    Sometimes, you need to save(remember) data between two successive runs, or invocations of the COBOL Online Program. Such data cannot be stored in Working Storage Areas of the COBOL Program. Working Storage Areas are created when the COBOL Program starts, and deleted when the COBOL Program stops. Working Storage Areas are rough-work areas(scratch-pad) of the COBOL Program, that live only as long as the COBOL Program runs.

    The requirement however, is to store(save) data across multiple invocations(runs) of the COBOL Online Program. When you want to store(save) data which is globally accessible across several runs a COBOL Program, you use Linkage Section Storage Areas
    .
    Given below is a simple picture that depicts how Linkage Section Storage areas differ from Working section storage areas. You’ve got a simple Storage Area A containing the value 0. You write a COBOL Program to ADD +1 TO A.

    Case 1: If A were to be a Storage Area in the WORKING-STORAGE SECTION.

    Image196[1]

    Each time the COBOL Program starts WS-A Storage Area is created with value 0, and the COBOL Program adds +1 to WS-A, so WS-A becomes 1. After the COBOL Program stops, WS-A is deleted. So, this doesn’t offer you memory of the past feature, with working storage areas you don’t remember, what was stored in WS-A previously, the last time the COBOL Program ran.

    Case 2: If A were to be a Storage Area in the LINKAGE SECTION.

    Image197[1]

    Here WS-A Storage which  is globally accessible and shared across the 1st run, 2nd run and the 3rd run of the COBOL. WS-A is a Linkage section Area, so this Storage area is independent of the COBOL Program. It helps to remember data of the past, pass data from one invocation(run) to the next successive invocation(run).

    DFHCOMMAREA is a Linkage Section Storage Area that helps to store(save) data, pass data around from one invocation(run) to another invocation of a COBOL Online Program in CICS. Thus, Linkage-section storage area DFHCOMMAREA plays an important role to remember and retain data between two successive invocations.

    posted on 2011-12-21 12:25 Eric_jiang 閱讀(352) 評論(0)  編輯  收藏 所屬分類: Mainframe
    主站蜘蛛池模板: 亚洲精品视频在线免费| 亚洲熟妇无码AV在线播放| 亚洲欧洲中文日产| 日韩在线不卡免费视频一区| 亚洲国产综合无码一区| 人人玩人人添人人澡免费| 亚洲人精品午夜射精日韩| 久久精品国产影库免费看| 亚洲国产天堂久久综合网站 | 亚洲成aⅴ人片在线观| 真人做A免费观看| 久久夜色精品国产噜噜亚洲a| 毛片免费观看网站| 特级毛片A级毛片免费播放| 亚洲婷婷国产精品电影人久久| 精精国产www视频在线观看免费| 亚洲一区二区三区在线观看精品中文 | 青草青草视频2免费观看| 亚洲精品乱码久久久久久蜜桃| 一级做a爱过程免费视| 亚洲国产另类久久久精品小说| 99久久免费中文字幕精品| 亚洲一欧洲中文字幕在线| 国产免费人人看大香伊| 国产无遮挡色视频免费观看性色| 亚洲AV无码久久精品色欲| 国产成在线观看免费视频| 亚洲av午夜电影在线观看| 久久亚洲AV无码西西人体| 日本在线免费观看| 亚洲中文字幕无码爆乳app| 亚洲成av人片在线观看天堂无码 | 国产福利免费在线观看| 一级毛片a免费播放王色| 亚洲福利视频一区| 四虎在线视频免费观看| baoyu122.永久免费视频| 67194在线午夜亚洲| 久久影院亚洲一区| www视频免费看| jizz免费观看|