newbie question on cobol syntax
- From: Mayer <mayer.goldberg@xxxxxxxxx>
- Date: 22 Apr 2007 13:02:29 -0700
Hello:
I noticed two styles of cobol syntax:
main.
display "hello"
display "goodbye"
stop run
.
vs.
main.
display "hello".
display "goodbye".
stop run.
Some books use the first, others the second. I have no idea what's the
difference between them, but I note the following:
- MF Cobol/DOS allows both
- RM Cobol/DOS allows only the second, i.e., requires a period at the
end of each statement.
Can someone please explain to me the function of the period in cobol,
what is the basis for the difference in syntax, and what is
recommended.
Thanks,
Mayer
.
- Follow-Ups:
- Re: newbie question on cobol syntax
- From: Michael Russell
- Re: newbie question on cobol syntax
- From: HeyBub
- Re: newbie question on cobol syntax
- From: William M. Klein
- Re: newbie question on cobol syntax
- From: James J. Gavan
- Re: newbie question on cobol syntax
- From:
- Re: newbie question on cobol syntax
- Prev by Date: Re: Need to automate the FTP of EXCEl file to Mainframes
- Next by Date: Re: Max integer in an 8 byte COMP field?
- Previous by thread: Upgrade path from IBM's VisualAge Cobol (was withdrawn)
- Next by thread: Re: newbie question on cobol syntax
- Index(es):
Relevant Pages
|