View previous topic :: View next topic
|
Author |
Message |
kanne
New User
Joined: 16 Dec 2009 Posts: 4 Location: Wiesbaden, Germany
|
|
|
|
Hi together,
I have a question concerning AWO and NOAWO compiler options.
We have a written recommendation in our company, saying that COBOL programs should use the APPLY-WRITE-ONLY clause for variable blocked sequential files.
My question now is: Why shouldn't we just put the AWO compiler flag active. What is the reason, this is not the default? What negative side-effects should we have in mind, if we would set it do our default.
Thanks for any input.
Cheers
Sebastian |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
probably easier to delegate the responsibility
to programmers to use the APPLY-.... clause
than have to deal with the sys-pgms that would have to change the jcl generation routines to add the compiler option.
as well as the compiler option applies to all qsam files in the program,
where as the clause only applies to the particular file. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
Click on the manuals link at the top of the page, find the COBOL Programming Guide manual, click on the flashlight, and search for AWO. The manual lists the positive and negative aspects of using AWO. |
|
Back to top |
|
|
|