ca7 basics

26

Click here to load reader

Upload: srinath-reddy

Post on 27-Nov-2014

411 views

Category:

Documents


18 download

TRANSCRIPT

Page 1: CA7 Basics

Whenever Batch jobs are submitted on mainframe server through tools like Endevor , then there are chances that some Jobs may get fail or not submitted successfully , then an Engineer (from Production Environment ) who monitors the job(s) , Pulls or retrieves that job(s) with endevor, analyzes the code and reasons for failure , give them a fix (temporary or permanent) and re-submitted the failed job. In production Environment Engineer at L1 (Level1) support may get calls from users or client regarding a problem and they can generate a Ticket with severity Level and pass it on to Development for permanent fix ." Now the above information provided to me from a working professional , i have posted here , Please tell me is it true , if not please correct .

CA7 Basics & Commands CA-7 Basics & Commands

Add a one-time requirement:Use the ADDRQ command to manually add temporary, one-time, pre-execution user or predecessor job requirements. These requirements must be added to the job while it is in the CA-7 request queue. These added requirements apply only to the current run of the job.

SYNTAX:Add a job dependency requirement:ADDRQ,JOB=job name or job number, DEPJOB=job this run is dependent on

Add a user requirement :ADDRQ,JOB=job name or job number ,USR=text

Cancel a Job :Use the CANCEL command to delete jobs from the CA-7 queues. This command only removes the job from the CA-7 queues. Cancellation of a job in the CA-7 active queue or ready queue (if it has been submitted) does not cause termination of the job's execution. CPU jobs which may be executing have to be canceled from the operating system separately.

Page 2: CA7 Basics

SYNTAX:

CANCEL,JOB=job number or job name, FORCE=YES,REASON=text

(Note: If you want to cancel the job without removing it from the CA-7 queue, do not specify FORCE=YES.)

Change a Job submit time :Type the 'XQ' top line command to get to the queue maintenance screen. Type a 'U' beside the job you want to update, and hit enter.

----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS ----------------F-JOBNAME--CA7# GSAJPWH3 2877 JOB: GSAJP* GSAJPWH5 2843 SEQ: ENTRY GSAJPWH1 2833 QUEUE: REQ GSAJPWH2 2873 LIST: ALL GSAJPWH4 2874 GSAJPDH1 2876 FUNCTIONS: U GSAJPWDE 2773 C=CANCEL F=RESTART H=HOLD J=JCLOVRD P=RSVP Q=REQUEUE R=RELEASE S=SUBTM OFF U=UPDATE V=VERIFY X=RQMT POST E=EDIT QJCL PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 98.028 / 20:34:33 MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

The next screen displayed is the CPU Job Attributes screen. Here you can change the job submit time, as well as several other job attributes.

--------------- CA-7 QUEUE MAINTENANCE - CPU JOB ATTRIBUTES ----------JOB: GSAJPWDE CA-7#: 2773 MCNT: 001 QUEUE: REQ

---------SCHEDULING--------- ------MANUAL REQUIREMENTS------- DEADLINE TIME.... 98028 2205 JOB HELD...................... N DUE-OUT TIME..... 98028 2210 MANUAL VERIFICATION REQUIRED.. N SUBMIT TIME...... 98028 2200 JCL OVERRIDES REQUIRED........ N

Page 3: CA7 Basics

MAINID........... ALL

----------RESTART----------- -----------PROMPTING------------ GENERATE CA-11 STEP....... N ELIGIBLE FOR PROMPTS... N FORMAT CA-11 CMT.......... N PROMPT ACKNOWLEDGED.... N RETAIN JCL IN PRRN QUEUE.. N LTERM FOR MESSAGES..... MASTER

----------------------------RESOURCES----------------------------- JOB CLASS............. A JOB PRIORITY.......... 100 ELAPSED TIME (HHMM)... 0000 TAPE DRIVES OF TYPE1.. 000 CPU TIME (MMMSS)...... 00000 TAPE DRIVES OF TYPE2.. 000

PROGRAM: QM40 MSG-INDX: 00 -- QM.3-X -- 98.028 / 20:35:42

MESSAGE: CHANGE DESIRED FIELDS OR ENTER A COMMAND ON THE TOP LINE

Delay schedule start and due out times :

Use the ADDSCH command to delay scheduled start and due-out times for up to 24 hours. You can use this command for a specific job, or for an entire workload in the case of a major unexpected and unscheduled change in the environment.

Syntax:ADDSCH,JOB=nnnn or ALL,TIME=mmmmnnnn specifies the CA-7 job number of a single jobmmmm specifies the amount of time to be added to the start time and due-out time of the job in minutes

e.g. ADDSCH,JOB=2502,TIME=0060Be careful when using JOB=ALL. This command will then apply to every job in the request, ready, active, and post-process queues.

Demand a Job into request queue :It is advisable not to use DEMANDH to run nightly cycle jobs during the day. The post-processing will cause the out-conditions to be posted, possibly allowing any successors to execute as soon as CA-7 brings them into the request queue. Use RUNH instead.

Use the DEMANDH top-line command to demand a job into the CA-7 request queue:

DEMANDH,JOB=job name, SCHID=schedule ID

e.g. DEMANDH,JOB=GSAJPORF,SCHID=070You will be prompted to enter hold information (name, phone, reason for hold). Go to the request queue and review your job to make sure it has the appropriate

Page 4: CA7 Basics

requirements. If everything looks okay, release the hold requirement.Schedule ID is required procedurally, but is not required by CA-7. Be extremely careful to use the correct SCHID when demanding jobs into CA-7. If you do not specify a schedule ID, CA-7 will use the first schedule ID it finds in the CA-7 database, which may not be the one you want.

Edit the execution JCL :Note: If you are not the on-call SE but plan to restart a job, you need to contact the on-call SE and let them know. When you edit the execution JCL in CA-7 it does not prevent someone else from editing the dataset and they can overlay your changes.Type the XQ top line command to get to the CA-7 Queue Maintenance Screen. Tab down to the job you want to edit and type an 'E' beside it and hit the Enter key.

----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS ----------------F-JOBNAME--CA7# GSAJPF24 2459 JOB: GSAJP* GSAJPDH1 2449 SEQ: ENTRY GSAJPWH5 2450 QUEUE: REQ GSAJPWH3 2451 LIST: ALL GSAJPWH4 2454 GSAJPPD2 2384 FUNCTIONS: GSAJPBDH 2386 C=CANCEL GSAJPBH5 2431 F=RESTART GSAJPWH1 2430 H=HOLD E GSAJPWH2 2433 J=JCLOVRD GSAJPF37 2480 P=RSVP Q=REQUEUE R=RELEASE S=SUBTM OFF U=UPDATE V=VERIFY X=RQMT POST E=EDIT QJCL PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 98.028 / 16:10:38 MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

HOLD A JOB :Type the XQ top line command to get to the CA-7 Queue Maintenance Screen. Tab down to the job you want to hold, type an 'H' beside it, and hit the Enter key.

----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS ---------------- F-JOBNAME--CA7# GSAJPF24 2459 JOB: GSAJP* GSAJPDH1 2449 SEQ: ENTRY

GSAJPWH5 2450 QUEUE: REQ GSAJPWH3 2451 LIST: ALL GSAJPWH4 2454 GSAJPPD2 2384 FUNCTIONS: GSAJPBDH 2386 C=CANCEL

Page 5: CA7 Basics

GSAJPBH5 2431 F=RESTART

GSAJPWH1 2430 H=HOLD H GSAJPWH2 2433 J=JCLOVRD GSAJPF37 2480 P=RSVP Q=REQUEUE R=RELEASE S=SUBTM OFF U=UPDATE V=VERIFY X=RQMT POST E=EDIT QJCL PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 98.028 / 16:10:38 MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

POST JOB REQUIREMENTS:Type the XQ top line command to get to the CA-7 Queue Maintenance Screen. Tab down to the job you want to view requirements on. Type an 'X' beside it and hit the Enter key.

----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS ---------------- F-JOBNAME--CA7# GSAJPF24 2459 JOB: GSAJP* GSAJPDH1 2449 SEQ: ENTRY

GSAJPWH5 2450 QUEUE: REQ GSAJPWH3 2451 LIST: ALL GSAJPWH4 2454 GSAJPPD2 2384 FUNCTIONS: GSAJPBDH 2386 C=CANCEL GSAJPBH5 2431 F=RESTART GSAJPWH1 2430 H=HOLD X GSAJPWH2 2502 J=JCLOVRD GSAJPF37 2480 P=RSVP Q=REQUEUE R=RELEASE S=SUBTM OFF U=UPDATE V=VERIFY X=RQMT POST E=EDIT QJCL PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 98.028 / 16:10:38 MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE You will see the job requirements on the following screen. To post a requirement, type an 'X' beside the job name and hit enter.

-------------- CA-7 QUEUE MAINTENANCE - CPU JOB PREDECESSORS ---------JOB: GSAJPWH2 CA-7#: 2502 MCNT: 001 F-TYP-NUMBER-E-DESCRIPTION

Page 6: CA7 Basics

X SUB WAITING FOR SUBMIT TIME (16:45)

PULL JCL FROM ALTERNATE LIBRARY:When a job comes into the request queue, CA-7 will first search the alternate library for the JCL. If the member name is found in the alternate library, the JCL will be pulled from there. If the member is not in the alternate library, then CA-7 will search the champ JCL library. JCL Library JCL IDPGSAJ.SSBCH.JCLPDS 013PGSAJ.SSBLB.DYNJCL 104 Alternate Library for 013The alternate library will be used for JCL overrides (e.g. coding the JCL to pull a source member from FIXLIB instead of PRODLIB.) It will also be used for any JCL that gets written out from an ALC module (Draw, Catalog).We have EID write access to the alternate library.

RELEASE A HOLD REQUIREMENT:To release a job that has been put on hold, enter the 'XQ' topline command to go to the queue maintenance screen. Type an 'R' beside the job you want to release, and hit enter.(Note: Posting the hold requirement accomplishes the same thing as using the Release.)

----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS ---------------- F-JOBNAME--CA7# GSAJPWH3 2877 JOB: GSAJP* GSAJPWH5 2843 SEQ: ENTRY GSAJPWH1 2833 QUEUE: REQ GSAJPWH2 2873 LIST: ALL GSAJPWH4 2874 GSAJPDH1 2876 FUNCTIONS: R GSAJPWDE 2773 C=CANCEL F=RESTART H=HOLD J=JCLOVRD P=RSVP Q=REQUEUE R=RELEASE S=SUBTM OFF U=UPDATE V=VERIFY X=RQMT POST E=EDIT QJCL PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 98.028 / 20:29:50 MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

REQUEUE A JOB:The easiest way to requeue a job is with the requeue command:REQUEUE,JOB= jobnumber or jobnameYou can also accomplish this through the queue maintenance screen. Type the XQ top line command to get to the CA-7 Queue Maintenance Screen. Tab down to the

Page 7: CA7 Basics

job you want to requeue, type a 'Q' beside it, and hit the Enter key.Note: If the job is in another queue, you can use the XQ,Q=RDY command to get to the ready queue, or use the XQ,Q=ACT command to get to the active queue.

----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS ----------------- F-JOBNAME--CA7# GSAJPF24 2459 JOB: GSAJP* GSAJPDH1 2449 SEQ: ENTRY GSAJPWH5 2450 QUEUE: REQ GSAJPWH3 2451 LIST: ALL GSAJPWH4 2454 GSAJPPD2 2384 FUNCTIONS: GSAJPBDH 2386 C=CANCEL GSAJPBH5 2431 F=RESTART GSAJPWH1 2430 H=HOLD Q GSAJPWH2 2433 J=JCLOVRD GSAJPF37 2480 P=RSVP Q=REQUEUE R=RELEASE S=SUBTM OFF U=UPDATE V=VERIFY X=RQMT POST E=EDIT QJCL PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 98.028 / 16:10:38 MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

RESTART A JOB:Type the XQ top line command to get to the CA-7 Queue Maintenance Screen. Tab down to the job you want to restart, type an 'F' beside it, and hit the Enter key.

----------------- CA-7 QUEUE MAINTENANCE - CPU JOBS STATUS ----------------- F-JOBNAME--CA7# GSAJPF24 2459 JOB: GSAJP* GSAJPDH1 2449 SEQ: ENTRY GSAJPWH5 2450 QUEUE: REQ GSAJPWH3 2451 LIST: ALL GSAJPWH4 2454 GSAJPPD2 2384 FUNCTIONS: GSAJPBDH 2386 C=CANCEL GSAJPBH5 2431 F=RESTART GSAJPWH1 2430 H=HOLD F GSAJPWH2 2433 J=JCLOVRD GSAJPF37 2480 P=RSVP Q=REQUEUE R=RELEASE S=SUBTM OFF U=UPDATE V=VERIFY X=RQMT POST

Page 8: CA7 Basics

E=EDIT QJCL PROGRAM: QM20 MSG-INDX: 00 -- QM.1-X -- 98.028 / 16:10:38 MESSAGE: ENTER FUNCTION IN 'F' FIELD OR ENTER A COMMAND ON THE TOP LINE

(Note: If the job is not in the ready queue, you will have to requeue the job before it can be restarted.)

The next screen displayed will be the "CPU JOB IN RESTART STATUS" screen. Enter your reason for restarting the job, type an 'X' beside RESUBMIT FOR PRODUCTION, and hit enter.

-------- CA-7 QUEUE MAINTENANCE - CPU JOB IN RESTART STATUS ---------JOB: GSAJPWH2 CODE: JCL-ERROR LAST-STEP MCNT: 001CA-7#: 2433 JES#: 20505 NODE-NAME: LOCALREASON: JOB NOT RUN DUE TO ERROR. RESUBMIT PER SE.-- X -- RESUBMIT FOR PRODUCTION-- -- FORCE COMPLETE...{The rest of this screen contains CA-11 restart options. DO NOT UNDER ANY CIRCUMSTANCES RESTART USING ANY OF THESE OPTIONS!!! Our jobs are not set up for CA-11 restart and you can screw up royally.}

VIEW JOBS IN REQUEST QUEUE:XQ -> Lists all jobs in request queue (but only the jobs you have ACF2 authority to view)XQJ -> Lists jobs in jobname sequenceXQM -> Lists jobs and a summary of job requirementsTo view the jobs in other queues add Q=queue parameterEg: XQ,Q=RDY to view the ready queueXQ,Q=ACT to view the active queue

CA-JCL check:Use the LJCK command to list JCL for a CA-7 job. JCL is fetched from the library indicated on the DB.1 panel or its alternate. LJCK keyword values for DATE, TIME, and SCHID may affect the display if scheduled overrides such as #JI and #JO are used. If the CA-Driver procedures are used, LJCK displays CA-Driver JCL modifications.

Syntax:LJCK,JOB=jobname,DATE=YYDDD,TIME=hhmm,SCHID=nnnDATE, TIME and SCHID parameters are optional.

The execution JCL for the specified job will be evaluated by CA-JCLCheck and all JCL substitutions, procedure expansions, errors, and other messages returned by CA-

Page 9: CA7 Basics

JCLCheck will be displayed inline following the relevant execution JCL statements.

CA-7 JCL overrides:

#JI OverridesIndicates the statement are to be included based on the specified scheduling criteria.

#JO OverridesIndicates the statements are to be omitted based on the specified scheduling criteria.

#JENDIndicates the end of a set of override control statements

#SCCStatements placed within the JCL to define step level condition code tests used to determine whether the job completed successfully. To use these statements, the job must be defined on the DB.1 screen with a condition code of 0 (zero) and the relational operator of #S.

Additional overrides and examples may be found in the CA-7 Database Maintenance Guide Section 10.

CA-7 Commands

/DISPLAY,ST=JCLUse this command to obtain information about the JCL libraries attached to the CA-7. The ST=JCL parameter provides the information about the JCL libraries and their associated ID number.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

/DISPLAY,PRINT=SCH

Page 10: CA7 Basics

Use this command to obtain the information about Schedule Scan (SSCAN). The PRINT=SCH provides the information about SSCAN such as INCR, SPAN, QDWELL intervals and the next run.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

CANCELCANCEL,JOB=jobname or job number,FORCE=YES,REASON=textCancels job out of CA-7 Request Queue. If job is in the Ready or Active queues, cancelling it in CA-7 would not prevent the job from running. It would only prevent CA-7 from tracking the job. If you need to cancel a job that is awaiting execution (ready queue) or executing (active queue), cancel it from SAM or call the operator and have them cancel the job.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

DEMANDHDEMANDH,JOB=jobname,SCHID=nnnUse this command to request a job to run in CA-7. This command will place a HOLD on the job which must be posted. A reason will be required. The SCHID parameter should be nnn if triggering is not to be done. If triggering is needed, then the appropriate SCHID should be supplied. Caution should be used when executing jobs from the batch cycle during the day. Doing so could cause problems during the next nightly cycle.See also RUNH

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

FJOB,FROM=,TO=FJOB,FROM=(mmddyy,hhmm),TO=(mmddyy,hhmm),SYS=GSAJKJUse this command to obtain forecasted job execution information for jobs in a specified system for a specified date and time period.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

FJOB,SPAN=FJOB,SPAN=hh,SYS=GSAJKJUse this command to obtain forecasted job execution information for jobs in a specified system for a specified future time span in hours.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

FSTRUC,JOB=FSTRUC,JOB=jobname,LIST=ALLUse this command to obtain job flow structure information for a job. The LIST=ALL parameter provides the job trigger relationships and the elapsed time of each job

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LACT,JOB=LACT,JOB=jobname or SYS=sysname

Page 11: CA7 Basics

Use this command to obtain CA-7 information on jobs in the active queue. The JOB=jobname parameter can be a specific job or can be a generic mask such as JOB=GSAJ*. The SYS=system name parameter can be either an ‘*’ indicating all systems or the value must be a specific system name.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LDSN,DSN=LDSN,DSN=dataset name or dataset number,LIST=ALLUse this command to obtain information about a dataset. The DSN parameter can be used with the dataset name or dataset number if known. The LIST=ALL parameter provides information about the dataset, the using jobs and any documentation entries.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LJCL,JOB=LJCL,JOB=jobnameUse this command to review the JCL contained in the associated JCL library.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LJOB,JOB=LJOB,JOB=jobname,LIST=ALL or LIST=TRIGUse this command to obtain miscellaneous information about a job. The LIST=ALL parameter provides information about the job requirements, triggers and characteristics or attributes.LIST=TRIG parameter provides information about the job triggers.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LQ,JOB=LQ,JOB=jobnameUse this command to obtain CA-7 information on the jobs in the ready, request and active queues

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LQ,JOB=,ST=ABNDLQ,JOB=jobname,ST=ABNDUse this command to obtain CA-7 information on the jobs in the request that are in abend status.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LQ,JOB=,ST=LATELQ,JOB=jobname,ST=LATEUse this command to obtain CA-7 information on the jobs in the request that are in late status.

Page 12: CA7 Basics

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LPROS,JOB=LPROS,JOB=jobnameUse this command to review the prose for a job.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LPRRN,JOB=LPRRN,JOB=jobname,LIST=ALLUse this command to review the last run of a job. The information is obtained from the prior-run queue. The LIST=ALL parameter is optional and provides all data relative to the queue.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LRLOG,SPAN=,SYS=LRLOG,SPAN=hh,SYS=system nameUse this command to review the run log information for jobs in a specified system for the specified span of time in hours.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

LSCHD,JOB=LIST=LSCHD,JOB=jobname,LIST=SIDnnn or LIST=BYSIDUse this command to obtain information about the schedule(s) for a job. The SCAL=SIDnnn parameter provides the schedule information for a specific schedule identifier (SCHID). (The ‘nnn’ in the SIDnnn should be the SCHID.) The LIST=BYSID parameter provides scheduling information for all SCHIDs. This is useful if a job has multiple SCHIDs. A month-by-month calendar is displayed for both parameters.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

REQUEUE,JOB=REQUEUE,JOB=jobname,Q=ACT or Q=RDYUse this command to move a member from one the ready or active queue to the request queue. The Q=queue name parameter is optional. If the Q=queue name parameter is not used, then the RDY and ACT queues are both searched. This command must be used whenever a job enters the request queue in skeleton mode (no JCL attached to job).

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

RUNH,JOB=RUNH,JOB=jobnameUse this command to execute a special run of a job so that requirements will not be posted, and jobs will not be triggered. This command places a HOLD on the job which must be posted.Note that any mutually exclusive conditions the jobs have (which are requirements) will not take effect.

Page 13: CA7 Basics

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

XQJ,JOB=XQJ,JOB=jobname,Q=REQ or Q=RDY or Q=ACTUse this command to review and/or perform actions on the request queue. The JOB=jobname parameter may be a specific jobname or generic such as JOB=GSAJKN*. The Q=queue name parameter is optional and the queue name may be REQ (request), RDY (ready) or ACT (active). The list is displayed in jobname sequence. If no members are found matching the jobname criteria, the QUEUE MAINTENANCE panel is displayed.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

XQM,JOB=XQM,JOB=jobname,Q=REQ or Q=RDY or Q=ACTUse this command to review and/or perform actions on the request queue. The JOB=jobname parameter may be a specific jobname or generic such as JOB=GSAJKN*. The Q=queue name parameter is optional and the queue name may be REQ (request), RDY (ready) or ACT (active). The list is displayed in jobname sequence and a summary of the requirements is displayed. If no members are found matching the jobname criteria, the QUEUE MAINTENANCE panel is displayed.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

Posted by B a R a T at 11:18 PM Email This BlogThis! Share to Twitter Share to Facebook Share to Google Buzz

5 comments:

Anonymous said... dude this is awesome.I am a ca7 fan too.loved ur initiative and work.keep rocking.

[email protected]

October 10, 2008 12:32 PM

vivacious said... hey buddy ur blog is great. Can you gimme details about schedule id in CA7. I am trying to find it buut not getting the right details.

March 7, 2010 11:00 PM

Page 14: CA7 Basics

Anonymous said... Anyone know how I can find out why a normaly scheduled job did not go into the jobflow? It ran correctly the previous 200 days...strange. Any command on how i can check why this happened?

June 30, 2010 8:02 AM

Anonymous said... Hey buddy great going,but it will be hepful for freshers to mainframe CA7 world if you provide some more editable commands from DB panel.and moreover how to use it and what will be the consequence if we use it..

THX.cs

July 1, 2010 3:54 AM

B a R a T said... I would request all the readers... not to comment as Anonymus...as i cannot reply you back for your comment.. even if you do so please leave your mail id... so i can get back to you.. and also can maximize the usage of this blog.

July 1, 2010 11:02 AM

Post a Comment

ADDRQ - (SPO0) Add a temporary job dependency or user requirement ADDSCH - (SPO0) Delay scheduled start and due-out times by up to 24 hours AL - (UTL0) Allocate a data set ALC - (UTL0) Allocate and catalog a data set ALLOC - (UTL0) Dynamically allocate a volume under MVS APA - (MLR0) Menu of statistical graphs AR - (AR00) Automated Recovery Facility (ARF) ARFP - (SPO0) Purge ARF elements for a job in the queues ARTS - (UTL0) Inquiry and update to CA-11 CMT and JEHF BLDG - (UTL0) Build a generation data group index CALMOD - (SDM0) Online calendar maintenance CANCEL - (SPO0) Remove jobs and scheduled workstations from the CA 7 queues

Page 15: CA7 Basics

CAT - (UTL0) Catalog a data set CONN - (UTL0) Connect high level catalog indexes CTLG - (SPO0) Maintenance facility for the CA 7 catalog DB - (SDM0) Database maintenance DCONN - (UTL0) Disconnect catalog indexes DEALLOC - (UTL0) Release volumes previously allocated by ALLOC DEMAND - (SPO0) Force immediate scheduling of a CA 7 controlled job DEMANDH - (SPO0) Force immediate scheduling of a CA 7 controlled job and place it in a hold status DIRECT - (SPO0) Change the MAIN-ID of jobs in the request or ready queues DLTX - (UTL0) Delete inactive indexes in the system catalog DMDNW - (SPO0) Force immediate scheduling of CA 7 controlled networks DMPCAT - (UTL0) Dump the first catalog block for a specified DSN DMPDSCB - (UTL0) Dump the format-1 DSCB for a specified DSN DMPDSN - (UTL0) Dump specified data set records DUMP - (SLI0) Hexadecimal dump of CA 7 database records FALL - (SFC0) Forecast all jobs and workstations FIND - (UTL0) Search DASD volumes for a particular data set FJOB - (SFC0) Forecast jobs

FLOWD - (SPO0) Delete active CPM flow elements FLOWL - (SLI0) Display information on active CPM flows FPOST - (SFC0) Forecast output workstations FPRE - (SFC0) Forecast input workstations FQALL - (SFC0) Forecast jobs and workstations, including what is in the queues FQJOB - (SFC0) Forecast jobs, including what is in the queues FQPOST - (SFC0) Forecast output workstations, including what is in the post-process queue FQPRE - (SFC0) Forecast input workstations, including what is in the pre-process queue FQRES - (SFC0) Forecast resources for jobs and workstations, including what is in the queues FQSTN - (SFC0) Forecast workstations, including what is in queues FQTAPE - (SFC0) Create tape pull list for jobs, including what is in the queues FRES - (SFC0) Forecast resources for jobs and workstations FRJOB - (SFC0) Reverse jobflow structure for jobs (database only)

Page 16: CA7 Basics

FRQJOB - (SFC0) Reverse jobflow structure for jobs (database+queues) FSTN - (SFC0) Forecast workstations FSTRUC - (SFC0) Display trigger structure of jobs FTAPE - (SFC0) Create a tape pull list for jobs FWLP - (SFC0) Generate workload planning data GRAPHD - (MLR0) Graph database data GRAPHJ - (MLR0) Graph job data GRAPHN - (MLR0) Graph network data GRAPHS - (MLR0) Graph system data HELP - (SLI0) Formatted screen for requesting tutorials HOLD - (SPO0) Hold job movement currently in the CA 7 queues IN - (SPO0) Record the start of workstation activity IO - (SPO0) Record start and completion of workstation activity JCLOVRD - (SPO0) Establish or satisfy a JCL override requirement LACT - (SLI0) List jobs in the active queue LACTR - (SLI0) List resource info for jobs in the active queue LARF - (SLI0) List ARFSET definition information

LARFQ - (SLI0) List active ARF queue information LCTLG - (SLI0) List catalog entries from the CA 7 database LDSN - (SLI0) List data set entries from the CA 7 database LDTM - (SLI0) List analysis of RQMT satisfaction lead times LGVAR - (SLI0) List global variables LIST - (SJR0) List jobs that require a restart LISTDIR - (UTL0) List a PDS directory LJCK - (SLI0) List JCL for job (& validate if JCLCHECK installed) LJCL - (SLI0) List JCL entries for specified jobs LJES - (SLI0) List jobs in ACT and/or PRN queues showing JES # LJOB - (SLI0) List job information LJOBR - (SLI0) List job resource information LLIB - (SLI0) List Librarian or Panvalet members (read only) LLOCK - (SLI0) List elements of the database in a locked status LNODE - (SLI0) List entries in the XPJOB in-storage node table LNTWK - (SLI0) List network information LOAD - (SPO0) Initiate the database load of a job LOADH - (SPO0) Initiate the database load of a job in hold status

LOC - (SLI0) List contents of catalog for specified data sets LOGIN - (SPO0) Record the start of workstation activity LOGOUT - (SPO0) Record the completion of workstation activity LPDS - (SLI0) List members of a PDS or sequential data set

Page 17: CA7 Basics

LPOST - (SLI0) List entries from the post-process queue LPRE - (SLI0) List entries from the pre-process queue LPROS - (SLI0) List a prose member LPRRN - (SLI0) List entries from the prior-run queue LQ - (SLI0) List entries from the CA 7 queues LQP - (SLI0) List priority info from REQ and RDY queues LQR - (SLI0) List resource info from REQ, RDY, and ACT queues LRDY - (SLI0) List entries from the ready queue LRDYP - (SLI0) List priority info from the ready queue LRDYR - (SLI0) List resource info from the ready queue LREQ - (SLI0) List entries from the request queue LREQP - (SLI0) List priority info from the request queue LREQR - (SLI0) List resource info from the request queue LRES - (SLI0) List resources required by a given job

LRLOG - (SLI0) List run log information LRMD - (SLI0) List reminder entries from pre-process queue LSCHD - (SLI0) List schedule information LSYS - (SLI0) List job info & data set xref for a job or system LWLB - (SLI0) List resource information MAP - (UTL0) List attributes of DASD data sets NOPRMP - (SPO0) Temporarily suspend prompting NXTCYC - (SPO0) Skip, start, or stop normally scheduled processing cycles OUT - (SPO0) Record the completion of workstation activity POST - (SPO0) Satisfy job requirements PRINT - (SRC0) Print base calendars PRMP - (SPO0) Reinstate temporarily suspended prompting PRRNDEL - (SAN0) List jobs in prior-run queue and/or delete them PRRNJCL - (SAN0) List jobs in prior-run queue that have retained JCL, and optionally delete that JCL PRSCF - (SPO0) Free a pending resource PRSQA - (SPO0) Activate a corequisite resource

PRSQD - (SPO0) Deactivate a corequisite resource PS - (PS00) Display the CA 7/Personal Scheduling panel QJCL - (SDM0) JCL queued for a job currently in the queues QM - (SQM0) Menu of queue maintenance functions RELEASE - (SPO0) Allow normal scheduling flow for work held REMIND - (SPO0) Send reminder messages to workstations RENAME - (UTL0) Rename DASD data sets

Page 18: CA7 Basics

REQUEUE - (SPO0) Move a job back to the request queue RESANL - (SAN0) Review tape drives for jobs to create/update values used by workload balancing routines RESCHNG - (SPO0) Free tape drives that are no longer needed RESOLV - (SRC0) Select schedule members for schedule resolution RESTART - (SJR0) Restart a job with or without CA-11 control RM - (RSC0) Virtual Resource Management RQMT - (SAN0) Review predecessor job dependencies to create/update forward reference nodes (pred) RQVER - (SAN0) Review and update unsatisfied internal job/DSN requirements in the request queue

RSVP - (SPO0) Acknowledge prompts for late or abended work RUN - (SPO0) Schedule a job to run without input requirement checking or completion processing RUNH - (SPO0) Schedule a job to run in HOLD status without input requirement checking or completion processing RUNNW - (SPO0) Force scheduling of a CA 7 workstation without completion processing RUSH - (SPO0) Flag work as being critical SCHDMOD - (SDM0) Resolved schedule modifications SCRATCH - (UTL0) Scratch DASD data sets SPACE - (UTL0) Display information about DASD volumes SSCAN - (SPO0) Activate schedule scan or change parameters START - (SPO0) Reactivate interrupted queue activity STOP - (SPO0) Interrupt normal queue activity SUBMIT - (SPO0) Force input requirement satisfaction and JCL submission SUBSCH - (SPO0) Expedite schedule start and due-out times by up to 24 hours SUBTM - (SPO0) Modify a job submit time requirement TIQ - (UTL0) Inquiry for CA-1 TMC (Tape Management Catalog) TIQU - (UTL0) Update for CA-1 TMC (Tape Management Catalog) TRIG - (SAN0) Review and update all trigger-related nodes (JDEP, AUTO, and TRGD) UNC - (UTL0) Uncatalog data sets UT - (UTL0) Utilities menu VERIFY - (SPO0) Establish or satisfy a job verification requirement XNODE - (SDM0) Update permanent node definitions XPJOB - (SDM0) Review or update XPJOB job definitions XPOST - (SQM0) LOGIN/LOGOUT screen for output workstations

Page 19: CA7 Basics

XPRE - (SQM0) LOGIN/LOGOUT screen for input workstations XPSWD - (SDM0) Node/Owner Password associations XQ - (SQM0) Update selection screen for jobs in native sequence XQJ - (SQM0) Update selection screen for jobs in name sequence XQM - (SQM0) Update selection screen for jobs (with RQMT summary) XQN - (SQM0) Update selection screen for jobs in CA7# sequence

XREF - (SAN0) Review data set and/or network entries for incomplete using job cross-references XRQ - (SQM0) Screen for request queue requirement posting XRST - (SQM0) Screen for job restart XSPOST - (SQM0) Short LOGIN/LOGOUT screen for output workstations XSPRE - (SQM0) Short LOGIN/LOGOUT screen for input workstations XUPD - (SQM0) Screen for updating job-type queue records XWLB - (SQM0) Make temporary changes in WLB selection parameters

*** SYSTEM COMMANDS ***

/ASSIGN - (SCM0) Modify CPU identification, job barrier limits, or logical terminal assignments /AUTO - (SCM0) Reuse a command at a specified interval /BRO - (SCM0) Broadcast a queued message to all CA 7 terminals /CHANGE - (SCM0) Modify an operator's security definition /CLOSE - (SCM0) Close a terminal, line, or line group to processing /COPY - (SCM0) Copy a page of display from one terminal to another /DISPLAY - (SCM0) Review terminal network and internal system status /DRCLASS - (SCM0) Add or remove active disaster recovery classes /DRMODE - (SCM0) Modify disaster recovery mode options /EADMIN - (SCM0) Maintain global email options /ECHO - (SCM0) Preformat a command line for a 3270-type terminal /EMAIL - (SCM0) Request an email be sent /FETCH - (SCM0) Retrieve a VTAM terminal command /GVAR - (SCM0) Add/update/delete global JCL variable definitions /JCL - (SCM0) Add/update/delete a symbolic JCL library definition

/LOG - (SCM0) Write a free-form message to the log data set /LOGOFF - (SCM0) End a terminal session

Page 20: CA7 Basics

/LOGON - (SCM0) Start a terminal session /MSG - (SCM0) Send a free-form message to another terminal /MVS - (SCM0) Issue an MVS operator command /NXTMSG - (SCM0) Display the next message queued to your terminal /OPEN - (SCM0) Open a terminal, line, or line group for processing /OPERID(S)- (SCM0) Display information about the OPERIDs defined /PA - (SCM0) Assign a character string to a PA key on a 3270-type device /PAGE - (SCM0) Move forward or backward to review multiple pages /PF - (SCM0) Assign a character string to a PF key on a 3270-type device /PROF(S) - (SCM0) Display/update CA 7 user profile(s) /PURGPG - (SCM0) Purge all pages of output messages /REFRESH - (SCM0) Refresh the UID RESOURCE/MSMR table /RELINK - (SCM0) Dynamically replace a program with a newer version /RESET - (SCM0) Reset the CA 7 job number counter to 1

/SDESK - (SCM0) Create a Unicenter Service Desk request /SHUTDOWN - (SCM0) Cause normal termination of CA 7 /START - (SCM0) Start lines and terminals /STOP - (SCM0) Stop lines and terminals /SWAP - (SCM0) Cause the log files to be switched immediately /UID - (SCM0) Update current UID security level or list the UID resource table /WLB - (SCM0) Modify workload balancing processing /WTO - (SCM0) Issue messages to the operating system console /XTASK - (SCM0) Send commands to cross platform ROUTER or TRACKER