Previous Topic: Displaying Job RecordsNext Topic: Scheduling Jobs


Copying Job Records

You can decide to add similar jobs later. To do so, copy a job like NAMEA that has already been defined. To copy a job, list the NAMEA record on your screen, make your changes, and then add the new job to the database. To illustrate this process, enter DB.1 on the top line of your screen and press Enter. A blank CPU Job Definition screen is displayed:

------------------------- CA-7 CPU JOB DEFINITION -------------------------- FUNCTION: (ADD,DELETE,DD,PURGE,DELPRRN,FORMAT,LIST,UPD) JOB: GENERAL: SYSTEM: JOBNET: OWNER: UID: JOBL: JCL: ID: MEMBER: RELOAD: EXEC: RETAIN-JCL: LIB: REQUIREMENTS: HOLD: JCL-OVRD: USE-OVRD-LIB: VERIFY: MAINT: SATISFACTION LEAD-TIME: JOB: DSN: ARFSET: EXECUTION: MAINID: INSERT-RMS: COND-CODE: RO: DONT SCHEDULE -- BEFORE: AFTER: MESSAGES: LTERM: REQUIREMENT-LIST: PROMPTS: ERROR MSGS -- RQMTS NOT USED: DSN NOT FOUND: RESOURCES: REGION: CLOCK-TIME: CPU-TIME: CLASS: PRTY: MSGCLASS: DRCLASS: TAPE DRIVES...TYPE1: M C TYPE2: M C PROGRAM: SM20 MSG-INDX: 00 -- DB.1 -- yy.ddd / hh:mm:ss MESSAGE: ENTER FUNCTION, TRANSFER OR ENTER A COMMAND ON THE TOP LINE

To display NAMEA, enter values in two fields:

FUNCTION:

Enter LIST.

JOB:

Enter the name of a job you have already defined, in this case NAMEA.

When you press Enter, the screen displays the NAMEA record:

------------------------- CA-7 CPU JOB DEFINITION -------------------------- FUNCTION: (ADD,DELETE,DD,PURGE,DELPRRN,FORMAT,LIST,UPD) JOB: NAMEA GENERAL: SYSTEM: PRIMER JOBNET: OWNER: UID: 0 JOBL: JCL: ID: 0 MEMBER: NAMEA RELOAD: N EXEC: N RETAIN-JCL: N LIB: REQUIREMENTS: HOLD: N JCL-OVRD: N USE-OVRD-LIB: N VERIFY: N MAINT: N SATISFACTION LEAD-TIME: JOB: 0 DSN: 0 ARFSET: EXECUTION: MAINID: ALL INSERT-RMS: N COND-CODE: 0 RO: 0 DONT SCHEDULE -- BEFORE: 00000 0000 AFTER: 99999 0000 MESSAGES: LTERM: REQUIREMENT-LIST: Y PROMPTS: N ERROR MSGS -- RQMTS NOT USED: Y DSN NOT FOUND: Y RESOURCES: REGION: 0 CLOCK-TIME: 0000 CPU-TIME: 00000 CLASS: PRTY: 000 MSGCLASS: DRCLASS: TAPE DRIVES...TYPE1: 000 M 000 C TYPE2: 000 M 000 C PROGRAM: SM20 MSG-INDX: 00 -- DB.1 -- yy.ddd / hh:mm:ss MESSAGE: LIST SUCCESSFUL

To add a similar job to the database, fill in these fields:

FUNCTION:

Change LIST to ADD.

JOB:

Enter the name of the new job. In this case, call it NAMEC.

Then press Enter and wait for the ADD SUCCESSFUL message at the bottom of the screen.

Now add NAMED to the database by retyping the A in the FUNCTION field and changing the JOB field to NAMED. Repeat these steps for NAMEE. Now we can use these jobs to learn how to schedule jobs to run automatically.