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
          主站蜘蛛池模板: 土默特右旗| 新余市| 卢湾区| 天等县| 瑞丽市| 台南市| 宜昌市| 宝清县| 兴仁县| 平阳县| 赫章县| 师宗县| 怀来县| 延吉市| 利津县| 沅陵县| 都兰县| 玛曲县| 平昌县| 舞阳县| 宜兴市| 潍坊市| 香河县| 大港区| 澎湖县| 扎兰屯市| 高碑店市| 昌都县| 高淳县| 略阳县| 分宜县| 毕节市| 乌兰浩特市| 阳城县| 长岛县| 九龙坡区| 阳曲县| 松溪县| 琼海市| 通海县| 景泰县|