![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Segmentation (CoreDump) error !! | varungupta | UNIX for Advanced & Expert Users | 16 | 04-21-2008 06:16 PM |
| bus error (coredump) | charu | UNIX for Dummies Questions & Answers | 4 | 12-12-2007 06:05 AM |
| SSL key give coredump error!! | e_jeffhang | HP-UX | 0 | 02-24-2006 06:43 AM |
| Bus Error(coredump) | Jayesh | UNIX for Advanced & Expert Users | 2 | 10-04-2005 04:35 PM |
| Bus error(coredump | Student37 | UNIX for Dummies Questions & Answers | 3 | 07-01-2005 04:53 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Need help on Bus error(coredump)
Hi all,
I am quite weak in C but I need to get some work done. Hope someone can help me out. I keep getting this error when i try to run my C application in my HP-UX 10.20 machine. Some code snippet: Code:
Month(DBTime) =====This is a function which will return variable "CutOffTime" to be use below strcpy(DBSecTime, CutOffTime) sprintf(str, "DBSecTime is : %s\n", DBSecTime); InputLog(Log, str); exec sql begin works; sprintf(str, "DBSecTime is : %s\n", DBSecTime); InputLog(Log, str); exec sql select * from tableA where time < :DBSecTime exec sql commit work; Hope someone is able to give me some advices. Thanks in advance. ![]() |
|
||||
|
Quote:
Hi otheus, sorry about that, I have included more codes. Code:
exec sql begin declare section; char DBSecTime[15]; exec sql end declare section; Month(DBTime) ===== This is a function which will return variable "CutOfftime" to be use below: strcpy(DBSecTime, CutOffTime) sprintf(str, "DBSecTime is : %s\n", DBSecTime); InputLog(Log, str); exec sql begin works; sprintf(str, "DBSecTime is : %s\n", DBSecTime); InputLog(Log, str); exec sql select * from tableA where time < :DBSecTime exec sql commit work; ![]() Last edited by Vision©; 02-17-2009 at 09:41 PM.. Reason: Additional Info |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|