Rocket jBASE

 View Only
  • 1.  jBase file read failure

    Posted 04-28-2023 17:14
      |   view attached
    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
    ------------------------------

    Attachment(s)

    pdf
    scan_20230428130405.pdf   357 KB 1 version


  • 2.  RE: jBase file read failure

    ROCKETEER
    Posted 04-28-2023 17:30

    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
    ------------------------------



  • 3.  RE: jBase file read failure

    Posted 04-28-2023 17:52
    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] <https: community.rocketsoftware.com="">
    > Rocket jBASE
    > <https: community.rocketsoftware.com/forums/forum-home/digestviewer?communitykey="b5553a66-f655-448c-95e6-cf00fc0af2ec">
    > Post New Message Online
    > <http: community.rocketsoftware.com/participate/postmessage?groupid="283">
    > Invite your colleagues to join the Rocket Forum and grow our expert
    > network. Share this link. <https: community.rocketsoftware.com/register="">
    > Re: jBase file read failure
    > <https: community.rocketsoftware.com/discussion/jbase-file-read-failure#bm01d48aa4-c87d-44b7-b121-0187c9c50cd9="">
    > Reply to Group Online
    > <https: community.rocketsoftware.com/forums/all-discussions/postreply?messagekey="01d48aa4-c87d-44b7-b121-0187c9c50cd9&ListKey=143b192f-654a-4ab0-9af1-65548fa12ea7"> Reply
    > to Group
    > <rocket_jbasestagingforum_01d48aa4-c87d-44b7-b121-0187c9c50cd9@connectedcommunity.org?subject=re:+jbase+file+read+failure>
    > [image: Mike Street]
    > <https: community.rocketsoftware.com/network/members/profile?userkey="2d9d2aab-c21f-45df-8d3f-31a5ef3e31c3">
    > Apr 28, 2023 5:30 PM
    > Mike Street
    > <https: community.rocketsoftware.com/network/members/profile?userkey="2d9d2aab-c21f-45df-8d3f-31a5ef3e31c3">
    >
    > 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
    > <https: community.rocketsoftware.com/forums/all-discussions/postreply?messagekey="01d48aa4-c87d-44b7-b121-0187c9c50cd9&ListKey=143b192f-654a-4ab0-9af1-65548fa12ea7">*
    > *View Thread
    > <https: community.rocketsoftware.com/discussion/jbase-file-read-failure#bm01d48aa4-c87d-44b7-b121-0187c9c50cd9="">*
    > *Forward
    > <https: community.rocketsoftware.com/forums/all-discussions/forwardmessages?messagekey="01d48aa4-c87d-44b7-b121-0187c9c50cd9&ListKey=143b192f-654a-4ab0-9af1-65548fa12ea7">*
    > *Post New Message Online
    > <http: community.rocketsoftware.com/participate/postmessage?groupid="283">*
    >
    > -------------------------------------------
    > Original Message:
    > Sent: 04-28-2023 16:53
    > From: Marc Zitcer
    > Subject: jBase file read failure
    >
    > 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
    > ------------------------------
    >
    >
    >
    >
    > You are receiving this message because you followed the 'jBase file read
    > failure' message thread. To unsubscribe from this message thread, go to
    > Unsubscribe
    > <https: community.rocketsoftware.com/higherlogic/common/unfollow.aspx?userkey="e6921e1c-f3cf-44a5-b4b5-b7ac19af81b2&sKey=KeyRemoved&ItemKey=8d0444b5-868e-4911-8745-0187c9a3ec5f">.
    >
    >
    > Update your email preferences
    > <https: community.rocketsoftware.com/go.aspx?c="Preferences§ion=email">
    > to choose the types of email you receive
    >
    > Unsubscribe from all participation emails
    > <https: community.rocketsoftware.com/higherlogic/egroups/unsubscribe.aspx?userkey="e6921e1c-f3cf-44a5-b4b5-b7ac19af81b2&sKey=KeyRemoved&mClass=Social">
    >




  • 4.  RE: jBase file read failure

    Posted 05-01-2023 07:47

    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
    ------------------------------



  • 5.  RE: jBase file read failure

    Posted 05-01-2023 10:50

    Old age...forgot that the Accuterm programs needed to be reloaded.  Please ignore last post!



    ------------------------------
    Marc Zitcer
    Pres
    Davidson Supply
    Paterson NJ US
    ------------------------------