GENERAL: PostgreSQL Inquiry

Started by Bob Krusalmost 23 years ago3 messagesgeneral
Jump to latest
#1Bob Krus
bobk@tbtsi.com

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

#2Dennis Gearon
gearond@cvc.net
In reply to: Bob Krus (#1)
Re: GENERAL: PostgreSQL Inquiry

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

Bob Krus wrote:

Show quoted text

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)

#3Jan Wieck
JanWieck@Yahoo.com
In reply to: Bob Krus (#1)
Re: GENERAL: PostgreSQL Inquiry

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 #