Rocket U2 | UniVerse & UniData

 View Only
  • 1.  Using PROC or Paragraphs in the Web

    PARTNER
    Posted 02-07-2023 13:02
    Edited by Christine Rizza 02-07-2023 13:02
    Many years ago when we went to the web we stopped using paragraphs. We have not used a PROC since the early 2000s with any of our clients. So when we moved to the web using UniObjects for Java you could only call subroutines through our API. This meant we had no use for any of the 1000-plus paragraphs that we had written over the years. If we need to select we use EXECUTE to handle getting the data.

    I was wondering if what I am describing is true for other Unidata, Universe, and D3 customers that have gone through a migration to the web. I have a would-be client that says you can keep all of them. I just don't want to use and EXECUTE to call the paragraph and DATA the need inputs.

    Am I wrong here?

    ------------------------------
    Doug Averch
    Owner
    U2logic
    ------------------------------


  • 2.  RE: Using PROC or Paragraphs in the Web

    Posted 02-08-2023 12:07
    Could you write a subroutine, whose sole function is to execute a Proc (name passed in), capture the output, and stuff that output back into the subroutine result, passing it back to you.

    ------------------------------
    Will Johnson
    Systems Analyst
    Rocket Forum Shared Account
    ------------------------------



  • 3.  RE: Using PROC or Paragraphs in the Web

    Posted 02-08-2023 19:45

    Just mentioning PROCREAD and PROCWRITE here. It's not necessary to use DATA statements as you can read and write directly into the PROC buffers and use conditional login on the PROC on whether to use the buffer contents or really need to prompt for input.



    ------------------------------
    John Jenkins
    Thame, Oxfordshire
    ------------------------------