Page 1 of 1
COBOL Question
Posted: Sun Oct 28, 2007 8:54 pm
by Mac
In the ENVIRONMENT DIVISION, CONFIGURATION SECTION. SOURCE-COMPUTER, what were the allowable values? Can I say Windows-NT?
Mac
Re: COBOL Question
Posted: Tue Oct 30, 2007 2:08 pm
by moneo
Mac wrote:In the ENVIRONMENT DIVISION, CONFIGURATION SECTION. SOURCE-COMPUTER, what were the allowable values? Can I say Windows-NT?
Mac
COBOL is generally a mainframe language. However, there are some special implementations developed about 15 years ago, like Micro Focus COBOL, which were designed to run on PCs.
However, the Micro Focus version that I saw back in 1995, ran under Unix, and not Windows. They might also have a Windows version, and in which case, I assume you would specifiy your Windows version in the Environment Division.
Good luck, and regards..... Moneo
Posted: Tue Oct 30, 2007 6:04 pm
by MystikShadows
I think you can Mac...besides CONFIGURATION-SECTION is an optional one since COBOL 85.
I think it was a descriptive piece of information hence, could have any name.
Posted: Tue Oct 30, 2007 7:11 pm
by Mac
[quote="MystikShadows"]CONFIGURATION-SECTION is an optional one since COBOL 85. I think it was a descriptive piece of information hence, could have any name.[/quote]
Thanks! I last coded COBOL in 1968, so I wasn't sure if it still worked like before.
Mac