Re: COBOL interview tests
- From: LX-i <lxi0007@xxxxxxxxxxxx>
- Date: Tue, 26 Dec 2006 20:08:05 -0600
JJ wrote:
As for your situation, where you said you never wrote a program from scratch - I know what you mean. We usually started with a template, rarely a blank slate. But when we had people do a test like this, we always allowed them to use the help file that contained the Cobol manual. I figured, heck, I had been programming in Cobol for 20+ years and I still occasionally used the manual, so there's no reason this person shouldn't be able to also. It was a programming skills test, not a memory test.
I was curious about this. Are you not allowed to use a manual? I've been at this nearly a decade now, but I still rely on my manual, probably on a weekly basis. From the "how do you" questions, to the "what does this do" stuff, the manual is an invaluable tool.
With the one question that's been mentioned - a merge. I've *never* done a merge. Never. Never studied it in class, never written it myself, never encountered it during maintenance. I'd need the manual for that question. :)
Without a manual, I'd take a stab at the syntax...
MERGE file-1 file-2
GIVING file-3
Ah - but I have a COBOL manual on my computer. Let's see... Looks like I'm missing a "USING" clause...
MERGE file-1 USING file-2 GIVING file-3
How about that - I learned something! :)
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ / \ / ~ Live from Montgomery, AL! ~
~ / \/ o ~ ~
~ / /\ - | ~ daniel@thebelowdomain ~
~ _____ / \ | ~ http://www.djs-consulting.com ~
~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
~ GEEKCODE 3.12 GCS/IT d s-:+ a C++ L++ E--- W++ N++ o? K- w$ ~
~ !O M-- V PS+ PE++ Y? !PGP t+ 5? X+ R* tv b+ DI++ D+ G- e ~
~ h---- r+++ z++++ ~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"Who is more irrational? A man who believes in a God he doesn't see, or a man who's offended by a God he doesn't believe in?" - Brad Stine
.
- Follow-Ups:
- Re: COBOL interview tests
- From: Pete Dashwood
- Re: COBOL interview tests
- From: HeyBub
- Re: COBOL interview tests
- References:
- COBOL interview tests
- From: krewser
- Re: COBOL interview tests
- From: JJ
- COBOL interview tests
- Prev by Date: Re: COBOL interview tests
- Next by Date: Re: Productivity
- Previous by thread: Re: COBOL interview tests
- Next by thread: Re: COBOL interview tests
- Index(es):
Relevant Pages
|