------------------------ Exercise #11 for DAT2330 due November 10 ------------------------ -Ian! D. Allen - idallen@idallen.ca Remember - knowing how to find out an answer is more important than memorizing the answer. Learn to fish! RTFM! (Read The Fine Manual) Global weight: 2% of your total mark this term Due date: 16h00 (4pm) Monday, November 10, 2003. The deliverables for this exercise are to be submitted online as Exercise #11 on the Course Linux Server. Late-submission date: I will accept without penalty exercises that are submitted before 18h00 (6pm) on the same day. After that late-submission date, the exercise is worth zero marks; but, it must still be completed and submitted successfully to earn credit in the course. OS/390 MVS JCL Exercise Background: The intent of this exericise is to have you *think* about how to solve the JCL Homework problem posed this week. I will not correct the mistakes in the exercise homework you submit; since, I will be doing that in class next week. Bring a copy of your submission to class and correct your own mistakes. (You can use the Unix "diff" command to compare your solutions with the posted solutions.) You receive marks for your exercise if it is an original, reasonable effort at solving the JCL Homework problem, even if it contains some errors. Exercises that are not original (including copies of posted solutions) will be treated as plagiarism. (See the course home page regarding plagiarism.) These homework assignments prepare you for the tests. I will post and review the homework solutions at the start of each week. Handed-in JCL homework is marked for quantity, not quality; you earn marks for doing the homework even if it may have minor errors. We correct all homework carefully in class each week - that is where you learn to find the errors in your own JCL. Exercise Details: (1) Following the JCL Example 1 done this week, write the JCL for JCL Example 1 Homework, given in file jclexample1.txt under the JCL Notes buttons on the course home page. (You may draw a Flow Diagram to help you if you wish; it will not be submitted or marked. Submit only the JCL text.) Document any guesses you are forced to make (because of incomplete specifications) using JCL comment lines in front of the guesses. State whether an incorrect guess will cause a JCL error or a run-time error. (See the example comment in week11Bnotes.txt .) Follow the JCL format given in the week11Bnotes.txt file: $ cd ~idallen/public_html/teaching/dat2330/03f/jclnotes/ $ grep '^/' week11Bnotes.txt Make sure you choose appropriate JOB and SYSOUT classes. Observe the JCL syntax rules, especially those for continuation lines. (2) Answer this question in JCL comments placed at the end of step one of your JOB: What would be the effect of coding "KEEP" instead of "PASS" for the PAYMAST dataset in step one? Would the JOB fail? (3) Put your Assignment Submission Label information at the top of the JCL file using JCL comments. A copy of all JCL course notes is on the IDAllen Linux machine under: ~idallen/public_html/teaching/dat2330/03f/jclnotes/ and on ACADUNIX under: ~alleni/public_html/teaching/dat2330/03f/jclnotes/ How to submit your exercise on the Course Linux Server: Name your finished file: jclhomework1.txt Make sure you have entered all the required JCL comments. To submit the file on the IDAllen Linux machine: $ datsubmit 11 jclhomework1.txt To verify that you submitted something, using this command line: $ datsubmit 11 -list To delete an incomplete submission: $ datsubmit 11 -delete You may redo this exercise and re-submit your results as many times as you like. I will review only the most recent submission that is submitted before the final hand-in cutoff date. For Exercise 11, always use "11" as the first argument to "datsubmit". Where to work: Do your work on any Unix computer that has a usable copy of vi or vim. (That includes the IDAllen Linux Machine, ACADUNIX, even Knoppix or Floppix.) Transfer the files to the IDAllen Linux Machine and submit them when you are done. Always keep a spare copy of your exercises! WARNING: Do not attempt this exercise using a Windows editor such as Notepad - the text file format is different. You must connect to and work using VI or VIM on Unix/Linux. Your JCL Final Exam will also be written online using the VIM editor. Speed and accuracy are important. If you have problems: see me in a lab, post questions to the discussion news group, or make an office appointment with me.