COBOL Programmer's Notebook
Home > Computing and Information Technology > Computer programming / software engineering > Programming and scripting languages: general > COBOL Programmer's Notebook
COBOL Programmer's Notebook

COBOL Programmer's Notebook

|
     0     
5
4
3
2
1




Available


About the Book

COBOL is making a comeback! There's a shortage of COBOL programmers to maintain millions of business-critical COBOL applications -- and to fix critical Y2K bugs. This easy-to-use tutorial/reference is perfect for programmers who want to refresh their COBOL skills -- or learn new ones. COBOL Programmer's Notebook's unique dual-page format places code examples on the right, with annotations and explanations on the left -- perfect for programmers who say "Show me the code and help me figure out the rest." Best-selling author Jim Keogh walks through every important element of COBOL programming, including working with the editor, compiler and linker; variables, constants, operators and expressions; arrays; program control; data structures; data input; I/O; indexed files, printed output and functions. There's a full chapter dedicated specifically to identifying and fixing Y2K problems.

Table of Contents:
1. Working with the Editor, Compiler, and Linker. Dissecting a Simple COBOL Program. Editors. Naming Files. Compiler Errors. COBOL Areas. COBOL Organization. Identification Division. Environment Division Configuration Section. Environment Division Input-Output Section. Environment Division Input-Output Section I-O Control Paragraph. Data Division. Data Division Linkage Section. Procedure Division. Words to Avoid Using. 2. Working with Constants and Variables. Constants and Variables. Naming Variables. Defining Variables. Assigning Values to Variables. Displaying the Value of Variables. Using a Variable as a Constant. Dealing with Alphanumeric Variables. Initializing Variables. Initializing Variables with Zeros and Spaces. Truncation. Decimal Variables. Displaying Decimal Variables. Suppressing Zeros. Limit Variables to Alphabetic Characters. Insert a Bank into Data. Currency Data. Insert Commas into the Data. Indicate Debit or Credit. Changing the Currency Symbol. Changing the Decimal Point Symbol. Replace Leading Zeros with Asterisks. Date Data. Use Blanks Instead of Zeros. Signed Numbers. Ways to Store Data. Assign Values to Many Variables. 3. Working with Data Structures. Creating a Data Structure. Using a Data Structure. Formatting a Data Structure. A Common Mistake Using Data Structures. Nested Data Structures. RENAMES. REDEFINES. Identifying Member Variables. Creating an Array. Accessing an Array. Looping through an Array. Assigning Values to an Array from the Keyboard. Defining an Index Variable. 4. Working with Program Control. Flow Control. PERFORM. PERFORM UNTIL. PERFORM VARYING UNTIL. GO TO. GO TO DEPENDING ON. IF and IF...ELSE Statements. Nested IF Statement. Creating a Relational Expression. GREATER THAN. LESS THAN. NOT GREATER THAN. NOT LESS THAN. GREATER THAN OR EQUAL TO. LESS THAN OR EQUAL TO. AND OR Operators. CLASS. EVALUATE. 5. Working with Operators and Expressions. Numeric Operators. Addition. Addition Verb. Subtraction. Subtraction Verb. Multiplication. Multiplication Verb. Division. Division Verb. Precedence. Reusing an Expression in an Array. Reusing an Expression Using the PERFORM Command. 6. Working with Data Input and Screens. ACCEPT and DISPLAY. Displaying a Menu. Reading a Selection from a Menu. Processing a Menu Selection. Handling Selection Errors. Creating a Menu Tree. Data Entry Screen. Data Display Screen. 7. Working with Other Programs. Module Programming. Calling Another Program. Passing Data to the Called Program. Passing Data Back to the Calling Program. Returning Control Back to a Calling Program. 8. Working with Files. What Is a File? What Is a Record? What Is a Field? Fixed Length and Delimited Files. What is an index? Defining a Logical File. Defining a Physical File. Opening and Closing a File. Creating a Sequential File? Writing a Record to a Sequential File. Reading a Record from a Sequential File. Rewriting a Record from a Sequential File. Looping Through a File. Creating a Relative File. Writing a Record to a Relative File. Reading a Record Sequentially from a Relative File. Reading a Record Relatively from a Relative File. Rewriting a Record to a Relative File. Deleting a Record from a Relative File. Creating an Indexed File. Adding Records to an Indexed File. Reading Records Using an Indexed File. Rewriting Records in an Indexed File. Deleting Records in an Indexed File. Using Alternative Keys. 9. Working with File Errors. SELECT OPTIONAL. Sequential I-O File Status. Relative I-O File Status. Indexed I-O File Status. Trapping the File Status. 10. Working with Sorting and Merging. Creating a Sort Definition. Sort into Another File. Changing the Order of the Sort. Upper and Lower Case Sorts. Sorting Duplicates. Sorting a File to a Procedure. Sorting a Procedure to a File. Sorting a Procedure to a Procedure. Merging Files. Changing the Order of the Merge. Upper and Lower Case Merge. Merging Duplicates. Merge a File to a Procedure. 11. Working with the Printer. Defining a Physical Printer. Preparing to Print a Record. Printing a Record. Print a Record from a Sequential File. Printing All Records in a File. Printing Records from an Indexed File. Printing Text With Fields. Creating a Report Layout. Printing Fields in Columns. Printing Report Title. Printing Column Headings. Printing Report Trailer. Determining the End of the Page. Printing Page Numbers at Top Left of Page. Printing Page Numbers at Top Right of Page. Printing Page Numbers at Bottom Left of Page. Printing Page Numbers at Bottom Right of Page. Create Multiline Text. 12. Working to Solve the Year 2000 Problem. What Is the Year 2000 Problem? DATE. The Fixed Window Method. The Sliding Window Method. Fixing the Day of The Week. Leap Year. Finding Dates. Hiding the Century Digits in the Existing Date. The Single Character Solution. The No Date Problem. Embedded Dates. Programmers Checklist. General. Keywords, Constants and Variables. Expressions and Operators. Program Control. Input-Output. Year 2000 Problem. Index.


Best Sellers


Product Details
  • ISBN-13: 9780139774140
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Prentice Hall
  • Height: 235 mm
  • No of Pages: 352
  • Weight: 595 gr
  • ISBN-10: 0139774149
  • Publisher Date: 02 Jul 1998
  • Binding: Paperback
  • Language: English
  • Spine Width: 20 mm
  • Width: 180 mm


Similar Products

Add Photo
Add Photo

Customer Reviews

REVIEWS      0     
Click Here To Be The First to Review this Product
COBOL Programmer's Notebook
Pearson Education (US) -
COBOL Programmer's Notebook
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

COBOL Programmer's Notebook

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals

    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!