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
 

 

DB2 Editproc.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
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    Post subject: DB2 Editproc.
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

Senior Member


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

PostPosted: Thu Apr 08, 2010 5:42 pm    Post subject:
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: 1013
Location: India

PostPosted: Thu Apr 08, 2010 9:19 pm    Post subject:
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    Post subject:
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: 1013
Location: India

PostPosted: Sun Apr 11, 2010 3:20 am    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:



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