1 using jcl and sdsf stephen s. linkin houston community college © hccs and ibm 2008 ©hccs &...
TRANSCRIPT
![Page 1: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/1.jpg)
©HCCS & IBM® 2008 Stephen Linkin 1
Using JCL And SDSF
Stephen S. LinkinHouston Community College
© HCCS and IBM 2008
![Page 2: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/2.jpg)
©HCCS & IBM® 2008 Stephen Linkin 2
What Is JCL?
Syntax UPPER CASE // xxxx JOB // xxxx EXEC // xxxx DD //* /*
![Page 3: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/3.jpg)
©HCCS & IBM® 2008 Stephen Linkin 3
What Is JCL?
MYJOB MYSORT SORTIN
SORTOUT SYSOUT SYSIN DD *
![Page 4: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/4.jpg)
©HCCS & IBM® 2008 Stephen Linkin 4
JOB, EXEC, And DD Parameters
JOB parameters
![Page 5: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/5.jpg)
©HCCS & IBM® 2008 Stephen Linkin 5
JOB, EXEC, And DD Parameters
JOB parameters EXEC parameters
![Page 6: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/6.jpg)
©HCCS & IBM® 2008 Stephen Linkin 6
JOB, EXEC, And DD Parameters
JOB parameters EXEC parameters DD parameters
![Page 7: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/7.jpg)
©HCCS & IBM® 2008 Stephen Linkin 7
Data Set Disposition,DISP Parameter DISP Parameters
DISP=(status,[normal end,][abnormal end]) STATUS
NEW OLD SHR MOD
END (Normal/Abnormal) DELETE KEEP CATLG UNCATLG PASS
![Page 8: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/8.jpg)
©HCCS & IBM® 2008 Stephen Linkin 8
Data Set Disposition,DISP Parameter
Creating New Data Sets DISP Parameters Volser Device Type Member Name
![Page 9: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/9.jpg)
©HCCS & IBM® 2008 Stephen Linkin 9
Data Set Disposition,DISP Parameter
Creating New Data Sets Space SPACE=(TRK,10)
10 tracks, no secondary extentsSPACE=(TRK,(10,5)) 10 tracks primary, 5 tracks for each secondary extentSPACE=(CYL,5) Can use CYL (cylinders) instead of TRKSPACE=(TRK,(10,5,8)) PDS with 8 directory blocksSPACE=(1000,(50000,10000)) Primary 50000 records @1000 bytes each
![Page 10: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/10.jpg)
©HCCS & IBM® 2008 Stephen Linkin 10
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
![Page 11: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/11.jpg)
©HCCS & IBM® 2008 Stephen Linkin 11
Why z/OS Uses Symbolic File Names
![Page 12: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/12.jpg)
©HCCS & IBM® 2008 Stephen Linkin 12
Reserved DDNAMES
Mnemonic Names Special Meanings
//JOBLIB DD ...//STEPLIB DD ...//JOBCAT DD ...//STEPCAT DD ...//SYSABEND DD ...//SYSUDUMP DD ...//SYSMDUMP DD ...//CEEDUMP DD ...
![Page 13: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/13.jpg)
©HCCS & IBM® 2008 Stephen Linkin 13
JCL Procedures (PROC’s)
Cataloged Procedures
![Page 14: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/14.jpg)
©HCCS & IBM® 2008 Stephen Linkin 14
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 ...
![Page 15: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/15.jpg)
©HCCS & IBM® 2008 Stephen Linkin 15
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
![Page 16: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/16.jpg)
©HCCS & IBM® 2008 Stephen Linkin 16
Using SDSF
JES Spool Data Set I Input DA Execution queue O Output queue H Held queue ST Status queue
![Page 17: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/17.jpg)
©HCCS & IBM® 2008 Stephen Linkin 17
Utilities
![Page 18: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/18.jpg)
©HCCS & IBM® 2008 Stephen Linkin 18
System Libraries
![Page 19: 1 Using JCL And SDSF Stephen S. Linkin Houston Community College © HCCS and IBM 2008 ©HCCS & IBM® 2008 Stephen Linkin](https://reader036.vdocuments.site/reader036/viewer/2022062301/56649f2a5503460f94c43f2a/html5/thumbnails/19.jpg)
©HCCS & IBM® 2008 Stephen Linkin 19
Summary
Read The Redbook