1. Visit this thread for your chance to win a selection of Lionsgate action films on UV!
    Dismiss Notice

Need help from COBOL programmers

Discussion in 'Computers' started by Andrew_A_Paul, Nov 2, 2003.

  1. I've been working on an assignment for my COBOL class and there are few I can't seem to find in the book. Here's the question.

    "A subscripted data name can be used in an IF statement, but not and EVALUATE statement"

    Also, im asked to code data division entry to define a 50 element table named X-TAB. Each element in the table has a PIC of S9(3)V99 and should be in a group item named DATA-TABLE. This would work, correct?

    01 DATA-TABLE
    05 X-TAB OCCURS 50 TIMES PIC S9(3)V99.


    Hopefully someone can help me out. Thanks
     
  2. Kevin P

    Kevin P Screenwriter

    Joined:
    Jan 18, 1999
    Messages:
    1,439
    Likes Received:
    0
    I haven't done COBOL in several years so I'm a tad rusty, but let me give them a whirl...
     
  3. MikeAlletto

    MikeAlletto Cinematographer

    Joined:
    Mar 11, 2000
    Messages:
    2,369
    Likes Received:
    0
    They still teach cobol? I had 1 semester of it and didn't learn a single thing. Got a B in the class and haven't looked at it since. That was about 9 years ago.
     
  4. Kevin, You are correct about the indention and period, i dont know why it didnt format correctly on here. The answer for the first one is false. We kinda went over this in class today. Mike, this is probably going to be the last semester for COBOL at ISU. And C++ for that matter. I think C++ is going to go to JAVA and COBOL is going towards object oriented. i dont know why, just use C# or something like that. But thats what the college is leaning towards. I've been to the past several career fairs at ISU and most of the companies ask about COBOL because they still have a lot of code written in COBOL, and rather than change something that works, and the fact that its costly and time consuming to rewrite really old programs they just leave the COBOL in place.
     
  5. MikeAlletto

    MikeAlletto Cinematographer

    Joined:
    Mar 11, 2000
    Messages:
    2,369
    Likes Received:
    0
     
  6. Tekara

    Tekara Supporting Actor

    Joined:
    Jan 8, 2003
    Messages:
    783
    Likes Received:
    0
    a good number of banks still use COBOL since that's what the banking programs where originally programed in and they pay quite handsomly to those that can program in it as there is a rather short supply of COBOL programmers.
     
  7. Ya, only I have a dislike for programming. But I'm required to take a few programming classes to graduate. Principle financial still uses cobol. Most companies leave the cobol and write programs in other languages to access the old cobol stuff and run it that way.
     

Share This Page