Thread: GENERAL: PostgreSQL Inquiry

GENERAL: PostgreSQL Inquiry

From
"Bob Krus"
Date:

    >>Can you compile C programs into your COBOL programs?>>

    Perhaps, I don't know.  How would the C program access
    the data?  I imagine it would be possible for the COBOL
    program to call a C program & execute it but I've no
    idea what those programs would look like.  Maybe I need
    to take these questions to my COBOL vendor...


Re: GENERAL: PostgreSQL Inquiry

From
Dennis Gearon
Date:
there's a C library for accessing Postgres databases. You could link it in with your COBOL linker, perhaps.

Bob Krus wrote:
>
>     >>Can you compile C programs into your COBOL programs?>>
>
>     Perhaps, I don't know.  How would the C program access
>     the data?  I imagine it would be possible for the COBOL
>     program to call a C program & execute it but I've no
>     idea what those programs would look like.  Maybe I need
>     to take these questions to my COBOL vendor...
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>
>


Re: GENERAL: PostgreSQL Inquiry

From
Jan Wieck
Date:
Bob Krus wrote:
>
>         >>Can you compile C programs into your COBOL programs?>>
>
>         Perhaps, I don't know.  How would the C program access
>         the data?  I imagine it would be possible for the COBOL
>         program to call a C program & execute it but I've no
>         idea what those programs would look like.  Maybe I need
>         to take these questions to my COBOL vendor...

I was able to call C from COBOL and vice versa on a BS2000 mainframe
back in 89 already. If it doesn't work with your environment, try to get
back your money.


Jan

--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #