Menu

UPDATE PROGRRESS Fw: [gnucobol:discussion] gix gixsql gnucobol question please see output

J McNamara
2024-12-07
2024-12-07
  • J McNamara

    J McNamara - 2024-12-07

    hI -

    $ export DBNAME="pgsql:\127.0.0.1:5432\mydb1"

    stealth_droid@WIN3 MSYS /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
    $ ./TEST001.exe
    DB : pgsql:\127.0.0.1:5432\mydb1
    USER: test.test


    SQLCODE. -0000000201
    SQLERRM. Invalid datasource definition

    stealth_droid@WIN3 /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
    $ ^C
    A LITTLE BETTER NOW I WILL FOOL AROUND LATER WITH INCLUDING THE PGSQL LIB ON THAT FLAG AND SEE IF IT TAKES. THANKS

    Sent with Proton Mail secure email.

    ------- Forwarded Message -------
    From: J McNamara masticon@users.sourceforge.net
    Date: On Saturday, December 7th, 2024 at 12:17 PM
    Subject: [gnucobol:discussion] gix gixsql gnucobol question please see output
    To: [gnucobol:discussion] help@discussion.gnucobol.p.re.sourceforge.net

    Hi all-

    I am making a little more progress with the process flow for gixsql but i don't know where on the command line the datasrc is off. How do i supply it? everything is compiling. thanks here is the output

    $ /mingw64/bin/cobc -x TEST001.cbsql -L/opt/gixsql/lib -lgixsql

    stealth_droid@WIN3 MSYS /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
    $ cobc -x TEST001.cbsql -L/mingw64/bin/gcc -L/c/msys64/opt/gixsql/lib -lgixsql

    stealth_droid@WIN3 MSYS /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
    $ ./TEST001.exe
    DB :
    USER:


    SQLCODE. -0000000201
    SQLERRM. Invalid datasource definition

    stealth_droid@WIN3 MSYS /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
    $

    Sent with Proton Mail secure email.


    gix gixsql gnucobol question please see output


    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gnucobol/discussion/help/

    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     
    • J McNamara

      J McNamara - 2024-12-07

      woohoo,

      yaah baby!

      I got it to connect to postgresql Simon and friends.

      gix and gixsql is very cool. i wanted to use db2 but got a virus so as brian once said
      we are spoilt for choice.

      thanks for being ever so patient with my questions.

      i am taking the rest of this afternoon off for other things.

      thanks,
      jim

      Sent with Proton Mail secure email.

      ------- Forwarded Message -------
      From: J McNamara masticon@users.sourceforge.net
      Date: On Saturday, December 7th, 2024 at 12:43 PM
      Subject: [gnucobol:discussion] UPDATE PROGRRESS Fw: [gnucobol:discussion] gix gixsql gnucobol question please see output
      To: [gnucobol:discussion] help@discussion.gnucobol.p.re.sourceforge.net

      hI -

      $ export DBNAME="pgsql:\127.0.0.1:5432\mydb1"

      stealth_droid@WIN3 MSYS /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
      $ ./TEST001.exe
      DB : pgsql:\127.0.0.1:5432\mydb1
      USER: test.test


      SQLCODE. -0000000201
      SQLERRM. Invalid datasource definition

      stealth_droid@WIN3 /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
      $ ^C
      A LITTLE BETTER NOW I WILL FOOL AROUND LATER WITH INCLUDING THE PGSQL LIB ON THAT FLAG AND SEE IF IT TAKES. THANKS

      Sent with Proton Mail secure email.

      ------- Forwarded Message -------
      From: J McNamara masticon@users.sourceforge.net
      Date: On Saturday, December 7th, 2024 at 12:17 PM
      Subject: [gnucobol:discussion] gix gixsql gnucobol question please see output
      To: [gnucobol:discussion] help@discussion.gnucobol.p.re.sourceforge.net

      Hi all-

      I am making a little more progress with the process flow for gixsql but i don't know where on the command line the datasrc is off. How do i supply it? everything is compiling. thanks here is the output

      $ /mingw64/bin/cobc -x TEST001.cbsql -L/opt/gixsql/lib -lgixsql

      stealth_droid@WIN3 MSYS /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
      $ cobc -x TEST001.cbsql -L/mingw64/bin/gcc -L/c/msys64/opt/gixsql/lib -lgixsql

      stealth_droid@WIN3 MSYS /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
      $ ./TEST001.exe
      DB :
      USER:


      SQLCODE. -0000000201
      SQLERRM. Invalid datasource definition

      stealth_droid@WIN3 MSYS /c/Users/stealth_droid/Documents/Gix/Examples/test001/bin/debug/x64
      $

      Sent with Proton Mail secure email.


      gix gixsql gnucobol question please see output


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gnucobol/discussion/help/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/


      UPDATE PROGRRESS Fw: [gnucobol:discussion] gix gixsql gnucobol question please see output


      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/gnucobol/discussion/help/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       
  • László Erdős

    László Erdős - 2024-12-07

    Hi,

    if you started a thread yet, please write the same things in the same thread and do not start a new one with an other name. Please do not repeate the earlier texts again. And give a title for your thread that somehow related to your questions.

    Thanks,

    László

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.