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

How to find a string from a number of SDSF Spool jobs?


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sivassb

New User


Joined: 06 Jan 2006
Posts: 14

PostPosted: Sun Jun 11, 2006 4:28 pm
Reply with quote

Hi,

There are 500 similar name jobs in the Spool(SDSF). One of the job has a string called "C=001". My question is with out browsing through all jobs how can I find which job/jobid has this string.

Can anybody help me out on this!!

Thanks,
Siva
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Sun Jun 11, 2006 5:27 pm
Reply with quote

If that string appears somewhere on the SDSF panel, it can be easily found by using the FILTER command:
Code:
FILTER JOBNAME EQ *C=001*
FILTER PROGRAMMER-NAME = *C=001*

Just replace JOBNAME or PROGRAMMER-NAME by the column where the data is.
To remove the filter, use:
Code:
FILTER OFF
Back to top
View user's profile Send private message
samueljohn

New User


Joined: 12 Jun 2006
Posts: 3
Location: Bangalore

PostPosted: Mon Jun 12, 2006 12:49 pm
Reply with quote

will this run
Back to top
View user's profile Send private message
sivassb

New User


Joined: 06 Jan 2006
Posts: 14

PostPosted: Thu Jun 15, 2006 4:28 pm
Reply with quote

Thanks for your reply,

I tried this didnt work for me can you pls explain little more detail.

Thanks
Back to top
View user's profile Send private message
Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1353
Location: Israel

PostPosted: Thu Jun 15, 2006 6:00 pm
Reply with quote

Hi Siva,

Can you tell where this string is? is it in the JCL, somewhere in the JOB card, or is it just in an output listing (printed by DISPLAY, for example)?

Quote:
One of the jobs has a string called "C=001".
Back to top
View user's profile Send private message
sivassb

New User


Joined: 06 Jan 2006
Posts: 14

PostPosted: Thu Jun 15, 2006 9:39 pm
Reply with quote

Hi Marso,

The string is not in the JCL/jobcard, it is in the output listing as you mentioned
ex: as you said the display statement printed from the program.
(one of the sysout/reports printed in the spool may contain this string).

hope this makes clear...if not I can send you the spool job output with an example

Thanks,
Siva
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2358
Location: Israel

PostPosted: Wed Jun 28, 2006 1:17 pm
Reply with quote

You can use REXX to issue SDSF commands - Write each output dataset to a temporary dataset and look for the string in this temporary dataset.

O.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Finding and researching jobs All Other Mainframe Topics 0
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts Execute secondary panel of sdsf with ... CLIST & REXX 1
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
Search our Forums:

Back to Top