The NoteBook of EricKong

            BlogJava :: 首頁 :: 聯(lián)系 :: 聚合  :: 管理
            611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks

          An Input Data-Entry Field, is an Area - where the User is expected to type some data-value and supply Input. The Data in this field is keyed-in by the User. Hence, the User is free to type any Input he desires in these fields. Data-Entry Fields are therefore, said to be un-protected(UNPROT).

          When you run COBOL-Programs in Batch-Mode, by writing a Job, the Input-Data to these Programs is generally stored  in Mainframe-Files(Datasets). What about COBOL Programs run in Online-Interactive Mode ; have you wondered, what’s their source of the Input-Data? Bingo! Data-Entry Fields are the Primary-Source of Feeding Input-Data to the COBOL-Programs run in Online Mode under CICS. It should clear, that COBOL-Programs run in Online-Mode under CICS, read the Data from Input Data-entry Fields, process the Data, and generate Output. 

          Since COBOL Programs need to access and read the Data from Input-Fields, it is important that you assign a name or Label to your Input-Fields on the CICS Screen. The Input-Screen INPMAP has Input
          -Fields containing two empty Blanks '__' adjacent to 'FIRST NUMBER : ' and 'SECOND NUMBER : ' Display-Fields. I have named them NUMBER1 and NUMBER2.

          Image318 
          How to calculate the Position or Placement of Consecutive-Fields? You employ a simple formula (start  + Length + 1 ). For example, 'FIRST NUMBER : '
          display-only field starts at column 3, and is 15 bytes long. So, the '__' Input-Field next to it can start on or after (03 + 15 + 1) = Column 19. You shouldn’t be surprised, as to why I've positioned NUMBER1 and NUMBER2 Fields at (5,19) and (7,19) respectively.

          posted on 2011-12-21 14:59 Eric_jiang 閱讀(178) 評論(0)  編輯  收藏 所屬分類: Mainframe
          主站蜘蛛池模板: 南充市| 绵竹市| 南江县| 井冈山市| 蓬溪县| 米易县| 广州市| 太原市| 平凉市| 新乡县| 普定县| 木里| 晋江市| 綦江县| 宜城市| 南投县| 甘孜| 邯郸市| 扎鲁特旗| 嘉荫县| 绥中县| 香港 | 绩溪县| 青海省| 阿合奇县| 娄烦县| 尼玛县| 安乡县| 淮阳县| 宿松县| 葫芦岛市| 永善县| 龙泉市| 崇礼县| 灵武市| 肇源县| 永泰县| 淳安县| 金沙县| 策勒县| 佳木斯市|