ZEKE

65
____________________________________________________________ ___ ZE KE Page 1 of 65 Prepared by A. Dinesh Kumar

Transcript of ZEKE

Page 1: ZEKE

_______________________________________________________________

ZEKE

Page 1 of 52 Prepared by A. Dinesh Kumar

Page 2: ZEKE

_______________________________________________________________

TABLE OF CONTENTS:

1) Introduction-ZEKE

2) ZEKE Database Event Master Record (EMR) Schedule Queue Record (SQR) Calendars Schedule Function.

3) Dispatching an Event.

4) Logon Procedures

5) Schedule Information Selection Criteria

6) Event Status.

7) Primary Commands

8) Status of Jobs

9) Screen Shots for Primary Commands

10) Line Commands

11) Screen Shots for Line Commands

Page 2 of 52 Prepared by A. Dinesh Kumar

Page 3: ZEKE

_______________________________________________________________

12) Actions Over Jobs.

1) Introduction-ZEKE: ZEKE is the scheduling tool that automates job or events depending

Upon Conditions like requirements, Job dependencies, submit times etc., Basically Events are “occurrence” means any of the following:

One Job or a Collection of jobs.

Messages issued to the console operator.

Zeke commands.

System commands.

Note: When a scheduled event is a collection of jobs then all the jobs will run as aWhole. No job will be left in the bunch of jobs.

2) ZEKE Database: ZEKE is maintaining a Database where it stores scheduling and dispatch information. The Database consist of lot of Records that contains information To process an Event. They are:

Event Master Record (EMRs).

Schedule Queue Record (SQR).

Calendars.

Generation Options.

Security.

Variables.

Page 3 of 52 Prepared by A. Dinesh Kumar

Page 4: ZEKE

_______________________________________________________________

Documentation.

E vent M aster R ecord (EMRs): Database is composed of separate records for each event. These records are called Event Master Record (EMR), An EMR contains the following information:

Date and time the event runs, Job name and JCL source.

Job dependencies.

Resource requirements such as Tape drive needed.

The Event will not be dispatched until the above conditions are satisfied

S chedule Q ueue R ecord (SQR): When the SCHEDULE FUNCTION runs, ZEKE pulls EMR information From the Database and creates Schedule Queue Record (SQR) for each Event that is selected to run. We can adjust the schedule through “schedule view” and also we can add a Event to a schedule by Selecting “Add Function” in the “Schedule View”.

Schedule Function: The ZEKE‘s SCHEDULE FUNCTION uses the Event Master Record (EMR) to create the daily schedule. Obviously the SCHEDULE FUNCTION runsAt the start of the each working day to remove the previous day’s completed Schedule and adding current day’s schedule.

C alendars: In ZEKE Calendar means defining the working days, weekends, holidays to ZEKE. If we did not define then by default ZEKE assumes that the working day from Monday to Friday and weekends are Saturdays and Sundays and there are no holidays.

After defining the calendar we can make an event to run according to our needs.If we want to run an event on all working days (Monday to Friday) then we canCommand as “OCCURS (WORKDAYS)”. The event will start to run from Monday

Page 4 of 52 Prepared by A. Dinesh Kumar

Page 5: ZEKE

_______________________________________________________________

To Friday regardless of any holidays

The ZEKE calendar is classified into three types. They are

1 Standard Calendars 2 User Accounting Calendars

3 Special Calendars

1 Standard Calendars:

The Standard calendar is the main calendar most events reference. In addition to defining the workdays, weekends and holidays, Standard calendars have the following features:

Perpetual Valid for any year. Enter four asterisks (****) In the YEAR field.

Generic Holidays Holidays that occur on the same date every year Only need to be entered once. Similar to the Perpetual feature, specify the year portion of a holiday as four asterisks (****).

Fiscal Start Standard calendars can be in sync with your fiscal Year. Enter the first month of your fiscal year In the appropriate field. ASG-Zeke calculates the Calendar start and end dates.

2 User Accounting Calendars:

User Accounting calendars are used to set up a schedule in sync with our accounting fiscal periods, such as the 4-4-5. User Calendars are similar to

Page 5 of 52 Prepared by A. Dinesh Kumar

Page 6: ZEKE

_______________________________________________________________

Standard calendars. We use them to define our workdays, weekends, and holidays. User calendars are Different in the following ways:

Periods Instead of months, User calendars refer to periods. Enter the length of each period on the second Screen. We can define up to 24 periods a year.

Specific year User calendars are only valid for one specific Year. Holidays, however, can be defined with four Asterisks (****) in the YEAR field to keep them Generic.

3 Special Calendars:

ZEKE offers Special calendars to events that do not comply with any scheduling algorithm even though the OCCURS clause keywords are very flexible and offer Literally thousands of scheduling possibilities, For these few events, Zeke supports Special calendars. To create a Special calendar, enter an asterisk (*) on the days we Want the event(s) scheduled. Then, for each event, enter a standard Calendar ID in the Event Master Record field CALID to define the Holidays and workdays. Then enter the Special calendar ID in the OCCURS clause. For example, OCCURS (CALENDAR PAYSPEC) We can use one Special calendar for several events, then use Keywords to specify dates in the OCCURS clause. For example, OCCURS (CALENDAR CAL1 AND MONDAY)

Event Master Record (EMRs)OCCURS Clause

CalendarStandardAccountingSpecial

Daily Schedule load

Page 6 of 52 Prepared by A. Dinesh Kumar

Page 7: ZEKE

_______________________________________________________________

Schedule Queue Records (SQRs)

The flow indicates the Generation of Schedule for a day.

3) Dispatching an EVENT: An event is placed in Dispatch queue when it’s prerequisiteConditions are satisfied. Before dispatching an event the ZEKE checks for the Following:

Event not on HOLD.

Required resources are available.

Operator Approval (We can decide if an event needs it)

4) Logon Procedures: From the ISPF Panel type ‘TSO %ZEKE’ and press Enter.

Page 7 of 52 Prepared by A. Dinesh Kumar

Page 8: ZEKE

_______________________________________________________________

Then shows the following Primary Menu for the ZEKE tool. Then choose ‘2’ for Schedule View that is used to monitor the flow of events or jobs as shown below.

5) Schedule Information Selection Criteria:- From Schedule view the Schedules can be monitored and temporarilyUpdated. We can view the schedules by filling some of the fields to get concise information. We have defined the fields individually here. There are some primary commands and line commands which we can issue To view the schedule or temporarily update the schedule.

Page 8 of 52 Prepared by A. Dinesh Kumar

Page 9: ZEKE

_______________________________________________________________

Then the following screen will be displayed from which we can track an event orA job by filling some of the options in the screen.

Page 9 of 52 Prepared by A. Dinesh Kumar

Page 10: ZEKE

_______________________________________________________________

JOBNAME: we can uniquely give the job name and search for the information on the Job. For ex- we have given one job here to search the information on The screen.

The following screen appears which tells us that the status of the job is “SCHEDULED REFRESH HOLD” means the job Abended and operator Has put a Refresh on the job and waiting for the instructions from the Programmer.

Page 10 of 52 Prepared by A. Dinesh Kumar

Page 11: ZEKE

_______________________________________________________________

EVENT NAME:

Event name can be given to search the information on particular event. As we discuss earlier event may be a collection of jobs. Here we are giving an event name as follows to find information on that event

Page 11 of 52 Prepared by A. Dinesh Kumar

Page 12: ZEKE

_______________________________________________________________

By pressing enter we go to the screen that shows the jobs, which are all scheduled Under this event. There are 2 jobs under this event. The following screen will show That one job “FLRX0002” which is success and one more job namely “”FLRX4000”Is in “SCHEDULED REFRESH HOLD” status.

Page 12 of 52 Prepared by A. Dinesh Kumar

Page 13: ZEKE

_______________________________________________________________

APPLICATION:

Application is defined in such a way that explains whether it is daily job or monthlyJob or backup job for ex – application “DLY” means the job is a daily job Application “MTH” means the job is monthly job Application “BKP” means the job is a backup job etc

We can take an example to find the jobs that run on monthly basis fill the applicationAs “MTH” and press enter. We will get the list of all the jobs that run on monthlyBasis.

GROUP ID:

Job belong to each project (states in USA) have their Group ID.For ex- group Id for Florida is FL2, for Washington id is WA. Etc.

Page 13 of 52 Prepared by A. Dinesh Kumar

Page 14: ZEKE

_______________________________________________________________

USER ID: Each project (or state) has its own user id and password which is unique forEach state. We can search with this user id for events or jobs belong to that user id.

SYSTEM: We can search an event or job through giving the system name on whichThe job or event will run.

SCHED DATE:

We can give the scheduled date and can list all the jobs and events run on the Date.

Note: Please note that the schedule date is the actual date on which the job is scheduleTo run but there is possibility that when the job abends then programmers may leaveThe job to run on some other day.

RUNDATE: Run date is the date on which the job or event started to run. ThereIs the difference between run date and shed date.

6) Event status:

In the Right side we can see ‘Event Status’, in which the following options areAvailable. These options can be selected accordingly to view a concise form of Information on an Event. The option are explained below

Actv: Y - Active- Y / N Choose Y (YES)-only to view that are in active status Choose N (NO) only to view that are not in active status

Pend: Y -Pending-Y/N Choose Y (YES)-only to view that are in pending status.

Page 14 of 52 Prepared by A. Dinesh Kumar

Page 15: ZEKE

_______________________________________________________________

Choose N (NO)- only to view which are not in pending status

Sched: Y Schedule –Y/N Choose Y (YES)-only to view that are in Schedule. Choose N (NO)- only to view that are not in Schedule.

Hold: Y Hold – Y/N Choose Y (YES)-only to view that are in Hold. Choose N (NO)- only to view that are not in Hold.

Late: Y Late – Y/N Choose Y (YES)-only to view that are in late status. Choose N (NO)- only to view that are not in Late status.

OperOk: N Operator ok – Y/N Jobs or events that Needs to post user requirement or not. Choose Y (YES)-only to view that needs approval from operator Choose N (NO)- only to view that doesn’t need a approval from Operator

TimeOk: N: Time ok - Y/N Choose Y (YES)-only to view that have met the time dependency Choose N (NO)- only to view that have not met time dependency.

WhenOk: N When ok – Y/N Choose Y (YES)-only to view that have met the time dependency but Waiting for job dependency. Choose N (NO)- only to view that have not met the time dependency but Waiting for job dependency.

Page 15 of 52 Prepared by A. Dinesh Kumar

Page 16: ZEKE

_______________________________________________________________

Done: Y Done-Y/N Choose Y (YES)-only to view that are completed. Choose N (NO)- only to view that are not completed.

Fail: Y Fail- Y/N Choose Y (YES)-only to view that are failed Choose N (NO)- only to view that are not failed.

FSucc: Y Force Success –Y/N Choose Y (YES)-only to view that are force completed. Choose N (NO)- only to view that are not force completed.

7) Primary Commands:

Here are some frequently used Primary commands to view the Schedule in ZEKE.

TO VIEW COMMAND DESCRIPTION

Abended Jobs ZD AB SYS *This will list the Jobs in Abended status on all the systems.

Active Jobs ZD ACT SYS *This will list the Jobs in Active status on all the systems.

Waiting Jobs ZD WA SYS *This will list the Jobs in Waiting status on all the systems.

Pending Jobs ZD PEND SYS *This will list the Jobs in Pending status on all the systems.

Page 16 of 52 Prepared by A. Dinesh Kumar

Page 17: ZEKE

_______________________________________________________________

Late Jobs ZD LATE SYS *This will list the Jobs in Late status on all the systems.

Hold Jobs ZD HOLD SYS *This will list the Jobs in Hold status on all the systems.

Note:

WE CAN'T CANCEL A JOB THROUGH ZEKE. We can cancel an active job in SDSF by giving ‘C’ before the Job.

When viewing a Job in pending status if it shows as SJCL then the Job is inSKELETON status.

DON’T ISSUE THIS COMMAND:

ZHOLD SYS *: USED TO PUT THE LPARs ON HOLD STATUS.

8) Status of Jobs:

There are various statuses that a Job can show in ZEKE. Here we can findInformation on all the possible statuses of jobs.

STATUS - EXPLAINATION

SUCCESS - Job completed successfully.

ACTIVE- Job is ACTIVE.

SUCCESS FAILED ONCE – Job is failed once or multiple times but after reran It ran successfully.

Page 17 of 52 Prepared by A. Dinesh Kumar

Page 18: ZEKE

_______________________________________________________________

SUCCESS FORCED FAILED ONCE – Job failed once or multiple times but After that forced to success (force completed)

SCHEDULED – The job is in schedule for the day but till now the time or Job Dependencies are not yet met.

SCHEDULED TIME OK – The time dependency for the job is met or no time Is defined for the job and Waiting for job Dependency.

SCHEDULED WHEN OK - The Job dependency is met and waiting for time Is not met

SCHEDULED REFRESH HOLD/HOLD REFRESH- After the Job Abend the Job was refreshed and waiting for Instructions from programmer.

SCHEDULED OPERATOR HOLD- Job is put on hold due to programmer Request.

Note: The Job is put on hold but giving “HOLD” command before the job.

DISPATCHING PENDING- The job is ready to run but due some reasons it Is not running. Reason may be waiting for Initiators, datasets, resources etc.

Page 18 of 52 Prepared by A. Dinesh Kumar

Page 19: ZEKE

_______________________________________________________________

9) Screen shots for Primary commands:

1) Abended jobs:

On ZEKE Primary Menu issue Command “ZD AB SYS *” and press ENTER to see the jobs in Abended Status. The below screen shot shows the information on the job or event.

Page 19 of 52 Prepared by A. Dinesh Kumar

Page 20: ZEKE

_______________________________________________________________

Z0969I - Event no for the Job.

DATE – JULIAN date on which the Job Abended

TYPE – Mostly mentioned as Job.

CODE- Return code with which the job went down.

SCHED- Actual scheduled time of the job on which it has to run but has not run.

FREQ – The FREQUENCY in which the job is going to RUN. I.e. If the JOB Is going to RUN for multiple times in a day’s schedule then time interval Between each run of this JOB is given here.

CNT -COUNTS- Abend happened at nth run for the day

Page 20 of 52 Prepared by A. Dinesh Kumar

Page 21: ZEKE

_______________________________________________________________

Note: TIMES –Number of times the job will run on the day’s schedule

STATUS- FAIL/HOLD RFSH

FAIL means the job is failed.

HOLD RFSH means operator refreshed the Job after Abend. But we have to remember that they have waiting For instructions from programmer.

2) Active Jobs: The Command “ZD ACT SYS *” will give the list active jobs in allThe systems. Here is screen shot for information on active jobs.

Page 21 of 52 Prepared by A. Dinesh Kumar

Page 22: ZEKE

_______________________________________________________________

DATE – Scheduled on the JULIAN Date

RDATE – Run date (current date).

Note:

Even though DATE and RDATE appears to be same for all jobs some Times there may be a difference. For ex- if the operator takes some action On A job which Abended in the previous day then it may show the DATEAs the previous day and RDATE as the current date.

DP- DISPATCH PRIORITY .The ZEKE assigns priority to each job for running. If required we can change the priority of the Job. The highest dispatch priority is 0.

STATUS- ACTIVE. The Job is ACTIVE now. Also shows the time at which the Job Started.

3) Waiting Jobs: The Command ”ZD WA SYS *” will show Jobs which are in waitingStatus. Here is the Screen shot for that.

Page 22 of 52 Prepared by A. Dinesh Kumar

Page 23: ZEKE

_______________________________________________________________

CLASS- On which class the job is scheduled.

DPRI- Dispatch priority .0 is the highest priority.

TPS – Shows the Number of tapes the job needs.

NEED OPER OK- Requirements need to be posted by the operator.

NEED INTIATORS- the Job is waiting for initiators.

NEED RESOURCES- job is waiting for some resources such as datasets etc

4) Pending Jobs:

Page 23 of 52 Prepared by A. Dinesh Kumar

Page 24: ZEKE

_______________________________________________________________

To View the Jobs in Pending Status issue “ZD PEND SYS *”. See the Following screen shot which shows that there is no matching entries for the system.

Note:

Pending may be because of the Job in Contention with dataset or due to some tape mount pending etc.

When viewing a Job in pending status if it shows as SJCL then the Job is inSKELETON status.

Page 24 of 52 Prepared by A. Dinesh Kumar

Page 25: ZEKE

_______________________________________________________________

5) Late Jobs:

To view the Jobs in LATE status issue command “ZD LATE SYS *” and pressEnter. Following screen should be displayed .If there is any late jobs then we have to Investigate on them

6) Hold Jobs: To view the jobs that are in hold status issue command “ZD HOLD SYS *” The following screen shot shows a typical output of the job.

Page 25 of 52 Prepared by A. Dinesh Kumar

Page 26: ZEKE

_______________________________________________________________

HOLD RFSH: we have put a ‘REF’ before the Abended job and it is waiting for Resolution from the programmer.

HOLD SJCL: This happens when the job comes to SKELETON status.

HOLD OPER: we put a ‘HOLD’ on the job since programmer requested.

10) Line Commands:

Page 26 of 52 Prepared by A. Dinesh Kumar

Page 27: ZEKE

_______________________________________________________________

Here are some frequently used Line commands to view the Schedule in ZEKE.

? - Display a complete list of valid line commands.

DEL- Delete the event from that day’s schedule. WH-Display and change the WHEN conditions for the selected event During this schedule run.

PATH- Displays the predecessor and successor of the job or event.

PRED- To see the predecessors of a job.

PRED*- Shows all the predecessors of the job from the starting of the stream.

SUCC- To see the successors of a job.

SUCC* - Shows all the Successors of the job till the end of the stream.

JCLR: Retrieve JCL.

ZO: (zoom) Display info for a job in one screen

SCAN- Scans the JCL of a job for syntax errors.

RUN- Run the job without any conditions.

ZA EV ‘EVENT NO’ PDSD JCLLIB2 – To restart a Job from override Library

Page 27 of 52 Prepared by A. Dinesh Kumar

Page 28: ZEKE

_______________________________________________________________

(JCLLIB2)

Note:

Override library – SYST.P.RERUN. (JCLLIB2)

‘REL’ is used to release the job when it is on HOLD.

‘RUN’ is used to run the Job immediately.

HOLD- To hold the Job without running.

REL: Release the Job.

DEL- Deletes the Job from ZEKE schedule for the day.

FDONE- To force the Job to Done status (force complete).

FFAIL- To Force the Job to Failed status.

FSUCC- To Force the Job to Success status.

REB- Rebuild the job- Fetches a fresh copy of JCL.

Note: When we rebuild a job, it is set to restart, but prerequisite conditions need To be satisfied before the Job can run.

Page 28 of 52 Prepared by A. Dinesh Kumar

Page 29: ZEKE

_______________________________________________________________

11) Screen shots for Line commands:

?:

The help command to know about all the line commands is ‘?’.Issue ‘?’ in line command against any Job and get the list of allThe explanations on all the line commands. The following screenIs displayed.

Each LINE command in ZEKE is explained here.

Page 29 of 52 Prepared by A. Dinesh Kumar

Page 30: ZEKE

_______________________________________________________________

WH:

The ‘WH’ command is used to see the job that is going to trigger this JobThis command has to be given in line as shown below .

Here we are taking a job ‘GCFL222U’ as example to view the information on this job.The information is about the condition that has to be satisfied for run of this job.Here for this job the condition is as shown below screen.

Page 30 of 52 Prepared by A. Dinesh Kumar

Page 31: ZEKE

_______________________________________________________________

The screen shows the conditions are “NOT DURING GCFL222D NOT DURING JOBGCFL22T”. From this we came to know that the job GCFL222U’ has a mutually exclusive condition with two jobs ‘GCFL222D’ and ‘GCFL22T’.

So we came to know that this job could run only when those two jobs are not running

In some cases it will show the condition as ‘EOJ JOBNAME” which means that the jobWill run only at the end of the mentioned job.

NOTE:

When we see a “*EOJ” before the job then the information is that the JOB is scheduled for the day and completed successfully.

When we see a “#EOJ” before the job then the information is that the JOB is not Scheduled for the day and there is no need to wait for this job.

Page 31 of 52 Prepared by A. Dinesh Kumar

Page 32: ZEKE

_______________________________________________________________

PRED:

This line command is used to get the predecessors of a particular Job. We can takeA job and see the predecessors of that job. For ex- taking a job “CHED4600” and give“PRED” before the job as shown below.

The following screen appears which shows that the job “CHED4500” is only predecessor of the job “CHED4600”. Also note that there EOJ before the predecessor job which tells us that only at the End Of the Job “CHED4500” the job will be triggered.

Page 32 of 52 Prepared by A. Dinesh Kumar

Page 33: ZEKE

_______________________________________________________________

Also the screen Shows level number of the jobs, event no, current date and average duration the job will run.

Page 33 of 52 Prepared by A. Dinesh Kumar

Page 34: ZEKE

_______________________________________________________________

Note:

The Line command “PRED*” will show all the predecessors of the job From the starting of the stream.

In the same way “*SUCC*” will show all the successors of the job Till the end of the stream

There is a column at the left side of each job named ”LVL” which is the levelNumber of the job.

.

Page 34 of 52 Prepared by A. Dinesh Kumar

Page 35: ZEKE

_______________________________________________________________

SUCC:

The Line command “SUCC” will show the successors of the job. Lets take a job“DBS003” and give SUCC in front of the job and press enter.

The following will be displayed which shows the successors of the job .the job “DBSXMIT” is the only successor of the job “DBSRESTOR”. Also the screenShows level number of the jobs, event no, current date and average duration theThe job will run.

Page 35 of 52 Prepared by A. Dinesh Kumar

Page 36: ZEKE

_______________________________________________________________

PATH:

The line command “PATH” will show the path (stream of jobs including predecessors and successors) of the job. Lets take an example of job ‘DBSRESTOR’ and try to seeThe predecessors and successors of the Job. Now give a command ‘PATH’ in front The job and press enter as shown below.

Page 36 of 52 Prepared by A. Dinesh Kumar

Page 37: ZEKE

_______________________________________________________________

The below screen shows the predecessors and successors of the job ‘DBSRESTOR’.

The predecessor is ‘DBSBKUP’ and the successor is ‘DBSXMIT’.Also gives the level number and average run time of the job.

Page 37 of 52 Prepared by A. Dinesh Kumar

Page 38: ZEKE

_______________________________________________________________

ZO:

The line command “ZO” (zoom) Display info for a job in one screen. The information are the run date, scheduled date, library from where the ZEKE will take JCL etc.

The following screen shows the ZO command over a Job ‘DBSRESTOR’

Page 38 of 52 Prepared by A. Dinesh Kumar

Page 39: ZEKE

_______________________________________________________________

EVENT NAME- the name of the Event to which the job ‘DBSRESTOR’ belong to.

SCHD DATE- the date on which the job is scheduled.

RUN DATE- The date on which the job is going to run.

STATUS/REASON- the status of the job.

APP- Application of the job. For ex - Application “DLY” means the job is a daily job Application “MTH” means the job is monthly job

Application “BKP” means the job is a backup job etc

SCHD- Schedule time for the job

TAPES- number the tapes the job is will use.

Page 39 of 52 Prepared by A. Dinesh Kumar

Page 40: ZEKE

_______________________________________________________________

AUGDUR- Average duration the job will run.

DPRTY- Dispatch priority of the job (we have explained before)

JCL – this points to a PDS from which the job is going to take the JCL to run.

12) Actions Over Jobs:

The actions are mostly based upon the instructions from the Programmer. The actions that we are going to take on jobs using ZEKE commands are as follows.

1) RESTARTa) From TOP or RESUBMIT a Job.b) From the Abended step.c) From Override library.

2) FDONE (FORCE COMPLETE)

3) DEMAND a JOB with HOLD

4) HOLD and Release

5) Adding JOB Requirements.

1) RESTART:

When a job Abended and if the programmer tells us to restart the job. We have to make clear about the restart ie restart from TOP or restart from Abended step or restart from override library.

Page 40 of 52 Prepared by A. Dinesh Kumar

Page 41: ZEKE

_______________________________________________________________

a) RESTART From TOP or RESUBMIT the Job:

Restarting a job from top and resubmitting are same. Once the programmerTells us to restart the job from top then we have to follow the procedure as below.

NO CHANGE in JCL means then we have to put ‘REF’ before the Job and Press enter as follows.

Note that Refresh command will refresh the JCL of the job. After refreshing the job, issue line command ‘RUN’ before the Job as follows.

Page 41 of 52 Prepared by A. Dinesh Kumar

Page 42: ZEKE

_______________________________________________________________

CHANGE in JCL means we have to put ‘REB’ before the job and ‘RUN’ the Job. Rebuild the job- fetches a fresh copy of JCL from library.

NOTE:

The difference between the restarting a job with NO CHANGE in JCL and CHANGE in JCL is In NO CHANGE in JCL we ‘REF’ and ‘RUN’ the Job. In CHANGE in JCL we ‘REB’ and ‘RUN’ the Job.

RESTARTING a job from TOP and RESUBMITTING a Job are same.

Page 42 of 52 Prepared by A. Dinesh Kumar

Page 43: ZEKE

_______________________________________________________________

b) RESTART from Abended Step:

If the programmer tells to restart the Job from Abended step then we have toFollow the below procedure.

Step1- put ‘JCLR’ before the job and press enter as shown below.

Step 2- Then issue line command ‘ZO’ before the job and press enter. We will get Following screen.

Page 43 of 52 Prepared by A. Dinesh Kumar

Page 44: ZEKE

_______________________________________________________________

Step 3- in the above screen we have to put a ‘E’ before the JCL to edit the JCL (here I Have put ‘B’ to browse) and press enter.

Step 4- Here shows the JCL for the Job that has to be edited with following Information

In the job card of the JCL we have to put USER=ZEKE, RESTART=STEPNAME.PROCNAME. Delete the following two lines LOGONID PASSWORD

Page 44 of 52 Prepared by A. Dinesh Kumar

Page 45: ZEKE

_______________________________________________________________

Step 5- Press PF3 to come out of the screen that will save the changes automatically.

Step 6- Issue ‘REF’ before the Job and press enter

Step 7- Issue ‘RUN’ before the Job and press enter.

Now the job will start to run from the Abended step.

c) RESTART From Override Library:

If the programmer tells us to restart the job from override library then we have to follow this procedure.

Page 45 of 52 Prepared by A. Dinesh Kumar

Page 46: ZEKE

_______________________________________________________________

Step 1- Issue the ‘ZA EV ****** PDSD JCLLIB2’ in command line where ***** is the Event number of the job that needs to be restarted from over ride library.

Step-2 Issue a ‘ZO’ before the job to see the whether the PDS changed to JCLLIB2.

Step 3- Issue ‘REF’ before the Job.

Step 4- Issue ‘RUN’ before the Job.

Now the job will start to run.

Page 46 of 52 Prepared by A. Dinesh Kumar

Page 47: ZEKE

_______________________________________________________________

2) FDONE (FORCE COMPLETE):

When the programmer wants to FDONE a Job we should follow the belowProcedure.

Step 1- Give the job name in SCHEDULE VIEW screen window and press enter.

Step 2- Issue ‘FDONE’ in command line of the job and press enter to force complete the Job.

3) DEMAND a JOB with HOLD: When a programmer calls us to demand a Job then we have to follow

the below procedure.

Page 47 of 52 Prepared by A. Dinesh Kumar

Page 48: ZEKE

_______________________________________________________________

Step 1- from ZEKE – PRIMARY MENU select 2- Schedule View as shown below

Step 2 – Select 3 for ADD Function and press enter. Here comes the following Screen.

Page 48 of 52 Prepared by A. Dinesh Kumar

Page 49: ZEKE

_______________________________________________________________

Step 3- we have to choose the Job name to demand. Here we gave job name as ‘GCFL1750’ and selected option for HOLD-Y to bring the job in schedule With a hold. We have to select the SCHEDULE DATE and RUN DATE as per programmer Instructions and press enter.

Now the job comes to schedule with a hold.

Step 4- Select the Job again and press ‘S’ to Schedule the Job for the day.

Page 49 of 52 Prepared by A. Dinesh Kumar

Page 50: ZEKE

_______________________________________________________________

4) HOLD and Release:

When a programmer requests to put a job on hold then we have to issue ‘HOLD’ in the command line of the JOB and press enter.

Note- when a programmer requests to release a job then issue ‘REL’ in the command line Of the job and press enter.

5) Adding JOB Requirements:

When we want to add some JOB requirements, from the ‘Schedule Information Selection Criteria’ screen Issue the following command

ZA EV eventno WHENEND (EOJ jobname)

Here we are going to add a Job “GCFL050D” as a predecessor to Job “GCMVDEND” (event no- 005932) .so we have to give the as in above screen.

Page 50 of 52 Prepared by A. Dinesh Kumar

Page 51: ZEKE

_______________________________________________________________

ZA EV 005932 WHENAND (EOJ GCFL050D)

This command will add Job “GCFL050D” as a predecessor to Job “GCMVDEND” Event no-005932 into schedule. So if we see the predecessor for “GCMVDEND”

By selecting 2 from ZEKE- Primary Menu to go to ‘Schedule Information Selection Criteria’ screen give the Jobname as “GCMVDEND” and see the schedule view screenAs follows

When issuing “PRED” before the Job and press enter, we will be able to see all the Predecessors for the job. In which the Last Job found in the list is “GCFL050D” asin below screen.

Page 51 of 52 Prepared by A. Dinesh Kumar

Page 52: ZEKE

_______________________________________________________________

Page 52 of 52 Prepared by A. Dinesh Kumar