Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Beauty of the COBOL Programming Language, UUASC April 5, 2018

A brief introduction the structure and syntax of COBOL programming delivered to http://www.uuasc.org/

  • Soyez le premier à commenter

Beauty of the COBOL Programming Language, UUASC April 5, 2018

  1. 1. UUASC, April 5, 2018 Bob Reselman
  2. 2. @reselbob reselbob@gmail.com Brief Bio
  3. 3. @reselbob reselbob@gmail.com Brief Bio
  4. 4. @reselbob reselbob@gmail.com Thrice Weekly Cartoon on DevOps.com
  5. 5. @reselbob reselbob@gmail.com Alms https://www.etsy.com/shop/3WLStore
  6. 6. @reselbob reselbob@gmail.com Agenda ● Background ● Getting the IDE ● My First Program ● My Real Program ● COBOL as a Structured Document ● Variable and Data Types ● Hierarchical Data ● Procedural Programming ● Comments, Questions and Answers
  7. 7. @reselbob reselbob@gmail.com https://devops.com/the-beauty-of-the-cobol-programming-language- v2/ Article
  8. 8. @reselbob reselbob@gmail.com Special thanks to IBM!!
  9. 9. @reselbob reselbob@gmail.com Disclaimer
  10. 10. @reselbob reselbob@gmail.com Background ● Common Business Oriented Language ● Designed in 1959 ● Compiled, and this matters ● Mostly Mainframes ● Runs over 70% of the world business transactions ● Yes, it is object oriented, classes and interfaces since 2002
  11. 11. @reselbob reselbob@gmail.com IDEhttps://opencobolide.readthedocs.io/en/latest/index.ht ml
  12. 12. @reselbob reselbob@gmail.com
  13. 13. @reselbob reselbob@gmail.com My First Program
  14. 14. @reselbob reselbob@gmail.com My Real First Program
  15. 15. @reselbob reselbob@gmail.com My First Real Program Demo
  16. 16. @reselbob reselbob@gmail.com COBOL’s Document Layout
  17. 17. @reselbob reselbob@gmail.com COBOL’s Document Hierarchy
  18. 18. @reselbob reselbob@gmail.com COBOL’s Document Hierarchy
  19. 19. @reselbob reselbob@gmail.com Symbol Description Example Declaration Sample Value 9 A numeric value where each occurance of 9 represents a digit 99 or 9(2) 35 a Alphabetic aaa or a(3) “Bob” x Alphanumeric xxxx or x(4) “R2D2?” v Implicit decimal* v(3) .175 s Sign s9(2) -76 p Assumed decimal* p9 .6 Data Types
  20. 20. @reselbob reselbob@gmail.com Hierarchical Data Structures
  21. 21. @reselbob reselbob@gmail.com COBOL is Procedural
  22. 22. @reselbob reselbob@gmail.com Demo of Procedural Code
  23. 23. @reselbob reselbob@gmail.com Comments, Questions and Answers

×