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

DB2 Editproc.


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Manshadi

New User


Joined: 31 Aug 2005
Posts: 82

PostPosted: Thu Apr 08, 2010 5:34 pm
Reply with quote

Hi,
Is there any way to use Editproc for changing data during query from table?

Regards
Manshadi
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


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

PostPosted: Thu Apr 08, 2010 5:42 pm
Reply with quote

What do the manuals say, try the very first link here.
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Thu Apr 08, 2010 9:19 pm
Reply with quote

Manshadi,

What is that you are really looking for ?

Editproc's are used for Compression/De-compression or Encryption/Decryption stuff like that....

Sushanth
Back to top
View user's profile Send private message
Manshadi

New User


Joined: 31 Aug 2005
Posts: 82

PostPosted: Sat Apr 10, 2010 11:38 am
Reply with quote

Sushanth,

I am looking for changing some characters when users use query on table.
For example in our table we have & in our data. I want to change & to - when user use select to fetch the data.

Regards
Manshadi
Back to top
View user's profile Send private message
sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1020
Location: India

PostPosted: Sun Apr 11, 2010 3:20 am
Reply with quote

Manshadi,

Here You Go!!!!

In DB2 V9 manual, see Chapter Functions(scalar functions), the function translate() wants to say hi! especially to you.

Sushanth
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 -> DB2

 


Search our Forums:

Back to Top