The NoteBook of EricKong

            BlogJava :: 首頁 :: 聯系 :: 聚合  :: 管理
            611 Posts :: 1 Stories :: 190 Comments :: 0 Trackbacks
          On Mainframes, when you want to perform any task, you write a Job, and give it to the Mainframe Computer for processing. This is called submitting a job.

          However, contrary to what you might fancy, your job doesn’t run immediately. Picture this - there are hundreds and thousands of Jobs, that are submitted on a Mainframe, minute-by-minute, every second, by different folks. How would the Mainframe computer decide which job goes first, and then which goes next and so on..

          The MVS Operating System prepares a pretty time-table, a schedule, that goes something like this - JOB 1 runs at 12 o’ clock, JOB 2 runs at 1 o’ clock, JOB 3 runs at 2 o’ clock and so on.. Thus every job is allotted a time-slot(period) in the Mainframe's Calendar/time-table.

          Before you are just about to submit a job on Mainframes, give your JCL a cursory-glance, to ensure it is syntactically-correct. Forgetting to put a comma, or inserting unnecessary extra-whitespaces, can lead to JCL-Errors. Be cautious about the Datasets begin used by the Job. For example, make sure you've already created the Input-Dataset AGY0157.DEMO.INPUT. Click
          here to get the contents of the Input-Dataset AGY0157.DEMO.INPUT, if you would like to execute the below-job. To submit a JOB on Mainframes, you must type SUBMIT command or just SUB, on the command line of the editor.  I have shown below, how you submit a job on Mainframes.

          Image124[1]

          When you press <Enter>, the Job AGY015A gets submitted to the Mainframe computer for processing. This is indicated by a *** message displayed at the bottom of the screen. The *** indicates, that TSO is waiting for me to read the message. As soon as you press <Enter> key again, the message goes away.

          Image125[1] 

          A common practice adopted by most Mainframe Programmers, is to code the NOTIFY parameter on the JOB Statement. Coding this parameter is quite useful, as it gives you an alert, a notification message, saying "The job AGY0157A has completed".


          Image126[1]
          posted on 2011-12-21 11:26 Eric_jiang 閱讀(197) 評論(0)  編輯  收藏 所屬分類: Mainframe
          主站蜘蛛池模板: 灵宝市| 武安市| 彭水| 佛冈县| 西昌市| 肇州县| 仁布县| 芜湖市| 外汇| 贵德县| 西乌珠穆沁旗| 卫辉市| 永兴县| 临朐县| 云浮市| 偃师市| 监利县| 成武县| 清涧县| 四川省| 高唐县| 武定县| 小金县| 苍山县| 克什克腾旗| 抚顺县| 多伦县| 灵台县| 巧家县| 博爱县| 油尖旺区| 峨眉山市| 广南县| 阿瓦提县| 汉川市| 福泉市| 陵川县| 林口县| 桂平市| 海原县| 两当县|