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

How to find out the string in multiple PDS


IBM Mainframe Forums -> TSO/ISPF
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
subhakaran

New User


Joined: 09 May 2005
Posts: 3

PostPosted: Mon May 09, 2005 10:51 am
Reply with quote

hi

how to find out string in multiple pds

from karan
Back to top
View user's profile Send private message
abrar

New User


Joined: 23 Feb 2005
Posts: 8
Location: India

PostPosted: Mon May 09, 2005 12:38 pm
Reply with quote

You can try 3;14 or 3;15 option from primary options menu.
Back to top
View user's profile Send private message
subhakaran

New User


Joined: 09 May 2005
Posts: 3

PostPosted: Tue May 10, 2005 4:23 pm
Reply with quote

[quote="abrar"]You can try 3;14 or 3;15 option from primary options menu.[/quote

hi

i want to now how to give multple pds in 3.14 option.

from karan
Back to top
View user's profile Send private message
maheshhh

New User


Joined: 10 May 2005
Posts: 6
Location: Hyderabad

PostPosted: Tue May 10, 2005 4:39 pm
Reply with quote

Hi! Karan.


I think there is no way that we can give multiple PDSs in 3.14 or 3.15..

Pls correct me if I am wrong.


mahesh...
Back to top
View user's profile Send private message
abrar

New User


Joined: 23 Feb 2005
Posts: 8
Location: India

PostPosted: Tue May 10, 2005 4:57 pm
Reply with quote

Hi karan

Well! in that case you can use the background option (in execution mode).
This will create a search job. You can give multiple PDSs(concatenated) in this job and run it as a normal job.
Hope this will work for you.

-abrar
Back to top
View user's profile Send private message
Girishm

New User


Joined: 09 Mar 2005
Posts: 35
Location: Mysore

PostPosted: Thu Jun 16, 2005 4:10 pm
Reply with quote

Hi,

By submiting the following jcl, you can search the string in multiple pds.

_________
GM
Back to top
View user's profile Send private message
sumi_1981

New User


Joined: 16 Jun 2005
Posts: 2
Location: Mumbai

PostPosted: Thu Jun 16, 2005 5:43 pm
Reply with quote

Hi,
In this I have one issue, you can search for a string in multiple PDS only if you have the high level qualifier as the same.
When you go into 3.14 and give the search string and across where you give the second level qualifier you can see two blanks there you can enter the second levels but others need to remain the same.
At the same time I don't think its possible to search for a string in totally different multiple PDS.

I hope the concept is clear.

Regards
icon_lol.gif
Back to top
View user's profile Send private message
Revankumar

New User


Joined: 15 Jun 2005
Posts: 5

PostPosted: Thu Jun 16, 2005 8:17 pm
Reply with quote

Hi Karan,

Here is the JCL for finding the string in a multiple PDS's in one shot using the dataset cancatination.
---------------------------------------------------------------------------
//LLLLLLLM JOB (YYYYYYY),'SCAN',CLASS=V,MSGCLASS=W,
// NOTIFY=LLLLLLL
//SEARCH EXEC PGM=ISRSUPC,
// PARM=(SRCHCMP,
// 'ANYC MIXED')
//NEWDD DD DSN=XXXXXXX.A.B,DISP=SHR
// DD DSN=XXXXXXX.D.E.DISP=SHR
// DD DSN=ZZZZZZZ.X.Y,DISP=SHR
//OUTDD DD SYSOUT=(A)
//SYSIN DD *
SRCHFOR 'KARAN'
/*
----------------------------------------------------------------------------
Put you mainframe ID in place of LLLLLLL.
I hope this is much clear to you...let me know if you are not.
Back to top
View user's profile Send private message
juneja_saveen

New User


Joined: 17 Jun 2005
Posts: 6

PostPosted: Sun Jun 26, 2005 2:38 pm
Reply with quote

Can you please give the path to study more about ISRSUPC.

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

Active User


Joined: 10 Mar 2005
Posts: 432
Location: Milan, Italy

PostPosted: Mon Jun 27, 2005 1:37 pm
Reply with quote

Try to see this link:
http://ibmmainframes.com/viewtopic.php?t=3655&sid=8867b8fe01978c8741ea4e2a7644adf7
Back to top
View user's profile Send private message
sudheer648

New User


Joined: 23 May 2005
Posts: 97
Location: Chennai

PostPosted: Mon Jun 27, 2005 4:02 pm
Reply with quote

Hi,

Can make use of Super C Utility.
Back to top
View user's profile Send private message
ibmmainframe1

New User


Joined: 26 Jul 2005
Posts: 64
Location: India

PostPosted: Wed Dec 02, 2009 6:35 pm
Reply with quote

Hi Girishm,

Your Fileaid JCL is awesome. it retrieves much faster than the 3.14.

Thanks.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10872
Location: italy

PostPosted: Wed Dec 02, 2009 6:44 pm
Reply with quote

it's <christmas> gentlemen... not <easter>
so <resurrection> time is still 4 month ahead

almost made the guinness
Code:
...          4 year(s) - (months difference / 12 )
...          4 year(s) - (difference )
...         54 months
...       1619 days
...      38858 hours
...    2331513 minutes
...  139890780 seconds


or the job took an awful amount of time to run icon_biggrin.gif
Back to top
View user's profile Send private message
ibmmainframe1

New User


Joined: 26 Jul 2005
Posts: 64
Location: India

PostPosted: Wed Dec 02, 2009 10:23 pm
Reply with quote

Thanks for reminding enrico.

you never know when your post will be helpful to others as well.

I just wanted to show my appreciation neven minding when it got posted.
Back to top
View user's profile Send private message
Terry Heinze

JCL Moderator


Joined: 14 Jul 2008
Posts: 1249
Location: Richfield, MN, USA

PostPosted: Thu Dec 03, 2009 6:32 am
Reply with quote

Quote:
...or the job took an awful amount of time to run
The job was put into "delay" mode for 4 years to allow the initiator to cool down. It was getting overheated and was starting to smoke.
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: Thu Dec 03, 2009 6:51 am
Reply with quote

Thanks, Terry -- now THAT'S an image I'll have in mind when I go into the console room tomorrow. How do I explain sudden bursts of laughter to the operator? (Never mind, he's weird enough he probably won't even notice!)
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 -> TSO/ISPF

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 2
No new posts PARSE Syntax for not fix length word ... JCL & VSAM 7
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
Search our Forums:

Back to Top