Presentation is loading. Please wait.

Presentation is loading. Please wait.

1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin.

Similar presentations


Presentation on theme: "1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin."— Presentation transcript:

1

2 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin

3 2 What Is JCL?  Syntax UPPER CASE // xxxx JOB // xxxx EXEC // xxxx DD //* /*

4 ©HCCS & IBM® 2008 Stephen Linkin3 What Is JCL?  MYJOB  MYSORT  SORTIN  SORTOUT  SYSOUT  SYSIN DD *

5 ©HCCS & IBM® 2008 Stephen Linkin4 JOB, EXEC, And DD Parameters  JOB parameters

6 ©HCCS & IBM® 2008 Stephen Linkin5 JOB, EXEC, And DD Parameters  JOB parameters  EXEC parameters

7 ©HCCS & IBM® 2008 Stephen Linkin6 JOB, EXEC, And DD Parameters  JOB parameters  EXEC parameters  DD parameters

8 ©HCCS & IBM® 2008 Stephen Linkin7 Data Set Disposition, DISP Parameter DDISP Parameters DISP=(status,[normal end,][abnormal end]) STATUS NNEW OOLD SSHR MMOD END (Normal/Abnormal) DDELETE KKEEP CCATLG UUNCATLG PPASS

9 8 Data Set Disposition, DISP Parameter  Creating New Data Sets DISP Parameters Volser Device Type Member Name

10 ©HCCS & IBM® 2008 Stephen Linkin9 Data Set Disposition, DISP Parameter  Creating New Data Sets Space SPACE=(TRK,10) 10 tracks, no secondary extents 10 tracks, no secondary extentsSPACE=(TRK,(10,5)) 10 tracks primary, 5 tracks for each secondary extent 10 tracks primary, 5 tracks for each secondary extentSPACE=(CYL,5) Can use CYL (cylinders) instead of TRK Can use CYL (cylinders) instead of TRKSPACE=(TRK,(10,5,8)) PDS with 8 directory blocks PDS with 8 directory blocks SPACE=(1000,(50000,10000)) Primary 50000 records @1000 bytes each

11 ©HCCS & IBM® 2008 Stephen Linkin10 Continuation And Concatenation  Hollerith 80 Col. Punch Cards  Continuation  Concatenation //JOBCARD JOB 1,REGION=8M,NOTIFY=ZPROF //JOBCARD JOB 1, // REGION=8M, // NOTIFY=ZPROF //DATAIN DD DISP=OLD,DSN=MY.INPUT1 // DD DISP=OLD,DSN=MY.INPUT2 // DD DISP=SHR,DSN=YOUR.DATA

12 ©HCCS & IBM® 2008 Stephen Linkin11 Why z/OS Uses Symbolic File Names

13 ©HCCS & IBM® 2008 Stephen Linkin12 Reserved DDNAMES  Mnemonic Names  Special Meanings //JOBLIB DD... //STEPLIB DD... //JOBCAT DD... //STEPCAT DD... //SYSABEND DD... //SYSUDUMP DD... //SYSMDUMP DD... //CEEDUMP DD...

14 ©HCCS & IBM® 2008 Stephen Linkin13 JCL Procedures (PROC’s)  Cataloged Procedures

15 ©HCCS & IBM® 2008 Stephen Linkin14 JCL Procedures (PROC’s)  Cataloged Procedures  JCL PROC Statement Override  How Jobs Submit For Batch Processing ISPF Editor Command Line ISPF Command Shell TSO command line //stepname.ddname DD...

16 ©HCCS & IBM® 2008 Stephen Linkin15 Using SDSF  SDSF Functions Viewing The System Log Entering System Commands Controlling Job Processing  Hold  Release  Cancel, And Purge Jobs Monitoring Jobs Displaying Output Before Printing Prioritizing Process Order Prioritizing Print Order  Review And Correct JCL Errors  Menu Driven

17 ©HCCS & IBM® 2008 Stephen Linkin16 Using SDSF  JES Spool Data Set I I Input DA DA Execution queue O O Output queue H H Held queue ST ST Status queue

18 ©HCCS & IBM® 2008 Stephen Linkin17 Utilities

19 ©HCCS & IBM® 2008 Stephen Linkin18 System Libraries

20 ©HCCS & IBM® 2008 Stephen Linkin19 Summary  Read The Redbook


Download ppt "1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin."

Similar presentations


Ads by Google