- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: what's wrong?how to create external routine?th...
Operating System - HP-UX
1752661
Members
5600
Online
108788
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 05:13 PM
тАО07-03-2002 05:13 PM
what's wrong?how to create external routine?thanks.
rdnum.c???
#include
int rdnum()
{
int iRet;
iRet=(int) random();
return iRet;
}
cc -g -c rdnum.c
ar rv librdnum.so rdnum.o
create function "informix".rdnum()
returning int
external name '/export/informix/rxtst/rdnum.so(rdnum)'
language c;
selet rdnum() from billlog;
9793: User Defined Routine (rdnum) module load failed.
#include
int rdnum()
{
int iRet;
iRet=(int) random();
return iRet;
}
cc -g -c rdnum.c
ar rv librdnum.so rdnum.o
create function "informix".rdnum()
returning int
external name '/export/informix/rxtst/rdnum.so(rdnum)'
language c;
selet rdnum() from billlog;
9793: User Defined Routine (rdnum) module load failed.
rx
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-03-2002 09:10 PM
тАО07-03-2002 09:10 PM
Re: what's wrong?how to create external routine?thanks.
it's informix sql.
rx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-04-2002 01:53 AM
тАО07-04-2002 01:53 AM
Re: what's wrong?how to create external routine?thanks.
Hi
The online doc at
http://www.informix.com/answers/english/docs/datablade/dbdk/index/global.u.html
Should help
Steve Steel
The online doc at
http://www.informix.com/answers/english/docs/datablade/dbdk/index/global.u.html
Should help
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-08-2002 07:54 AM
тАО07-08-2002 07:54 AM
Re: what's wrong?how to create external routine?thanks.
Do onstat -m to get more information and also finderr -9793 to get a description.
I got 'bad magic number' when loading the shared object.
16:58:28 Loading Module
16:58:28 The C Language Module can't load
reason: '/home/dba/progs/librdnum.so' is not a valid load module: Bad magic number
16:58:28 (-1): ERROR: Loading Module
I got 'bad magic number' when loading the shared object.
16:58:28 Loading Module
16:58:28 The C Language Module can't load
reason: '/home/dba/progs/librdnum.so' is not a valid load module: Bad magic number
16:58:28 (-1): ERROR: Loading Module
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP