• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

COBOL

 
Ranch Foreman
Posts: 911
8
  • Number of slices to send:
    Optional 'thank-you' note:
I may have to look at some old COBOL for QA work.
The closest language to it that I used was called JOSS in 1979.

Has anyone here worked with these languages?

THanks,

Kevin
 
Marshal
Posts: 28262
95
  • Number of slices to send:
    Optional 'thank-you' note:
I worked with a COBOL program once. I may even have made changes which went into production but I can't remember for sure.
 
Paul Clapham
Marshal
Posts: 28262
95
  • Number of slices to send:
    Optional 'thank-you' note:
... This was back in the days when programmers were expected to pick up a new language with no notice. Of course I have to admit it was earlier to do that back then.
 
Saloon Keeper
Posts: 27865
196
  • Number of slices to send:
    Optional 'thank-you' note:
Picking up a new language is easy. Picking up its philosophy and infrastructure is what's harder. Philosopy was always there, LISP takes a lot different kind of thought than COBOL, for example, We think lambdas are cool as a new feature in Java, but LISP was built on lambdas.

JOSS is a military dialect of COBOL and was one of the myriad of custom languages that Ada was intended to replace.

The salient features of COBOL are:

1. Pretends to be English so that Pointy-Haired Bosses can think they understand the code.

2. As originally implemented, was a pure procedural language with the entire program generally being in a single source file (build systems weren't yet a thing, much less Structured Programming or OOP).

3. Can really stress your carpal tunnel syndrome. Instead of "A = B + 7" you code "ADD 7 TO B GIVING A". Verbosity, thy name is COBOL.

4. Interfacing to databases and online transactions systems is generally cumbersome. COBOL programs generally only did I/O using magnetic tape (150MB 9-track reels, for example), Disk a/k/a DASD (350 MB was a huge disk back then). And, of course, punched cards. LOTS of punched cards.

If you want to play with COBOL on a Linux machine, install the gnucobol standard package along with the gcc compiler. The gnucobol program translates COBOL into C and then gcc compiles the C code.

Or, if you want the full vintage experience, you could run the original IBM D COBOL compiler under DOS/VS os OS?VS on the Project Hercules mainframe emulator. But operating a mainframe console is a challenge in its own right.
 
Paul Clapham
Marshal
Posts: 28262
95
  • Number of slices to send:
    Optional 'thank-you' note:

Tim Holloway wrote:Pretends to be English so that Pointy-Haired Bosses can think they understand the code.



It didn't work then and even though many languages in the ensuing 60+ years have explicitly made that claim, it didn't work for them either.
 
kevin Abel
Ranch Foreman
Posts: 911
8
  • Number of slices to send:
    Optional 'thank-you' note:
Paul,

I remember being in Highschool(1975 - 1979)and thinking computers would be fun.  We first had a machine that read in punch cards.  I don't remember the output.  The machine cost the school about $35,000 which was probably 250K now.  I didn't understand it well.

Then I saw Cobol with punch cards and I didn't find it interesting either but I'm glad I learned some of it because I ran into a project at DeVry University where I entered cards describing an electronics circuit using an application called Spice.  I understood enough of JCL and keeping my cards in order to get it to work.

I took some COBOL also in Highschool but I couldn't figure out why they declared variable types at the top of the code.  There were Letters and numbers that described the variable type and it all seemed cryptic and it annoyed me so much I went away from it.

Kevin
 
kevin Abel
Ranch Foreman
Posts: 911
8
  • Number of slices to send:
    Optional 'thank-you' note:
Tim,

I had a machine called Pecos One by APF.   16K of RAM and 40K of ROM.

It used JOSS.   I liked how the syntax followed English with Subjects, objects, adjectives and verbs.   I thought it was just for my machine.  If I knew the military was using it I  would have tried to find work with it.
I notice JOSS and COBOL both use the keyword DISPLAY for showing text on the monitor.  

I wonder if JOSS is still being used anyplace.

Kevin
 
Tim Holloway
Saloon Keeper
Posts: 27865
196
  • Number of slices to send:
    Optional 'thank-you' note:
I don't think $35,000 would get much of a computer back then. In 1978 our PR1ME minicomputer was valued at about $100K. You may have simply had a remote terminal. Those were popular back then. At University we had an IBM 3780 remote workstation linked via leased line to a System/370 mainframe. It had a card reader and 1443 line printer, for example. No interactive consoles, just batch processing.

I was incorrect about JOSS. I confused it with JOVIAL. JOSS is more similar to BASIC.

Although if you dig hard enough, you can generally find an implementation of virtually any ancient language — and emulators for a lot of obsolete processors — I didn't find anything immediate on JOSS, and unfortunately, as an acronym JOSS has been recycled at least twice, making the search more challenging.

On the other hand, JOSS is an ancestor of FOCAL (https://github.com/maurymarkowitz/RetroFOCAL) and of MUMPS. FOCAL was very popular for a while, and MUMPS was actually a hirable skill for years. I would not be surprised if there are still shops running MUMPS in production to this day. http://www.cs.uni.edu/~okane/

You might find this illuminating, too: http://bitsavers.trailing-edge.com/pdf/rand/joss/P-3486_JOSS_Introduction_To_The_System_Implementation_Nov66.pdf
 
Bartender
Posts: 1156
20
  • Number of slices to send:
    Optional 'thank-you' note:
Arh COBOL   Way back at work, I was a C programmer, but the part-time college course was based around COBOL.  

candygrammar: n.
A programming-language grammar that is mostly syntactic sugar; the term is also a play on ‘candygram’. COBOL, Apple's Hypertalk language, and a lot of the so-called ‘4GL’ database languages share this property. The usual intent of such designs is that they be as English-like as possible, on the theory that they will then be easier for unskilled people to program. This intention comes to grief on the reality that syntax isn't what makes programming hard; it's the mental effort and organization required to specify an algorithm precisely that costs. Thus the invariable result is that ‘candygrammar’ languages are just as difficult to program in as terser ones, and far more painful for the experienced hacker.


Taken from --> Cat B CandyGramma
 
kevin Abel
Ranch Foreman
Posts: 911
8
  • Number of slices to send:
    Optional 'thank-you' note:
Tim,

I learned JOVIAL about 35 years ago.   It seemed pretty good for its time.   The acronym stands for Josh's own version in a language.  Maybe it's not Josh and another name.

I enjoyed JOSS.   I think it was before BASIC I think.

Kevin
 
Marshal
Posts: 79422
377
  • Number of slices to send:
    Optional 'thank-you' note:

Tim Holloway wrote:I don't think $35,000 would get much of a computer back then. . .  You may have simply had a remote terminal. Those were popular back then. . . .

I remember them well. But surely a remote terminal would have cost well under $35,000.
 
Tim Holloway
Saloon Keeper
Posts: 27865
196
  • Number of slices to send:
    Optional 'thank-you' note:

Campbell Ritchie wrote:

Tim Holloway wrote:I don't think $35,000 would get much of a computer back then. . .  You may have simply had a remote terminal. Those were popular back then. . . .

I remember them well. But surely a remote terminal would have cost well under $35,000.



I would not count on it. The IBM 3780 Binary Synchronous Remote Data Terminal System was comprised of up to 3 optional units, each about the size of an office desk: Card reader, card punch,, and IBM's 1443 typebar printer, capable of 425 line-per-minute output. At school we had the reader/printer setup with a control unit in the reader module.

There wasn't a lot of empty space in there and a lot of it was heavy-duty precision mechanical parts. Plus, if it's like a lot of similar IBM devices, the control unit was probably an IBM 1400-series small mainframe using their unique Solid Logic (transistor) Technology. Microprocessors were yet to be invented.

And, most critically, back then, a computer or computer peripheral wasn't priced based on the cost of its components or labour, but on whatever IBM could gouge you for. Which they would freely do. I suspect that even the keypunch machines ran over $10,000 1970's dollars each. So likely a minimum of £5000 newly-decimalised pounds.

The CRT terminal system units were practically brain-dead. All the smarts were in their shared control units. I remember being all excited [i]circa[i] 1983 when the first terminal systems using Intel 8080 and Z-80 processors were installed at work.

We're very spoiled when it comes to computer equipment pricing these days. I just saw a 12 TERAbyte SSD advertised fot USD $99. It's hard to believe that back when a 5 MEGAbyte disk storage was state-of-the-art that it would cost about the same as a small-to-medium house.

And then there's my Raspberry Pi collection. Most of them were $35 each and likely every one of them more powerful than IBM's top-of-the-line System 370 Model 165 with the water chiller cooling system that everyone salivated over in the early 1980s. And the Pi comes pre-configured with vastly more RAM.  An IBM System/370 Model 145 which was about the midrange for that series could run from $705,775 to $1,783,000 and maxed out at 512KB of RAM. So you see, no one ever really needed more that 640 KB.
 
Campbell Ritchie
Marshal
Posts: 79422
377
  • Number of slices to send:
    Optional 'thank-you' note:

Tim Holloway wrote:. . . wasn't priced based on the cost of its components or labour, but on whatever [XXX] could gouge you for. . . .

Hahahahahahahahahahahaha!

The CRT terminal system units were practically brain-dead. . . .

I remember some of them, too.

. . . back when a 5 MEGAbyte disk storage . . . would cost about the same as a small-to-medium house. . . .

In those days, you could have bought a small‑to‑medium street round here for that.
 
Peter Rooke
Bartender
Posts: 1156
20
  • Number of slices to send:
    Optional 'thank-you' note:
Before my time I started when the "green screens" of VT200 Unix terminals had mostly started to replace the older mainframes.
Of course, it's been my experience that if you dig deep enough you often find a mainframe somewhere with COBOL, VAX/VMS, and who knows what else!

“But you're out of your mind,” they said with a shrug.
“The customer's happy; what's one little bug?”

But he was determined. The others went home.
He spread out the program, deserted, alone.

The cleaning men came. The whole room was cluttered
With memory-dumps, punch cards. “I'm close,” he muttered.

The mumbling got louder, simple deduction,
“I've got it, it's right, just change one instruction.”

It still wasn't perfect, as year followed year,
And strangers would comment, “Is that guy still here?”

He died at the console, of hunger and thirst.
Next day he was buried, face down, nine-edge first.

And the last bug in sight, an ant passing by,
Saluted his tombstone, and whispered, “Nice try.”

Taken from GNU humor - credited to Lou Ellen Davis.

 
Tim Holloway
Saloon Keeper
Posts: 27865
196
  • Number of slices to send:
    Optional 'thank-you' note:
The last large-enterprise employer I had had zero in-house mainframes of any brand. They did tap into 2 external mainframe service systems, one of which was with a company I worked for for well over a decade, in fact. One of my jobs was to maintain a data import system that did ETL services to our local servers (originally Solaris, later Red Hat). Alas, independent ETL tools were not yet available, so we had to do everything the hard way. The fact that I was fluent in EBCDIC and packed-decimal data formats was an asset.

Of course, any respectable corporation knows what to do with assets — you liquidate them. So the next 3-year fire-everyone round I was out on the street, again. And that's when I swore off working for Big Business.
 
Marshal
Posts: 8880
638
  • 1
  • Number of slices to send:
    Optional 'thank-you' note:

kevin Abel wrote:in 1979


At that time I had no business on this planet.
 
kevin Abel
Ranch Foreman
Posts: 911
8
  • Number of slices to send:
    Optional 'thank-you' note:

At that time I had no business on this planet.



We are Glad you eventually showed up.
 
reply
    Bookmark Topic Watch Topic
  • New Topic
vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |