Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Segmentation fault

Status
Not open for further replies.

fmmutale

MIS
Oct 13, 2008
12
NG
Hello

How can one solve Segmentation fault in informix for RHEL 5 ?

How can I solve the following problem ?
I have part of the code like this. I have tried to put displays around to track down the flow as follows:

LET GetInput = TRUE
WHILE GetInput
display " Inside infield manno 1 "
display "GetInput = ", GetInput
sleep 5
INPUT w_manno,
w_surname
WITHOUT DEFAULTS
FROM manno,
surname

AFTER FIELD manno
display " Inside infield manno 2 "
sleep 5
IF w_manno <> " "
AND w_manno IS NOT NULL
THEN
SELECT COUNT(*)
INTO w_cnt

The second display is not coming. I can't put a display just after the INPUT command or as I am getting a syntax error.

I have also tried the following:

LET GetInput = TRUE
WHILE GetInput
display " Inside infield manno 1 "
display "GetInput = ", GetInput
sleep 5
INPUT BY NAME manno,
surname
WITHOUT DEFAULTS

But still I don't seem to get what is going on. How do control the cursor to placed in the input field ?

Thanking you in advance.


Felix Mwango Mutale


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top