Results 1 to 2 of 2

Thread: Explanation Needed

  1. #1
    Expert Member
    Join Date
    May 2006

    Explanation Needed

    I heard that generally one must avoid GO TO statement in COBOL and even if it is applied it must be applied only in forward direction that is preferably to the exit paragraph of the module. Is this true? If so why is it so?

  2. #2
    Contributing Member
    Join Date
    Jul 2006

    Re: Explanation Needed

    Yes what you have heard is true. This is because GOTO is a unconditional programming language and in fact not only for cobol for any language say for C also the goto statements should be used to a minimum to have a good programming structure. The additional restriction in cobol is it must be applied only in forward direction.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.