Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

AWO vs NOAWO

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
kanne

New User


Joined: 16 Dec 2009
Posts: 4
Location: Wiesbaden, Germany

PostPosted: Mon Apr 19, 2010 6:32 pm    Post subject: AWO vs NOAWO
Reply with quote

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
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6967
Location: porcelain throne

PostPosted: Mon Apr 19, 2010 6:41 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8057
Location: East Dubuque, Illinois, USA

PostPosted: Mon Apr 19, 2010 6:45 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:



Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us