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

GENERATE_UNIQUE performance function


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

New User


Joined: 28 Sep 2007
Posts: 4
Location: Bilbao

PostPosted: Thu Oct 25, 2007 3:58 pm
Reply with quote

Hi,

I'm thinking about using GENERATE_UNIQUE function to identify and I would like to know if the would be a lack of performance if there are many executions of the function at the same time. It would be a big queue of the requests of the function?

Thank you,

Alberto
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 275
Location: Bang,iflex

PostPosted: Thu Oct 25, 2007 4:59 pm
Reply with quote

Hi,



Please frame the question properly according to your query.




Regard's
Vasanth
Back to top
View user's profile Send private message
AlbertoR

New User


Joined: 28 Sep 2007
Posts: 4
Location: Bilbao

PostPosted: Thu Oct 25, 2007 7:41 pm
Reply with quote

Hi,

Sorry for my English icon_wink.gif.

I want to use GENERATE_UNIQUE function to identify the rows.

The question is if this function get many load of CPU, get down the performance and if how many executions at the same time of this function could be?

Thank you
Back to top
View user's profile Send private message
vasanthkumarhb

Active User


Joined: 06 Sep 2007
Posts: 275
Location: Bang,iflex

PostPosted: Fri Oct 26, 2007 9:50 am
Reply with quote

Hi Albert,



Pls find the below link, it may helps you a lot.



publib.boulder.ibm.com/infocenter/db2luw/v9/index.jsp?topic=/com.ibm.db2.udb.apdv.sample.doc/doc/cobol_mf/s-impexp-sqb.htm

Regard's
Vasanth........ icon_smile.gif
Back to top
View user's profile Send private message
AMITESH
Currently Banned

New User


Joined: 28 Feb 2008
Posts: 3
Location: kolkata

PostPosted: Thu Apr 17, 2008 3:48 pm
Reply with quote

Hi,

Is this function is only for a particular version of DB2?

i am trying to use this function.but at run time it gives the following error message.......................

SQLCODE = -440, ERROR: NO FUNCTION BY THE NAME GENERATE_UNIQUE HAVING
COMPATIBLE ARGUMENTS WAS FOUND IN THE CURRENT PATH
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Apr 17, 2008 4:05 pm
Reply with quote

What's your DB2 version?
Back to top
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Thu Apr 17, 2008 4:57 pm
Reply with quote

GENERATE_UNIQUE() SQL function from DB2 UDB Version 6.1

Although the function has no arguments, the empty parentheses must be specified when the function is invoked.
Back to top
View user's profile Send private message
AMITESH
Currently Banned

New User


Joined: 28 Feb 2008
Posts: 3
Location: kolkata

PostPosted: Fri Apr 18, 2008 11:02 am
Reply with quote

db2 version is 7.2

is it version specific???
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

 


Similar Topics
Topic Forum Replies
No new posts Calling an Open C library function in... CICS 1
No new posts DATE2 function SYNCSORT 15
No new posts exploiting Z16 performance PL/I & Assembler 2
No new posts Help on PL/I jsonPutValue function PL/I & Assembler 8
No new posts how to use Tso outtrap external function All Other Mainframe Topics 8
Search our Forums:

Back to Top