Rocket jBASE

 View Only
  • 1.  $INCLUDE questions

    Posted 04-05-2023 13:58

    New to Jbase with a background in ADP's Reality. The problem I am having is that items within a COMMON area are not transferring to subroutine. The original system was as follows:
    program A - $include commons os.inv ( this program sets many variables set within the include )
    --calls program B - carries the same include of os.inv, it does reference a common variable, but otherwise does not set any
    ----calls program C - carries the include, references a common variable

    I have basically created the following:
    program A
    --program B
    ----program D  - new program, has the same include, but the common variables are not assigned??
    ------program C

    no idea why program D, despite being a subroutine and having the same include, has unassigned common variables

    Also, was curious if there was a way to view a program which included the code from the includes. In ADP's reality, they had a command called BLIST with the option of (MEL that would give you a listing of the entire program, with included code, and formatted with proper indentions. It was very handy. Is there a similar way to do this in Jbase?

    Thanks for any help.



    ------------------------------
    Chris Razzano
    Senior PICK programmer
    Rocket Forum Shared Account
    ------------------------------


  • 2.  RE: $INCLUDE questions

    Posted 04-05-2023 15:46

    Figured out the common variable issue. But I'd still like to know if there is a way to view a program with the includes added in Jbase.



    ------------------------------
    Chris Razzano
    Senior PICK programmer
    Rocket Forum Shared Account
    ------------------------------



  • 3.  RE: $INCLUDE questions

    ROCKETEER
    Posted 04-14-2023 11:29

    Chris,
    I can confirm that jBASE does not currently provide such a utility.

    Mike



    ------------------------------
    Mike Street
    Technical Support Engineer
    Rocket Internal - All Brands
    ------------------------------