------------------------ Exercise #9 for DAT2330 due April 20 ------------------------ -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: 11h00 (11am) Tuesday, April 20, 2004. The deliverables for this exercise are to be submitted online on the Course Linux Server using the "datsubmit" method described in the exercise description, below. No paper; no email; no FTP. Late-submission date: I will accept without penalty exercises that are submitted late but before 14h30 (2:30pm) on Friday, April 23. 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. (Students copying and submitting posted solutions or solutions from in class instead of submitting original work will be charged with plagiarism. Do your own work; don't copy mine.) This exercise is due on or before 11h00 (11am) Tuesday, April 20, 2004. 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 or copies of solutions from class) 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) Create a file named: jclhomework4.txt Following the JCL Example 4 done this week, write the JCL for JCL Example 4 Homework, given in file jclexample4.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. If it is a run-time error, state exactly which program will generate the error. (See the example comments in the weekly notes.) Follow the JCL format style given in the week14Bnotes.txt file: $ cd ~idallen/public_html/teaching/dat2330/04w/jclnotes/ $ grep '^/' week14Bnotes.txt Make sure you choose appropriate JOB and SYSOUT classes. Observe the JCL syntax rules, especially those for continuation lines. (2) Answer these questions in JCL comments placed in front of step one of your JOB: 2A) If we misspell SYSLIB as SISLIB in our DD statement for library Y2K.OBJLIB, what kind of error may be produced? 2B) From where will the error issue (JES, or name the program)? 2C) True or False: the error message will say "SYSLIB: not found" (3) Put your Assignment Submission Label information at the top of the JCL file using JCL comments. Notes: A copy of all JCL course notes is on the IDAllen Linux machine under: ~idallen/public_html/teaching/dat2330/04w/jclnotes/ and on ACADUNIX under: ~alleni/public_html/teaching/dat2330/04w/jclnotes/ Deliverables: Use the "datsubmit" command to submit your file to me as Exercise #9 on the Linux Course Server: $ datsubmit 9 jclhomework4.txt 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.) 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.