View previous topic :: View next topic
|
Author |
Message |
avina
New User
Joined: 04 Dec 2007 Posts: 16 Location: Kolkata
|
|
|
|
Hi Friends,
I have a small problem. I have a series of user-triggered jobs in my SDSF. Each job has the user id who trigerred the job. Each day approx. 100 - 200 jobs are submitted in the SDSF.
My question is incase I've a problem for a particular job for a specified user, how can I search in the spool with the user id to arrive at that job. Usually all the jobs go with the same name. Currently, whenever such a situation happens, I have to go to each and every submitted job and do a show job (SJ) to see the user id, which is something very painful for 100 - 200 jobs a day.
Regards,
Avik. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Check the OWNER command in SDSF.
If it does not help, and if you can alter the original JCL that is submitted,
then place the userid in the NOTIFY or the Programmer's-name fields.
Then use FILTER in SDSF to display only relevant jobs.
If nothing helps, it's time to think about a "rexx tool"... |
|
Back to top |
|
|
avina
New User
Joined: 04 Dec 2007 Posts: 16 Location: Kolkata
|
|
|
|
Thanks for your reply. But this doesn't help. I want a search utility. These jobs are submitted by the user from the online CICS screens. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
At the moment, how do you determine which user has submitted which job ? |
|
Back to top |
|
|
avina
New User
Joined: 04 Dec 2007 Posts: 16 Location: Kolkata
|
|
|
|
Now I do a show job in each and every job to see the user id.
I know that you are to help me. Thanks for being there. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Does the MAX-RC field show the abend / return code that you are looking for |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
Quote: |
I've a problem for a particular job for a specified user, |
how do you know that there is a problem? |
|
Back to top |
|
|
avina
New User
Joined: 04 Dec 2007 Posts: 16 Location: Kolkata
|
|
|
|
In the MAX-RC field the return code is 0. The problem is that this job creates a file which is sent to another system. Whenever the file is not reaching to the other system i have to look into the job for the specific user id.
Please see one sample job as below
//U80A627A JOB 80,FZ,CLASS=W,MSGCLASS=6,
// MSGLEVEL=(1,1)
//* ZEILE WEGEN ABLOESUNG BETA92 EINGEFUEGT (PHT00058/H77) START*
//OUT1 OUTPUT JESDS=ALL,GROUPID=JOINT,DEFAULT=YES,FORMS=JOBL *
//* END *
/* ROUTE PRINT LOCAL
//S0020 EXEC U80A6270,OBJ='FRMHL91',
// USR='UH03969 ',
// AUFTR='0723915',
// DRU=' ',
// KEY='0350166000LMAA001 ',
// ZUS='31712J 1$CF&E/R&D CONTINENTAL ',
// UMG='YES ',
// LAND='GE',
// DSN1='&&TEMP99'
//*** BEREITSTELLEN POST SCRIPT DATASET AUF DISK08
//S0100 EXEC PGM=P98L0318,PARM='U80P.TBSPS,DISK08'
//STEPLIB DD DSN=X.LOADLIB,DISP=SHR
//EIN DD DSN=&&TEMP99,DISP=(OLD,DELETE)
//SYSUDUMP DD SYSOUT=*
User id is UH03969. I want to search the same. Please help. |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8796 Location: Welsh Wales
|
|
|
|
Does the user id form any part of the dataset name that needs to be sent to other system ? |
|
Back to top |
|
|
avina
New User
Joined: 04 Dec 2007 Posts: 16 Location: Kolkata
|
|
|
|
No the file name is generic goes with a date / time stamp. |
|
Back to top |
|
|
avina
New User
Joined: 04 Dec 2007 Posts: 16 Location: Kolkata
|
|
|
|
For your information the file name is like U80P.TBSPS.Date.Tim |
|
Back to top |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
Quote: |
These jobs are submitted by the user from the online CICS screens |
Quote: |
//U80A627A JOB 80,FZ,CLASS=W,MSGCLASS=6,
// MSGLEVEL=(1,1) |
Can you ask the CICS programmer that wrote the application to replace, in the JOB card, the useless "FZ" word by the userid ???
Sorry to insist, but that would be really the easiest way to help you.
Otherwise, we're back to the "rexx tool"... (here is another link: Implementing REXX Support in SDSF)
BTW, assuming a user can submit more than one job, how do you know which one is the one with a problem, if they all finish with RC=0? |
|
Back to top |
|
|
|