Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

FILE-AID - SEARCH/UPDATE option

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
aitha_prashanth

New User


Joined: 17 Mar 2005
Posts: 8
Location: chennai

PostPosted: Mon Jan 10, 2011 1:09 pm    Post subject: FILE-AID - SEARCH/UPDATE option
Reply with quote

I have 20 members in a PDS.
In each member at specific location (Example - at line number 12), i would like to search for an string (example - search for C'A') and replace with an other character (example - replace with C'B').
Can we achive this by using This 3.6 option in File-aid (in File-aid --> utilities-->SEARCH/UPDATE opton)? if so who?
OR is there any other way? Thank you.
Back to top
View user's profile Send private message

Dsingh29

Active User


Joined: 16 Dec 2008
Posts: 132
Location: IBM

PostPosted: Mon Jan 10, 2011 1:21 pm    Post subject:
Reply with quote

hi,

I think you should have searched the forum before posting....
please see the link...

http://ibmmainframes.com/about33698.html
Back to top
View user's profile Send private message
aitha_prashanth

New User


Joined: 17 Mar 2005
Posts: 8
Location: chennai

PostPosted: Mon Jan 10, 2011 1:54 pm    Post subject: Reply to: FILE-AID - SEARCH/UPDATE option
Reply with quote

6 SEARCH/UPDATE - FIND and CHANGE across PDS members. Search for and/or update data globally in any type of dataset.

I could see this option but, how or what condition i have to mention here..Please help me out.

AND
Cmd /OR Position Length RO Search Value / Update Value
--- --- -------- ------ -- ----------------------------------------------------
___ _____ _____ __ ____________________________________________________
___ OR _____ _____ __ ____________________________________________________
___ OR _____ _____ __ ____________________________________________________
Back to top
View user's profile Send private message
aitha_prashanth

New User


Joined: 17 Mar 2005
Posts: 8
Location: chennai

PostPosted: Mon Jan 10, 2011 2:18 pm    Post subject: Reply to: FILE-AID - SEARCH/UPDATE option
Reply with quote

AND
Cmd /OR Position Length RO Search Value / Update Value
--- --- -------- ------ -- ---------------------------------------------
___ 13 1 R C'B'

I tried with the above - but it is updating all the rows with 'B' -
We are supposed to provide some conidition here like.. where it matches EQ C'A' then replce C'B'.. pls help me.
Back to top
View user's profile Send private message
aitha_prashanth

New User


Joined: 17 Mar 2005
Posts: 8
Location: chennai

PostPosted: Mon Jan 10, 2011 2:24 pm    Post subject: Reply to: FILE-AID - SEARCH/UPDATE option
Reply with quote

I got it.. here is the code
AND
Cmd /OR Position Length RO Search Value / Update Value
--- --- -------- ------ -- -------------------------------------------
___ 13 1 CO C'A'
___ +0 EA C'B'
Back to top
View user's profile Send private message
Anuj Dhawan

Senior Member


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

PostPosted: Mon Jan 10, 2011 7:05 pm    Post subject:
Reply with quote

If the string(?) you want to change is unique and the position really does not matter for you then you don't really need to go that far, just give "C old new" and you are done.

PS: That's a very laymen way of telling it but I could not get a other way out...
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us