Uncutsaniflush's Journal
My Podcast Link
01/13/2012 21:11 #55908
Hello World, Hello COBOL (updated with code))Well, I got open-cobol to compile and run a simple "Hello Word" program. So it works.
It seems that Cobol is still in the punch card age in which commands have to start in the 8th column. But open-cobol has a freestyle option.
(e:paul) wanted to see some code:
Here's the sort of COBOL"hello world" I remember from my college days:
000100 IDENTIFICATION DIVISION.
000200 PROGRAM-ID. HELLOWORLD.
000300
000400*
000500 ENVIRONMENT DIVISION.
000600 CONFIGURATION SECTION.
000700 SOURCE-COMPUTER. RM-COBOL.
000800 OBJECT-COMPUTER. RM-COBOL.
000900
001000 DATA DIVISION.
001100 FILE SECTION.
001200
100000 PROCEDURE DIVISION.
100100
100200 MAIN-LOGIC SECTION.
100300 BEGIN.
100400 DISPLAY " " LINE 1 POSITION 1 ERASE EOS.
100500 DISPLAY "Hello world!" LINE 15 POSITION 10.
100600 STOP RUN.
100700 MAIN-LOGIC-EXIT.
100800 EXIT.
Here's the same thing freestyled in open-cobol.
IDENTIFICATION DIVISION.
PROGRAM-ID. HELLO-WORLD.
PROCEDURE DIVISION.
DISPLAY 'Hello world!'.
STOP RUN.
01/12/2012 22:33 #55897
Cobol Here I comeCategory: linux
Based on conversations at (e:pmt)'s New Years party, being a dinosaur with some vague 30 year old course work in Cobol makes me somewhat marketable if I brush up on my Cobol coding skills.
Well, there is something called Open Cobol that is Cobol compiler that runs on linux. Fedora has it in it's repositories.
Hopefully, I can get it to work. And code, code, code my way into a new job.
Well, there is something called Open Cobol that is Cobol compiler that runs on linux. Fedora has it in it's repositories.
Hopefully, I can get it to work. And code, code, code my way into a new job.
01/12/2012 22:25 #55896
Work 1, Beer Club 0I hope y'all had a fun time at Beer Club. Perhaps if Jupiter aligns with Mars and Peace guides the Planets or I get fired, I'll make it to Beer Club in February.
heidi - 01/13/12 21:35
:::link::: < they're not particularly good facebookers but they usually remember to post the beer list a few days in advance.
:::link::: < they're not particularly good facebookers but they usually remember to post the beer list a few days in advance.
heidi - 01/13/12 21:22
The next date should be 2/8 (2nd Wednesday of the month). I can't commit to it in February because of bar review, but the gang will welcome y'all!
The next date should be 2/8 (2nd Wednesday of the month). I can't commit to it in February because of bar review, but the gang will welcome y'all!
uncutsaniflush - 01/13/12 21:06
Thanks (e:tinypliny). (e:mrmike) - it's the Mr. Goodbar Good Beer Club. (e:heidi) and several others have posted about it here.
Thanks (e:tinypliny). (e:mrmike) - it's the Mr. Goodbar Good Beer Club. (e:heidi) and several others have posted about it here.
mrmike - 01/13/12 07:29
Yeah, I need info on this, beer club sounds like something worthy of my membership.
Yeah, I need info on this, beer club sounds like something worthy of my membership.
tinypliny - 01/12/12 22:50
Hope this year brings you a ton of joy!! :)
Hope this year brings you a ton of joy!! :)
12/16/2011 22:54 #55753
wigs and accordians andCategory: polish songs
12/10/2011 22:46 #55695
Rock Lobster RobotsCategory: music
From the same guy who gave us I love the guitar playing machine. The machine plays a guitar with 4 strings just like Ricky Wilson. I am in awe.
tinypliny - 12/17/11 06:35
Wonder how long it took to set it all up and program it. wow.
Wonder how long it took to set it all up and program it. wow.
metalpeter - 12/11/11 09:14
This is a pretty cool song.... Just not the same with out the crazy singing.....
This is a pretty cool song.... Just not the same with out the crazy singing.....
Retro. What does it look like. You can upload a text file or PDF attachment on estrip thanks to a request from (e:tinypliny).