The NoteBook of EricKong

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks
          In the next few tutorials, I’ll show you how to use JCL to run programs, read file, send output to printer, create and delete files. But, before this you need to key in some data into your computer system. This data consists of 80-byte records.

          After creating a file, you need to an ‘E’ against the file-name to edit the file. Let’s assume that you wanted to key in Employee Data in Physical Sequential file – AGY0157.EMPLOYEE.DATA. Here goes. After you’ve found the file using ISPF Dataset List Utility 3.4, just type E against that dataset, and hit Ctrl.

          Image93[1] 

          Just as on Windows, the default editor in Notepad, typing E against the dataset name, causes the file AGY0157.EMPLOYEE.DATA to open in the editing mode. The editing mode allows you to change the contents of the file – add new data, modify the data, or delete the data. On the other hand, you can also open the file in View Mode (type V) or Browse Mode (type B). View Mode or Browse mode is a read-only mode(You cannot change the contents).

          Generally, when you open Production Files(Files which are being used, when the Mainframe application is running live), it’s always a good practice to open them in read-only mode.

          Initially, the file AGY0157.EMPLOYEE.DATA is empty. When you open it, in Editing mode, it looks like this -

          Image94[1]

          You can now key in your data in the file, and save it by typing the SAVE Command on the command line field.


          Image95[1]
          posted on 2011-12-20 17:45 Eric_jiang 閱讀(151) 評論(0)  編輯  收藏 所屬分類: Mainframe
          主站蜘蛛池模板: 太仆寺旗| 伊金霍洛旗| 亳州市| 滁州市| 枝江市| 洪洞县| 黔西县| 行唐县| 都匀市| 景洪市| 都兰县| 台中市| 黑山县| 静海县| 文成县| 公主岭市| 进贤县| 九江县| 宣武区| 黄陵县| 府谷县| 罗田县| 高平市| 台南市| 潢川县| 泰州市| 张家川| 汶川县| 唐山市| 汤阴县| 江华| 新沂市| 资讯 | 喜德县| 新乡市| 彭山县| 东丰县| 新郑市| 尤溪县| 南平市| 永顺县|