HELP!
Running jBase 5.8.5 on Windows. No recent changes to operating system or hardware. Making minor code changes in an order entry program that we've run for years. Modified code, re-compiled and re-cataloged six times this morning. After last re-compile the program no longer processes any of the file READs in the program!!! Put an "on error" capture on the READ commands and get error message "file not found". Files are there and will LIST correctly. Other programs can access and read the files.
jDiag attached.
All help will be appreciated as we are dead in the water without the order entry system!
Marc Zitcer
------------------------------
Marc Zitcer
Pres
Davidson Supply
Paterson NJ US
------------------------------
Mark,
Check that you have not accidentally mangled the file name in your source code.
Also, I think you sent the wrong attachment.
Mike
------------------------------
Mike Street
Technical Support Engineer
Rocket Internal - All Brands
------------------------------
Mark,
Check that you have not accidentally mangled the file name in your source code.
Also, I think you sent the wrong attachment.
Mike
------------------------------
Mike Street
Technical Support Engineer
Rocket Internal - All Brands
------------------------------
Hi Mike,
Thank you for the prompt response. Glad to see that Rocket jBase has kept
Zumasys support staff!!
The problem seems to occur in subroutines called by control entries. This
is a quick example:
20 PRINT @(20,3):"---":@(20,3):
***ECHO OFF
INPUT OPER (MZ ENTERED)
*** ECHO ON
IF OPER = "END" THEN STOP
READ OPERF FROM F.OPER,OPER ELSE
PRINT CLEAN:BELL:"OPERATOR ":OPER:" NOT ON FILE. HIT RETURN.":
(CODE ADDED) EXECUTE "SORT OPERATOR *A1"
INPUT X; GOTO 10
END
PROGRAM RESULT:
OPERATOR MZ NOT ON FILE. HIT RETURN.
SORT RESULT:
OPERATOR...... *A1...........
MZ AP
CU
IV
OE
It won't read any files from within the programs but I can list/sort/ct the
files with no problem!
Working on a program today I edited/compiled/cataloged it 5 times and it
ran. after the 6th edit, which was a formatting change, it crashed, unable
to read from the same files it had 10 minutes earlier!
Needless to say, I'm puzzled.
On Fri, Apr 28, 2023 at 5:31 PM Mike Street via Rocket Forum <
Mail@forum.rocketsoftware.com> wrote:
> Mark, Check that you have not accidentally mangled the file name in your
> source code. Also, I think you sent the wrong attachment. Mike ------...
> -posted to the "Rocket jBASE" forum
> Invite your colleagues to join the Rocket Forum and grow our expert
> network.
> ------------------------------
> [image: Rocket Software]
> Rocket jBASE
>
> Post New Message Online
>
> Invite your colleagues to join the Rocket Forum and grow our expert
> network. Share this link.
> Re: jBase file read failure
>
> Reply to Group Online
> Reply
> to Group
>
> [image: Mike Street]
>
> Apr 28, 2023 5:30 PM
> Mike Street
>
>
> Mark,
> Check that you have not accidentally mangled the file name in your source
> code.
>
> Also, I think you sent the wrong attachment.
>
> Mike
>
>
> ------------------------------
> Mike Street
> Technical Support Engineer
> Rocket Internal - All Brands
> ------------------------------
> *Reply to Group Online
> *
> *View Thread
> *
> *Forward
> *
> *Post New Message Online
> *
>
>
HELP!
Running jBase 5.8.5 on Windows. No recent changes to operating system or hardware. Making minor code changes in an order entry program that we've run for years. Modified code, re-compiled and re-cataloged six times this morning. After last re-compile the program no longer processes any of the file READs in the program!!! Put an "on error" capture on the READ commands and get error message "file not found". Files are there and will LIST correctly. Other programs can access and read the files.
jDiag attached.
All help will be appreciated as we are dead in the water without the order entry system!
Marc Zitcer
------------------------------
Marc Zitcer
Pres
Davidson Supply
Paterson NJ US
------------------------------
Thank you for the suggestions. Recompiling and re cataloging solved the problems with my code but now none of the jBase programs (ie. FTSERVER, WED) will run. What could I have buggered up in the process?
------------------------------
Marc Zitcer
Pres
Davidson Supply
Paterson NJ US
------------------------------
Thank you for the suggestions. Recompiling and re cataloging solved the problems with my code but now none of the jBase programs (ie. FTSERVER, WED) will run. What could I have buggered up in the process?
------------------------------
Marc Zitcer
Pres
Davidson Supply
Paterson NJ US
------------------------------
Old age...forgot that the Accuterm programs needed to be reloaded. Please ignore last post!
------------------------------
Marc Zitcer
Pres
Davidson Supply
Paterson NJ US
------------------------------