View previous topic :: View next topic
|
Author |
Message |
Lijo George
New User
Joined: 16 Jul 2008 Posts: 2 Location: Bangalore
|
|
|
|
Usually some job will be scheduled in CA7, to give a list of activities like Requirement posting, Demanding, Canccel, Force complete ,.... which was performed in the last one week...
Eg: CA7RPTSA (this job is set in one of the system to generate such report)
In the JCL of this job , its mentioned that with the help of REXX this has been set up ...
/*REXX*/
/********************************************************************/
/* THIS PURPOSE OF THIS EXEC IS TO SCAN A DATASET CONTAINING A CA7 */
/* TRANSACTION DETAIL REPORT LOOKING FOR JOBS THAT WERE ADDED TO */
/* THE REQUEST QUEUE BY THE DEMAND OR RUN COMMAND. A LIST OF THE */
/* JOBS ALONG WITH THE DATE, TIME, TERMINAL AND USER ID OF THE */
/* PERSON ISSUING THE COMMAND ARE PRINTED TO SYSOUT.
Sample REXX:
-----------------
/* TO EXECUTE: %CA7DMDRP */
/********************************************************************/
/********************************************************************/
/* GET INPUT FILE NAMES AND SET VARIABLES. */
/********************************************************************/
DSINFO = LISTDSI(INDD FILE) /* GET INPUT DATASET INFORMATION */
DSN = SYSDSNAME /* SAVE DATASET NAME */
FNDSTRG = ' DEMAND,' /* SET SEARCH STRING */
FNDSTRG1 = ' DEMANDH,' /* SET SEARCH STRING */
FNDSTRG2 = ' RUN,' /* SET SEARCH STRING */
FNDSTRG3 = ' RUNH,' /* SET SEARCH STRING */
A = 0 /* INITIALIZE COUNTER */
B = 0 /* INITIALIZE COUNTER */
________________
I think this will help you in sme manner ... |
|
Back to top |
|
|
VENUKOTHA
New User
Joined: 09 Aug 2008 Posts: 1 Location: Seattle USA
|
|
|
|
Hello !
To know who cacelled a job or forced it or what ever the case may be..!
In CA scheduler ther is a option of audit reports which takes the input arguments like job name date and the command's and display the activities done. so in the report search for the jobname or the 'CANCEL' it will show you all the details of what has happend to the job who did that and time when it was done and many more details.
This option is avaialble in CA-9 version directly in the mainmenu but not sure where it is in CA-7 but quite confident that it shold be ther as the audit reports database that is being used in both versions is the same one. |
|
Back to top |
|
|
sridharsudana
New User
Joined: 15 Dec 2008 Posts: 6 Location: Pune
|
|
|
|
Hi,
No top line command can give the user id who cancelled the job in CA7. using SASSHIS8 program in CA7 utilities , we can get the entire report of CA7. it will give the User id who cancelled and who demand that particular job.
Thanks,
Sri |
|
Back to top |
|
|
|