您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > Ch3-zOS功能概述
第3章:z/OS功能概述大型主机操作系统基础本章内容扩展的分区数据集-PDSEWhatisbatchprocessing?•Muchoftheworkrunningonz/OSconsistsofprogramscalledbatchjobs.•Batchprocessingisusedforprogramsthatcanbeexecuted:–Withminimalhumaninteraction–Atascheduledtimeoronanas-neededbasis.•Afterabatchjobissubmittedtothesystemforexecution,thereisnormallynofurtherhumaninteractionwiththejobuntilitiscomplete.WhatisJES?•Inthez/OSoperatingsystem,JESmanagestheinputandoutputjobqueuesanddata.•JEShandlesthefollowingaspectsofbatchprocessingforz/OS:–Receivejobsintotheoperatingsystem–Schedulethemforprocessingbyz/OS–Controltheiroutputprocessing.WhatisJES?(continued)•z/OSofferstwotypes:JES2andJES3•Someimportantdifferences,butbothJES2andJES3:–Acceptandqueuejobssubmittedforexecution–Queuejobsforaninitiator--aJESprogramthatrequeststhenextjobinthequeue–Acceptoutputfromajobwhileitisrunningandqueuetheoutput–Canprinttheoutput,orsaveitonspoolforanoutputmanagertoretrieve.Batchflow(simplified)Initiator-Allocation-Execution-CleanupJOBsJCLProcessingJESSPOOLSPOOLInitiator-Allocation-Execution-CleanupsubmitPrinterWhatisspooling?•Spoolingisameansofqueuingandholdingdataforinputoroutput.•JESusesoneormorediskdatasetsforspooling.•Inputjobsandprintedoutputfrommanyjobsarestoredinthesingle(conceptual)spooldataset.Whataninitiatordoes•Torunmultiplejobsasynchronously,z/OSusesinitiatorsto:–Ensurethatjobsdonotconflictindatasetusage–Ensurethatsingle-userdevices(tapedrives)areallocatedcorrectly–Findexecutableprogramsrequestedbyjobs–Cleanupafterthejobendsandrequestthenextjob.•Preventingtwousersfromaccessingthesamedataatthesametimeiscriticaltoz/OSandtheabilitytodothisisoneofthedefiningcharacteristicsoftheoperatingsystem.Symbolicfilesystem•z/OSnormallyusesasymbolicfilesystem,whichappliesanamingredirectionbetweenadataset-relatednameusedinaprogramandtheactualdatasetusedduringexecutionofthatprogram.HowasymbolicfilesystemisusedOPENFILE=XYZREADFILE=XYZ...CLOSEFILE=XYZprogramDDNAMEJCLforJOBDSNAME//XYZDDDSNAME=MY.PAYROLLMY.PAYROLLHowasymbolicfilesystemisused(continued)OPENFILE=XYZREADFILE=XYZ...CLOSEFILE=XYZprogramDDNAMEJCLforJOBDSNAME//XYZDDDSNAME=DIV1.PAYROLLDIV1.PAYROLLJES,jobmanagement,andJCL•JobcontrollanguageorJCListhelanguageusedbyabatchjobtorequestresourcesandservicesfromtheoperatingsystem.•ThroughJCL,youspecify:–Whoyouare(importantforsecurityreasons)–Whichresources(programs,files,memory)andservicesareneededfromthesystemtoprocessyourprogram.•TheuseofJCLiscoveredindetailinthenextmodule.RelatedactionswithJCLITUSERACTIONSSYSTEMACTIONSDeterminetheneedandcharacteristicsoftheJobCreatetheJCLSubmittheJobJESinterpretsJCLandpassesittoz/OSinitiatorz/OSmanageseachstepofexecutionJESprintsoutputJEScollectstheoutputandinformationabouttheJobUserviewsandinterpretsoutputSystemMessagesSpoolingspool33programSYSOUTwrite22readJCL//DD1DD*/*//DD2DDSYSOUT=A厖...............data厖...............//DD1DD*/*//DD2DDSYSOUT=A厖...............data厖...............//DD1DD*/*//DD2DDSYSOUT=A厖...............data厖...............11JESPrinter44JESTwo-stepjobFirststepProgramTapeUpdatesProgramPrinterMasterMasterMasterSecondstepOverviewofRACF
本文标题:Ch3-zOS功能概述
链接地址:https://www.777doc.com/doc-3611504 .html