Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
How to find out the string in multiple PDS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
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    Post subject: How to find out the string in multiple PDS
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    Post subject: Re: find out string
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    Post subject: Re: find out string
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    Post subject:
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    Post subject: Re: How to find out the string in multiple PDS
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    Post subject: Re: How to find out the string in multiple PDS
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    Post subject: Re: How to find out the string in multiple PDS
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    Post subject: Re: How to find out the string in multiple PDS
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    Post subject: Re: How to find out the string in multiple PDS
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    Post subject:
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    Post subject: Re: How to find out the string in multiple PDS
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed Dec 02, 2009 6:44 pm    Post subject: Reply to: How to find out the string in multiple PDS
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    Post subject:
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    Post subject:
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: 8165
Location: East Dubuque, Illinois, USA

PostPosted: Thu Dec 03, 2009 6:51 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts PLI - printing from multiple programs Pedro PL/I & Assembler 8 Fri Sep 08, 2017 6:36 am
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us