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

Search more than one string at one go by jcl or rexx in PDS


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

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Mon Jan 25, 2010 5:39 pm
Reply with quote

Hi,

Can we search more than one string at one go by jcl or rexx in a PDS
? I think it is not possible by option 3.14, Please help.
Back to top
View user's profile Send private message
Mathiv Anan

Active User


Joined: 23 Jul 2008
Posts: 106
Location: USA

PostPosted: Mon Jan 25, 2010 5:47 pm
Reply with quote

Did you see the 'Specify additional search strings' in the bottom of the panel?
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Mon Jan 25, 2010 5:56 pm
Reply with quote

Quote:
I think it is not possible by option 3.14, Please help.
You're wrong -- you can specify many search strings in option 3.14.
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Mon Jan 25, 2010 6:42 pm
Reply with quote

Just now got it, we can specify 11 string at maximum,

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

Global Moderator


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

PostPosted: Mon Jan 25, 2010 6:56 pm
Reply with quote

Quote:
we can specify 11 string at maximum

not really sure that your comment is accurate.
I have invoked Batch search with more that 11 search arguments.
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Mon Jan 25, 2010 7:07 pm
Reply with quote

DbZ,

I dont know how to give more than 11 strings, Please mention if you can recall.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Jan 25, 2010 7:11 pm
Reply with quote

quite often the limits are not in the utility itself, but rather in the interface used to build the jcl..
it is impractical for the interactive preparation dialog to make provision for the maximum number of search statements

just save a copy of the jcl and hand edit it adding as many searches as You need
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Mon Jan 25, 2010 7:14 pm
Reply with quote

you are probably looking at the panel entry.
after you have entered your parms, you are given an option of EDITing the JCL before submission.

DO THAT - use the option to EDIT the JCL.

add additional search strings.

then submit the JOB.

you can also save this in your personal PDS containing JCL,
then in the future, use this saved member in your personal JCL PDS,
modify the the appropriate parms/statements -
pds/files to be searched
search strings
output dd - I always change this to a dasd file instead of using sysout.
Back to top
View user's profile Send private message
Susanta

Active User


Joined: 17 Nov 2009
Posts: 126
Location: India

PostPosted: Wed Jan 27, 2010 11:38 am
Reply with quote

Thanks... DIck and Enricho

I have edited the JCL and kept all search arguments in that, also gave a DASD file instead of sysout option. It worked successfully and saved a lot of time.
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 Compile Several JCL JOB Through one r... CLIST & REXX 4
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 Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
Search our Forums:

Back to Top