Editing
Naming and Coding Standards
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== 12. Compliance Checklist == Use this checklist during code review: <span id="structure"></span> === Structure === * β Program header block present and complete. * β All divisions in correct order. * β WORKING-STORAGE follows the prescribed section order. * β LINKAGE SECTION contains only COPY statements. <span id="naming"></span> === Naming === * β All paragraph names follow <code><prefix><NN>-<description></code> scheme. * β All data names use hyphens, not underscores (except legacy names). * β 88-level names describe the true condition, not the value. * β Copybook fields are globally unique and prefixed with the copybookβs logical name. <span id="procedure-division"></span> === Procedure Division === * β No GO TO (except structured skip). * β No PERFORM β¦ THRU. * β Every EVALUATE has WHEN OTHER. * β Every CALL is followed by a result check. * β Every EXEC SQL is followed by a SQLCODE check. * β Every file operation is followed by a file-status check. * β RETURN-CODE is set before STOP RUN in primesmain. <span id="comments"></span> === Comments === * β Every paragraph has a comment header. * β Every EXEC SQL block has a purpose comment. * β No commented-out code left in permanent source. <span id="copybooks"></span> === Copybooks === * β Each copybook defines exactly one 01-level structure. * β Copybook file name matches the 01-level name. * β No nested COPY statements. * β Copybook header present. ----- <span id="open-issues"></span>
Summary:
Please note that all contributions to Webhuis wiki are considered to be released under the GNU Free Documentation License 1.3 or later (see
Project:Copyrights
for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource.
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Voorpagina
Cobol and PostgreSQL
PostgreSQL
CFEngine
Proxmox
Webhuis Kennisbank
Basale infra
Webhuis bouwstenen
Webhuis configuratie
Webhuis Infra
Webhuis Support
Webhuis Raspberry
Opzet Applicaties
Business Applicaties
Community portal
Current events
Recent changes
Random page
Help
sitesupport
Tools
What links here
Related changes
Special pages
Page information