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
 
Search a string within a PDS
Goto page Previous  1, 2
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Nov 07, 2007 4:08 pm    Post subject: Reply to: Search a string within a PDS
Reply with quote

Binaya,

Quote:
in command line type:--> SRCHFOR "STRING NAME"


isn't this command site-specific? the member/PDS name is not specified in the command. is that fine?
Back to top
View user's profile Send private message

Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Nov 07, 2007 6:19 pm    Post subject:
Reply with quote

Quote:
in command line type:--> SRCHFOR "STRING NAME"

This command is working for me as well..but it just says that in particular member of PDS "string" is present. But how many time in that member, which line is not displayed. If members are enough, then I think not a good information is visible after execution of this command.
Back to top
View user's profile Send private message
enrico-sorichetti

Senior Member


Joined: 14 Mar 2007
Posts: 10599
Location: italy

PostPosted: Wed Nov 07, 2007 7:54 pm    Post subject: Reply to: Search a string within a PDS
Reply with quote

Quote:
n command line type:--> SRCHFOR "STRING NAME"


the command is not site specific ...
is ISPF release dependent specific ....

when posting command syntax and results it would be useful
( to avoid useless searches and network traffic )
to post a little bit of info on the environment
at least the ISPF/zOS level
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


Joined: 22 Apr 2006
Posts: 6258
Location: Mumbai, India

PostPosted: Wed Nov 07, 2007 8:14 pm    Post subject: Re: Reply to: Search a string within a PDS
Reply with quote

enrico-sorichetti wrote:
the command is not site specific ...
is ISPF release dependent specific ....


Thanks for the information e-s. After your post, I tried searching about this & got this link on the same topic.
Back to top
View user's profile Send private message
Deepthy Jose P

New User


Joined: 07 Mar 2007
Posts: 40
Location: India

PostPosted: Fri Nov 09, 2007 2:30 pm    Post subject:
Reply with quote

notonly4u wrote:
Dear Vnit,

You can use file-aid option 3.6 to do the search.

It is much simple and faster too....

Hope iam right. If anything wrong please make a note.

Thanks,



I need the Jcl for the File-aid option 3.6 to do the search -update.
Back to top
View user's profile Send private message
murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Fri Nov 09, 2007 3:19 pm    Post subject:
Reply with quote

Deepthy,

One of the options in FA 3.6 screen.

Code:
 Process online or batch       ===> O        (O = Online; B = Batch)     


Change the column value to get the sample JCL.
Back to top
View user's profile Send private message
Arun Raj

Moderator


Joined: 17 Oct 2006
Posts: 2481
Location: @my desk

PostPosted: Fri Nov 09, 2007 3:56 pm    Post subject:
Reply with quote

Here is the JCL for updating strings across members.

Code:
//STEP0001 EXEC PGM=FILEAID               
//SYSPRINT DD SYSOUT=*                     
//DD01     DD DSN=YOUR.PDS.NAME,DISP=SHR
//DD01O    DD DSN=YOUR.PDS.NAME,DISP=SHR
//SYSIN    DD *                           
*                                         
$$DD01 COPY OUT=0,EDITALL=(1,0,C'old string',C'new string')


Thanks,
Arun
Back to top
View user's profile Send private message
Deepthy Jose P

New User


Joined: 07 Mar 2007
Posts: 40
Location: India

PostPosted: Fri Nov 16, 2007 2:17 pm    Post subject:
Reply with quote

Hi Arun


This JCL solved my Problem. Special Thanks to you
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 -> JCL & VSAM All times are GMT + 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Search string from concatenated input... srini24 JCL & VSAM 8 Sat Mar 30, 2019 9:51 pm
No new posts Search an array inside an array amitc23 COBOL Programming 5 Thu Jan 24, 2019 4:19 pm
No new posts UNSTRING a big string Apurva Ghogale COBOL Programming 16 Thu Sep 20, 2018 12:12 pm
No new posts USS: Find and replace string within a... vasanthz All Other Mainframe Topics 5 Thu Aug 02, 2018 4:01 am
No new posts IBM website search issues starting 06... harisukumaran General Talk & Fun Stuff 3 Thu Jun 14, 2018 7:48 pm

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