Performing job collection with CONTROL-M - IBM
文章推薦指數: 80 %
The CONTROL-M job scheduling product requires you to submit an Automated Critical Data Identification constructed job, (generated through the CONTROL-M job ... [BottomofPage|PreviousPage|NextPage|Contents|Index] PerformingjobcollectionwithCONTROL-M Tousethisjobcollectionmethod,yourinstallationmust haveCONTROL-Minstalledandthejobsthatcomprisetheapplication mustrununderthecontrolofCONTROL-M. Beforeyoubegin BeforeyouperformjobcollectionwithCONTROL-M,verifythese valueshavebeensetfortheCONTROL-MkeywordsintheBKMINIproduct parameterlibrarymember. Inthe:ACDIsection: CTLM_INPUTUTLJCL CTLM_SCHEDFILES JOBCOLL_CTLM_VERSION JOBCOLL_DROP_ALL_UNRESOLVED_PREDECESSORS JOBCOLL_EXCLUDE_DEP Aboutthistask AutomatedCriticalDataIdentificationusestheCTMRFLWCONTROL-MutilityEXECtocreateajobflowreport baseduponinputschedulingfilesandtablemembernamesspecified ontheApplicationSETUPOptionspanel.AutomatedCriticalDataIdentificationautomaticallyconstructstheappropriatejobtocompletethe jobcollectionevent. Theschedulingfilesandtheirtable membernamesaredefinedbytheCONTROL-Mproductcoordinator.They cancontainmultipleschedulingfiles(asinput)foranyapplication definedtoAutomatedCriticalDataIdentification.Youcanalsodefinestandardschedulingfilesthroughdefinitions intheBKMINIproductparameterlibrarymember. Procedure FromtheApplicationAutoBuild Optionspanel, selecttheJOBCOLLECToption.TheAPPLICATIONJOBCOLLECTION OPTIONSpanelisdisplayed. FromtheAPPLICATIONJOBCOLLECTIONOPTIONSmenu,selecttheCONTROL-Moption.TheSupplyApplication CTL/MInformationFieldspanelisdisplayed. IntheCTL/MScheduling FileNamesandtheTableMemberNamesfields,typethenamesoftheschedulingfilesandtablemembers thatcorrespondtotheCONTROL-Mjobentriesyouwanttocollect. Youcanspecifyatotalof15entries. Note: Ifthisis theinitialjobcollectionevent,theschedulingfilenamesareeither blankorcontainthenamesofthedatasetsdefinedusingtheCTLM_SCHEDFILES valuespecifiedintheBKMINIPARMLIB member.Ifjobentrieshavebeenpreviouslycollected,thescheduling filenamesandtablemembersshownarethecurrentandpreviousvalues specifiedfortheapplication. PressEntertosaveandactivateyourentries. FromtheJOBStatementVerification ForBatchSubmitpanel,reviewthejobcardspecification andmakeanychanges,ifneeded. PressEntertocontinueorpressF3 toexit. Selectfromtheseoptionstoprocessthebatchjob: ToedittheJCLpriortosubmittingthejob,typeSintheEDITJCLPriortoSubmitfield andpressEnter. Tosubmitthebatchjob,typeSin theSUBMITJOBForExecutionfieldandpressEnter. Note: The JCLhastwoparts: First,theCTMRFLWCONTROL-Mcollectionutilityisexecuted.The schedulingfilenamesandtablememberssuppliedfromtheinputpanel areconcatenatedasinputundertheDAJOBDDname.Theoutputfile ispre-allocatedandsuppliedastheDAREPORTDDnamevalue. AutomatedCriticalDataIdentificationthen usestheoutputgeneratedbyCTMRFLWasinputtocontinuejobcollection processing. PressF3toexitwithoutsubmittingthejob. SampleCONTROL-Mbatchcollectionjob TheCONTROL-Mjobschedulingproductrequiresyoutosubmit anAutomatedCriticalDataIdentificationconstructed job,(generatedthroughtheCONTROL-Mjobcollection optionontheAPPLICATIONJOBCOLLECTION OPTIONSpanel) whichproducesaCONTROL-Mjobflowreport.Theoutputofthejob flowreportisusedasinputtothesecondsteptosavethejobentries intheAutomatedCriticalDataIdentificationApplicationDataInventorydatabase. Sample //JCLLJCLLIBORDER=(prefix.value.SBKMJCL) //INCLUDEMEMBER=IOASET //CTMRFLWPROC //STEP1EXECPGM=CTMRFLW,REGION=® //INCLUDEMEMBER=&IOAENV //DAALOCINDDDISP=SHR,DSN=&DAALOCIN(ALCMRFLW) //SCHOUTDDSPACE=(TRK,(300,300)),UNIT=&WORKUNIT //DAJOBDDDDNAME=&SOURCE //SCHEDULEDDDISP=SHR,DSN=&OLPREFM..SCHEDULE(&FLOWMEM) //CKPDDDISP=SHR,DSN=&DBPREFM..CKP //SYSPRINTDDSYSOUT=&OUT //DAFLWPRMDDDDNAME=SYSIN //DAREPORTDDSYSOUT=&OUTREPORTSSYSOUT //DACHARTDDSYSOUT=&OUTFLOWCHARTSYSOUT //DACHART1DDSYSOUT=&OUT,DCB=(OPTCD=J), //CHARS=(&CHARSET,&CHARST2) //DACHART4DDSYSOUT=&OUT,DCB=(OPTCD=J), //CHARS=GT24VERYSMALLLETTERS //DACHART9DDSYSOUT=&OUT,DCB=(OPTCD=J), //CHARS=(&CHARSET,FM99)BOLDBOXELEMENTS //SYSOUTDDSYSOUT=&OUT //DATRACEDDSYSOUT=&OUT //SYSABENDDDSYSOUT=&OUTDUMP //PEND //EXECCTMRFLW //DAREPORTDDDISP=SHR,DSN=PDUSER.APPL.CLMOUTPT //DAJOBDDDISP=SHR,DSN=FILE1(NAME1) //DDDISP=SHR,DSN=FILE2(NAME2) //DDDISP=SHR,DSN=FILE3(NAME3) //* //*APPLNAME=APPL //*JOBTYPE=CLMJOBCOLLECTION //*SUBMITBYPDUSERON12/01/200909:30:29 //* //IF(RC<5)THEN //JOBCMEXECBKMCM606,APPL=APPL, //MPGMI=BKMCM606, //RPT=PDUSER.APPL.CLMOUTPT //ENDIF //IF(RC<5)THEN //JOBCOLLEXECBKMJOBSQ //ENDIF Intheexample,threeschedulingfilesandtheirtablemembers havebeenconcatenatedastheDAJOBDDname.Thepre-allocated outputfileisassignedtotheDAREPORTDDname. Note: The CTMRFLWutilityJCLusedshouldnotcontaintheDAREPORTandDAJOBDDnamestatements.Iftheyexist,theywillbeoverriddenby theAutomatedCriticalDataIdentificationconstructed statementsshownabove. Parameters APPLappl Theapplicationname. MPGMI Thejobcollectionprocedure. RPT Thelocationofthejobcollectionoutput. SampleCONTROL-Mapplicationjoblist ThisexampleshowsasampleCONTROL-Mapplicationjoblist. YoucandisplaytheapplicationjoblistusingtheSTATUSoptionontheApplicationAutoBuild Optionspanel. WhenyouselecttheDisplay CurrentJOBListoptionfromtheAPPLICATIONDisplay Selectionspanel, theApplicationJOBSequenceListpanelisdisplayed. TheMiscDescriptiveInfofieldontheApplicationJOBSequenceListpanelshowsthecontents oftheCONTROL-MTableJobFlowreportoutputasextractedforeach jobentrylistedontheleft.Thejobnameentriesinthefirstcolumn arethecurrentcontentsoftheschedulingfilesandtablemembers usedasinputandgeneratedfromtheCTMRFLWutilityprogram.For example: Row1to14of582 Command==>Application==>CTLMAPPL CollectionMethod==>CONTROL-MTableEntries --Jobname----MiscDescriptiveInfo------------- ADABKUAT1ADABKUATODATE010725TIMEFROM1900UNTIL ADABKUCJ1ADABKUCJODATE010725TIMEFROM0400UNTIL ADABKUHS1ADABKUHSODATE010725TIMEFROM0200UNTIL BACKUPM1BACKUPMODATE010723 BECIDOWN3BECIDOWNBECISHUTODATE010725 BECIJRN42BECIJRN4BECISHUTODATE010725 BECISHUT1BECISHUTODATE010725TIMEFROM2209UNTIL BECIUP1BECIUPODATE010725TIMEFROM0601UNTIL BELLAS011BELLAS01ODATE010725TIMEFROM0130UNTIL BELLAT001BELLAT00ODATE010725TIMEFROM0745UNTIL BEMASSCT2BEMASSCTBECISHUTODATE010725 BEMASSS11BEMASSS1ODATE010725TIMEFROM0159UNTIL BEMASS1T1BEMASS1TODATE010722TIMEFROM0603UNTIL SampleCONTROL-Mapplicationanchorjobstructureslist Thisexampleshowsasampleapplicationanchorjobstructure list.YoucandisplaytheanchorjobstructurelistusingtheSTATUSoptionontheApplicationAutoBuild Optionspanel. WhenyouselecttheDisplay CurrentJOBAnchorChainsoptionfromtheAPPLICATIONDisplay Selectionspanel, theApplicationANCHORJobStructurespanel isdisplayed.TheJobStructureElementsfield ontheApplicationANCHORJobStructurespanel liststhesuccessorjobsforthejobnamedintheJOB/Anchorfield.ThisinformationisextractedfromtheCTMRFLWoutputreport usingtheDEPENDONfield. Note: Jobentries thathavethesamenameasasuccessorareassignedanamebyAutomatedCriticalDataIdentification. Command==>Row183to196of625 ValidCommands=>NOte,SAVEandSORT(c)APPLICATION==>CTLMAPPL -JOB/Anchor--Type---JOBStructureElements----------------- FINETDCTL/MFINETD FIPANBKPCTL/MFIPANBKP FIPAYCDCTL/MFIPAYCD FIPAYEXCCTL/MFIPAYEXC FIPDTANKCTL/MFIPDTANK FIREOLEDCTL/MGFSBGNDF FISCHEDCTL/MFISCHED FISHOUTCTL/MFISHOUT FISTDCTL/MFISTD FIVERIFYCTL/MFIBKUPD2FIBKUPD3FIBKUPD4FIBKUPD5FIBKUPD6 FIBKUPD7 FIVERIF1CTL/MFIBKUPD0FIBKUPD1XIBKUPD1 FIVERIF2CTL/MFIBKUPI0FIBKUPI1 FIVP8J02CTL/MFILISTD2 SampleCONTROL-MbatchSYSPRINTreport ThisexampleshowssamplejobentriesintheCONTROL-M batchSYSPRINTfile. Samplejobentries Anexampleofthejob entriesinthebatchSYSPRINTfilefromthelastcollectionjobis shownbelow.Informationcontainedinthefilehasbeenextracted fromtheCTMRFLWoutputreport. CURRENTDATE=11/15/01CURRENTTIME=09:46:32PAGE=2 JOBSCANOutputSummary: LocatingJOBListForApplication:CTLMAPPL JobCollectionType:REPLACE Options:NONE JobEntriesSaved:ByALLJobs FilteringStatus:ENABLED InitialAnchorJob:CDINV04 JOBNAMESREMOVEDBYFILTERING:WEU00617WEU00301WEU00461WEU0461Y JobName:CONTROL-MScheduling(JobFlowReport)Data: ------------------------------------------------------- HLPCO0411HLPCO041ODATE010421TIMEFROM0040UNTIL0500 SWTOM131SWTOM13ODATE010723TIMEFROM0700UNTIL SWTOM141SWTOM14ODATE010723TIMEFROM0700UNTIL LMCS1LMCSODATE010725TIMEFROM1100UNTIL CCRF1CCRFODATE010725TIMEFROM1130UNTIL CASCHED1CASCHEDODATE010725 CDSCHED1CDSCHEDODATE010725 CELSCHED1CELSCHEDODATE010725 CRSCHED1CRSCHEDODATE010725 BESCHED1BESCHEDODATE010725 DBSCHED1DBSCHEDODATE010725 DPACFSCH1DPACFSCHODATE010725 DPCOTSCD1DPCOTSCDODATE010725 DPJSCHED1DPJSCHEDODATE010725 FICTMSCH1FICTMSCHODATE010725 SWSCHED1SWSCHEDODATE010725 DPJHABND1DPJHABNDODATE010725 TESTJOB21TESTJOB2ODATE010725TIMEFROM1000UNTIL SMSBKLRG1SMSBKLRGODATE010725TIMEFROM0300UNTIL WEDB2WEP1WEDB2WEPODATE010725 TESTJOB31TESTJOB3ODATE010725TIMEFROM1105UNTIL SMSBKSTD1SMSBKSTDODATE010725TIMEFROM0300UNTIL Sampleanchorstructureentries Anexample oftheanchorstructureentriesinthebatchSYSPRINTfilefromthe lastcollectionjobisshownbelow.Informationcontainedinthe filehasbeenextractedfromtheCTMRFLWoutputreport. JOBSCHEDULING-Anchor/DEPJobList DEPJob:SuccessorJob/MemberNameList: ------------------------------------------------------- CDINV04CDLOC03 DPPM2CATDPPM2DLY HLPNITLYHLPCS007 BYSERIALSORTSERL SORTSERLSER#LIST SER#LISTFTPJCLT FTPJCLTEISEDIT BECISHUTBECIJRN4BE14RQPOBE22R2BABEMASSCTBECIDOWN BEMASSCTBECIDOWN CDCICSCLCDDAILY CDDAILYCDCICSOP COTMSDLYVAULT KMDVALKMDUJIGF CIMSDCO2CIMSBULKCIMSDISK KMDADST9KMDADSTM KMDADSTMKMDADSTG KMDLZRKMDDAMS KMDCCIRKMDBKUPW KMDBKUPWKMDWKRPTADAROLL KICKOFFFIREOLED STARTUPXIMISXISHOUTXILDPAJVXILDEMPXILDVINTXILDERISXIGS8JW0 XFSEPNYXFSINDRXFSLEAVXFSSHOPXFSNCPRXIAD1JICXIADVSM XIADCGMXFSFADPXFSX002XFSFALSXFSX003XIBKUPI2XFSEQPT XFSIN91XFSINF3XFSINRPXIBKUPMBXFSMBILLXFSRBILLXFSSR50 XFSSR51XIBKUPFBXFSFBILLXFSFHWTXFSSR52XFSSR54XFSAM82 XFSA656XFSA601XFSIN40XFSIN70XIIATADDFIBKUPD1FIMIS FISHOUTFILDSUSFFILDPAJVFILDEMPFILDVINTFILDERISFIIATADD FIGS8JW0GFSINR2GFSEPNYGFSINDRGFSLEAVGFSSHOPGFSRECJ GFSARCHGFSNCPGFSNCPRFIAD1JICFIADVSMFIADCGMGFSFADP GFSX002GFSFALSGFSX003FIBKUPI2GFSEQPTGFSRESJGFSINB2 GFSIN91GFSINF3GFSINRPFIBKUPMBGFSMBILLGFSRBILLGFSSR50 GFSSR51FIBKUPFBGFSFBILLGFSFHWTGFSSR52GFSSR54GFSAM82 GFSA656GFSA601GFSIN40GFSIN70 FIREOLEDGFSBGNDF SampleCONTROL-Mjobcollectionreports ThisinformationshowsanexampleofCONTROL-Mjobcollection reportswhichdisplaythestructureofthejobs. Inthisexample,jobABCJOB03issucceededbytheABCJOB02, ABCJOB04,andABCJOB01jobs.JobsABCJOB13andABCJOB23areindependent fromABCJOB03andhavesuccessorjobs: ORIGINALJOBSFORAPPLICATION:CONTROLM12012/05/1308:31:18 JOBNAMECTLMGROUPPREDECESSOR ---------------------------- ABCJOB03XXXDMN1 ABCJOB02XXXDMN1ABCJOB03 ABCJOB04XXXDMN1ABCJOB02 ABCJOB01XXXDMN1ABCJOB04 ABCJOB03HAS3SUCCESSORJOBS ABJOB13XXXDMN2 ABCJOB14XXXDMN2ABCJOB13 ABJOB13HAS1SUCCESSORJOBS ABJOB23XXXDMN3 ABCJOB24XXXDMN3ABCJOB23 ABJOB23HAS1SUCCESSORJOBS Ifjobfiltersexistfortheapplication,areport isalsocreated.Thefollowingfigureshowsanexampleofthistype ofreport. JOBSAFTERFILTERINGFORAPPLICATION:CONTROLM12012/05/1308:31:18 JOBNAMECTLMGROUPPREDECESSOR ---------------------------- ABCJOB03XXXDMN1 ABCJOB02XXXDMN1ABCJOB03 ABCJOB04XXXDMN1ABCJOB02 ABCJOB03HAS2SUCCESSORJOBS ABJOB13XXXDMN2 ABCJOB14XXXDMN2ABCJOB13 ABJOB13HAS1SUCCESSORJOBS ABJOB23XXXDMN3 ABCJOB24XXXDMN3ABCJOB23 ABJOB23HAS1SUCCESSORJOBS [TopofPage|PreviousPage|NextPage|Contents|Index]
延伸文章資訊
- 1BMC Control-M批次排程管理 - 叡揚資訊
Control-M提供一個集中式管理環境,利用即時性的圖形化介面,統一監控異質平台上批次作業的執行狀況以及前後相依關係,同時執行多個跨平台、跨系統的批次作業,避免作業 ...
- 2BMC Control-M Enterprise Scheduler - What You Need to Know
BMC Control-M is a job scheduler. Essentially, it is a tool to manage batch jobs. It is produced ...
- 3Control-M vs. JAMS Enterprise Job Scheduler | G2
Compare Control-M and JAMS Enterprise Job Scheduler head-to-head across pricing, user satisfactio...
- 4An Overview of Control-M - Medium
Control-M is a BMC product which provides comprehensive batch scheduling and monitoring capabilit...
- 5Control-M Monitoring User Guide - ITRS Documentation ...
The Control-M monitoring integration allows you to monitor scheduled jobs that are running on a C...