dbTalk Databases Forums  

CALLX Not Working

comp.databases.pick comp.databases.pick


Discuss CALLX Not Working in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
sh
 
Posts: n/a

Default Re: CALLX Not Working - 06-20-2006 , 08:53 AM






Cliff

Having just gone through my own CALLX issue (see the previous thread), I
was about to tell you Kevin's response about the the need for the fully
qualified path name.

Because CALLXs can be so frustrating ("is it my code or is it D3?") I
have found it useful to just put in a DEBUG or DISPLAY statement at the
beginning of the code, just to see if it is even being called or not.
That has at least pointed me in the right direction as to where the
problem lies.

Sholom

Cliff wrote:
Quote:
The fully qualified path worked! Thanks Kevin.

Thanks everyone for all of your help.


Reply With Quote
  #12  
Old   
Kevin Powick
 
Posts: n/a

Default Re: CALLX Not Working - 06-20-2006 , 09:04 AM






Cliff wrote:

Quote:
The fully qualified path worked! Thanks Kevin.
I've gone through my own CallX frustrations in the past, so I'm glad I
could help.

--
Kevin Powick


Reply With Quote
  #13  
Old   
Homer L. Hazel
 
Posts: n/a

Default Re: CALLX Not Working - 06-20-2006 , 10:44 AM



Cliff,

I'm just curious.

Does the file CLIFF.LOG exist? Did you create it
and is it in the user/account where you are running
the program?

If CLIFF.LOG does not exist, the OPEN will fail
and it will return immediately.

I can see no other potential reasons why your program
would not work.

Larry Hazel

"Cliff" <cponce (AT) easternmetal (DOT) com> wrote

Quote:
No, it was clear. I see the bug. I fixed it but still not working.

CLIFF.UPDATE
001 SUBROUTINE CLIFF.UPDATE(ITEM)
002 *
003 OPEN 'CLIFF.LOG' TO F.LOG ELSE RETURN
004 READ LOG.CNT FROM F.LOG,'LOG.CNT' ELSE LOG.CNT = 0
005 LOG.CNT = LOG.CNT + 1
006 WRITE LOG.CNT ON F.LOG,'LOG.CNT'
007 *
008 RETURN
009 *
010 END




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.