Live data from Hacker News

Micro web-framework for COBOL

github.com

11–20 of 66 posts

Re: Micro web-framework for COBOL

#11
I remember this from a few years ago. The only recent updates appear to be a change to the tutorial link.

If you haven't clicked through to the inspiration (http://www.coboloncogs.org/HOME.HTM) then it's well worth a look. Although the Rails page doesn't look like that any more, so it's not quite as funny.

Re: Micro web-framework for COBOL

#13

Great, now all the hot new build tools will be JCL based.

My brain just ABENDed.

You folks think you're being funny but I have vary off the interface on our iSeries to move it to a different ethernet switch then do an IPL over the weekend.

Re: Micro web-framework for COBOL

#14

From the tutorial: >> the-values hold information about variables received. At the moment, these come from PATH (GET and POST are on the way). You can access them in the same order they occur in path. Well, this is kinda the crux of the situation isn't it? Query parameter parsing, and POST body parsing, can't do much without these. Is this to be implemented in cobol? I really hope not, parsing anything is quiet unten…

>> Query parameter parsing, and POST body parsing, can't do much without these. Is this to be implemented in cobol?

I'd have thought they're to be implemented in Rexx, which is really great for writing parsers in.

Re: Micro web-framework for COBOL

#17
I remember showing my "systems analyst" brother-in-law my second year university schedule when I was planning which courses I would take that fall.

"You don't have any Cobol, PL/1, OS360 Assembly Language or APL on here", he observed.

"I am going to focus on C, Unix and operating systems. I want to write compilers for microprocessor based computers".

When he finished laughing, he called me "unemployable" and said, "microprocessors will never be used for anything but toys. Take COBOL!"

Since then, I have made a point of not even looking at COBOL code. I have been in the presence of COBOL, but have averted my eyes.

Re: Micro web-framework for COBOL

#18
post #17

I remember showing my "systems analyst" brother-in-law my second year university schedule when I was planning which courses I would take that fall. "You don't have any Cobol, PL/1, OS360 Assembly Language or APL on here", he observed. "I am going to focus on C, Unix and operating systems. I want to write compilers for microprocessor based computers". When he finished laughing, he called me "unemployable" and said, "m…

[deleted]

Re: Micro web-framework for COBOL

#19

I remember this from a few years ago. The only recent updates appear to be a change to the tutorial link. If you haven't clicked through to the inspiration ( http://www.coboloncogs.org/HOME.HTM ) then it's well worth a look. Although the Rails page doesn't look like that any more, so it's not quite as funny.

In that genre "SQL on Rails" is also quite funny.

Re: Micro web-framework for COBOL

#20

From the tutorial: >> the-values hold information about variables received. At the moment, these come from PATH (GET and POST are on the way). You can access them in the same order they occur in path. Well, this is kinda the crux of the situation isn't it? Query parameter parsing, and POST body parsing, can't do much without these. Is this to be implemented in cobol? I really hope not, parsing anything is quiet unten…

> But, the absence of dynamic memory allocation is also a characteristic that makes cobol extremely stable and safe, and mainframe applications legendarily bullet proof.

Of course, it can also make programs curiously limited.

If you have a COBOL program that loads its configuration into memory before processing data, you may find that too much configuration (think things like rules, transaction codes, etc) results in your program no longer running because the array that holds it isn't big enough.

Post reply on HN