- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Migration Problemsssssssss
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
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
Community
Resources
Forums
Blogs
- 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
03-18-2002 02:29 AM
03-18-2002 02:29 AM
Migration Problemsssssssss
We currently migrate a customer application written in Uniface 5.2 / database Oracle 6 and under Unix 8 to Uniface 7.2.06 / database Oracle 8.1.7 HP/Unix 11.
A great part of the application was written in Pro*C.
After very much problems with the 'make', we finally find our way to a running application but we still have a big problem with all the Pro*C!
Every string function seems to be working a different way then on the initial application.
Most of the time, it's a problem with the '/0' end of string, in other cases the data's find by a SQL statement have a lenght problem for further use,and so on.
We already use different switches for compilation('-Ac') but the strings problem is still there.
One possibility we have is to change all the code to insert some string function but ... it's a lot of work.
The question is, does anyone know with switch we could use to avoid the problem.
Thanks in advance.
Regards,
Pierre.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 05:05 AM - last edited on 11-16-2022 12:34 AM by Sunitha_Mod
03-18-2002 05:05 AM - last edited on 11-16-2022 12:34 AM by Sunitha_Mod
Re: Migration Problemsssssssss
I do not know what compiler you are using, but my migration problems were solved by gcc (download from http://dsportal.eservices.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html).
It's a bit of a wild guess, but it looks like your string problems can be solved by the switches:
-fwritable-strings
-traditional
-traditional-cpp
Contant strings are not always constant, because they are written into writable space. And often the EOS (end of string, normally '\0' is set only at EOL '\n'.
I hope gcc -traditional-cpp will help you to compile on ux-11 with the old precomiler style.
Succes !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-18-2002 05:22 AM - last edited on 11-16-2022 12:34 AM by Sunitha_Mod
03-18-2002 05:22 AM - last edited on 11-16-2022 12:34 AM by Sunitha_Mod
Re: Migration Problemsssssssss
That one was unavailable (I was wondering what version they had available there). This one was up just a moment ago:http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
[Moderator edit: Removed the broken links. Please refer to https://support.hpe.com]