- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Ingres on HP Unix
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
Discussions
Discussions
Discussions
Forums
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
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
тАО09-03-2002 07:10 AM
тАО09-03-2002 07:10 AM
Ingres on HP Unix
Setup :-
Backend - Ingres database on HP-UX B.10.20
Frontend - Powerbuilder app that extracts data from Ingres.
Problem -
In one of the modules on Powerbuilder App.
that extracts data from a particular table the data is not being displayed after a certain point/certain date.
This module has been running fine since a long time.
Solutions tried so far :-
Indexed the Ingres Database again.
Ran sysmod.
After trying the above, no successful results were achived.
Thanks for your help in advance.
Rajiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 07:18 AM
тАО09-03-2002 07:18 AM
Re: Ingres on HP Unix
Do you try the same select at the unix box with the isql tool?
Do you check the time zone variable in the unix box?
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 07:45 AM
тАО09-03-2002 07:45 AM
Re: Ingres on HP Unix
Thanks for your reply.
I already tried running the same SQL query from Ingres-ingmenu, it displays the correct resultset.
Also i checked the time zone (TZ) variable, it displays the correct value.
TZ=EST5EDT ( I am in Eastern Zone )
In addition i deleted the old data from this table and reindexed it..but didn't help.
How does Time Zone variable has any association with it ?
regards
Rajiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 07:55 AM
тАО09-03-2002 07:55 AM
Re: Ingres on HP Unix
I think that if you obtain the correct results running the select by the ingmenu utility, the problem is between the Ingres server and the Powerbuilder App (The client).
Perhaps somebody change the II_DATE_FORMAT variable or in PowerBuilder some variable like that, I don't know PowerBuilder I was working more than 10 years with Ingres.
The PowerBuilder are running in the Unix Box or is runing in a NT?
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 08:01 AM
тАО09-03-2002 08:01 AM
Re: Ingres on HP Unix
I'm thinking that perhaps you can keep the exact select that PowerBuilder is sending to Ingres by using the IPM tool at the Unix Box.
I think that this is a date conversion problem between PowerBuilder and Ingres, then you must look for the exact select that PowerBuilder send to Ingres and look at the date variable and the format that this have.
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 08:30 AM
тАО09-03-2002 08:30 AM
Re: Ingres on HP Unix
Hi Again
Are you telling me to capture the sql command being sent from Powerbuilder to Ingres using IPM Utility.
How can i capture it using IPM ?
Also since the date after which the records are not being sent to powerbuilder is 080602
which is in between a month and the query on PB is being performed by the Event Number and not by date do you still believe that there is a problem with the date ?
Thanks for your help.
regards
Rajiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 08:35 AM
тАО09-03-2002 08:35 AM
Re: Ingres on HP Unix
Wich kind of format is the field in the table, is varchar, char, date, integer?
080602 is August 6th of 2002? or is June 8th of 2002?
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 08:40 AM
тАО09-03-2002 08:40 AM
Re: Ingres on HP Unix
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 08:51 AM
тАО09-03-2002 08:51 AM
Re: Ingres on HP Unix
Column Name Data Type Key # Nulls Defaults
exc_id i4 1 no no
exc_date date no no
080602 is August 6th of 2002.
regards
Rajiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 09:02 AM
тАО09-03-2002 09:02 AM
Re: Ingres on HP Unix
If you try in ingmenu to look for data with the condition 060802, there are rows selected?
Regards,
Justo.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 10:02 AM
тАО09-03-2002 10:02 AM
Re: Ingres on HP Unix
Thanks for so much help for trying to solve this problem.
I could not find the variable II_DATE_FORMAT.
The PowerBuilder is running from NT.
Catching Query using IPM..
After chossing the DBMS server and then the session, I chose 1 for more info and 1 again for more info..it shows a blank window with the heading 'Query Text'
Select Statement in PB
Select
fieldnames
from
tablename
where
except_id = :passed_key
Select Statement in Unix
select *
from
tablename
where
exc_id >= 34187
and
exc_id <= 34199
OR
select *
from
tablename
where
exc_date >= '08-Aug-2002'
will result in the same data being displayed.
Rajiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 10:22 AM
тАО09-03-2002 10:22 AM
Re: Ingres on HP Unix
I am thinking that since the query parameters are Unique numbers and not date, aren't we heading in the wrong direction by looking at the problems associated with the date and not by some other thing.
Also i want to tell you that we are deleting certain records mannually everyday that are not meant for going into this application.
On the day after which this problem started the records were not deleted before the system processed it. It resulted into 2169 additional records being appended to this table.
I later mannualy deleted these records and reindexed this table.
( This table has a total of 28298 records and 7 columns as on now )
regards
Rajiv.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2002 09:48 PM
тАО09-03-2002 09:48 PM
Re: Ingres on HP Unix
Yes as you tell the problem isn't it the date format or something related with the date.
Perhaps the problem are with the data deleted and the field esc_id and the consistency for this key.
You must study the problem and check the data and the query from Ingres and from PowerBuilder and how this tool create and send the select statment to the Ingres server.
Regards,
Justo.