IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Search String in SDSF.


IBM Mainframe Forums -> IBM Tools
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
avina

New User


Joined: 04 Dec 2007
Posts: 16
Location: Kolkata

PostPosted: Thu Jul 09, 2009 4:54 pm
Reply with quote

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
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Thu Jul 09, 2009 5:19 pm
Reply with quote

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
View user's profile Send private message
avina

New User


Joined: 04 Dec 2007
Posts: 16
Location: Kolkata

PostPosted: Thu Jul 09, 2009 5:25 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Thu Jul 09, 2009 5:27 pm
Reply with quote

At the moment, how do you determine which user has submitted which job ?
Back to top
View user's profile Send private message
avina

New User


Joined: 04 Dec 2007
Posts: 16
Location: Kolkata

PostPosted: Thu Jul 09, 2009 5:30 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Thu Jul 09, 2009 5:37 pm
Reply with quote

Does the MAX-RC field show the abend / return code that you are looking for
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu Jul 09, 2009 5:39 pm
Reply with quote

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
View user's profile Send private message
avina

New User


Joined: 04 Dec 2007
Posts: 16
Location: Kolkata

PostPosted: Thu Jul 09, 2009 5:42 pm
Reply with quote

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
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8796
Location: Welsh Wales

PostPosted: Thu Jul 09, 2009 5:55 pm
Reply with quote

Does the user id form any part of the dataset name that needs to be sent to other system ?
Back to top
View user's profile Send private message
avina

New User


Joined: 04 Dec 2007
Posts: 16
Location: Kolkata

PostPosted: Thu Jul 09, 2009 5:59 pm
Reply with quote

No the file name is generic goes with a date / time stamp.
Back to top
View user's profile Send private message
avina

New User


Joined: 04 Dec 2007
Posts: 16
Location: Kolkata

PostPosted: Thu Jul 09, 2009 6:02 pm
Reply with quote

For your information the file name is like U80P.TBSPS.Date.Tim
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 400
Location: Mumbai

PostPosted: Thu Jul 09, 2009 6:03 pm
Reply with quote

If you are running z/OS 1.9 or later, look at the SDSF manuals for the Rexx API interface. The PDF file of the same book is easier to read because you can flip through the examples quickly.
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Thu Jul 09, 2009 7:01 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> IBM Tools

 


Similar Topics
Topic Forum Replies
No new posts Copy only TEXT or String from a record SYNCSORT 4
No new posts ICETOOL to SUM String DFSORT/ICETOOL 1
No new posts Reroute print output via REXX/SDSF TSO/ISPF 6
No new posts Mark Previous & next lines when a... DFSORT/ICETOOL 9
No new posts How can I add/create a new INIT(initi... TSO/ISPF 2
Search our Forums:

Back to Top