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 閱讀(194) 評論(0)  編輯  收藏 所屬分類: Mainframe
          主站蜘蛛池模板: 清涧县| 钟山县| 芒康县| 马边| 澜沧| 江城| 乌什县| 大关县| 滁州市| 鸡东县| 修文县| 昌宁县| 左贡县| 泾源县| 嵊泗县| 调兵山市| 广平县| 东乌珠穆沁旗| 巴中市| 东乌| 当雄县| 平江县| 赤壁市| 长丰县| 黄陵县| 漯河市| 娱乐| 郁南县| 贵溪市| 金秀| 芦溪县| 子长县| 太谷县| 淳安县| 九龙坡区| 永寿县| 广灵县| 乌兰浩特市| 大关县| 红原县| 大渡口区|