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

Search a string within a PDS


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

Senior Member


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

PostPosted: Wed Nov 07, 2007 4:08 pm
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

Superior Member


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

PostPosted: Wed Nov 07, 2007 6:19 pm
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Nov 07, 2007 7:54 pm
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

Superior Member


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

PostPosted: Wed Nov 07, 2007 8:14 pm
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
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: 1436
Location: Bangalore,India

PostPosted: Fri Nov 09, 2007 3:19 pm
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM Goto page 1, 2  Next

 


Similar Topics
Topic Forum Replies
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 Search two or more word with FILEAID Compuware & Other Tools 15
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts file manager is doing string conversion IBM Tools 3
Search our Forums:

Back to Top