Re: COBOL interview tests




"LX-i" <lxi0007@xxxxxxxxxxxx> wrote in message
news:a940d$4591d576$454920f8$31278@xxxxxxxxxxxxxx
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! :)

Yeah, but a REAL programmer would write a 3 way split... :-)

Pete.


.



Relevant Pages

  • Re: COBOL interview tests
    ... MERGE file-1 file-2 ... MERGE file-1 USING file-2 GIVING file-3 ... 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?" ...
    (comp.lang.cobol)
  • Re: COBOL interview tests
    ... LX-i wrote: ... I'd take a stab at the syntax... ... MERGE file-1 file-2 ... MERGE file-1 USING file-2 GIVING file-3 ...
    (comp.lang.cobol)