Our COBOL Programming COBOL Programming - Basics 1 hour PowerPoint Our COBOL Environment PowerPoint...

Click here to load reader

  • date post

    04-Jan-2016
  • Category

    Documents

  • view

    343
  • download

    19

Embed Size (px)

Transcript of Our COBOL Programming COBOL Programming - Basics 1 hour PowerPoint Our COBOL Environment PowerPoint...

  • Our COBOL ProgrammingCOBOL Programming - Basics1 hour1 hour1 hourIntroduction to COBOLProgram StructureProgram ControlInstructions and Procedures1 hourArithmetic1 hourCompany name* |Copyright Interskill Learning Pty Ltd 2011 Commercial in Confidence1 hourScreen, Time and Date Input

  • Why Have Procedures and Methods?Improve Code Readability

    Improve Code Reliability

    Improve Performance

    Reduce Cost of Coding* |Copyright Interskill Learning Pty Ltd 2011 Commercial in Confidence

  • COBOL Program and Module NamesSALCMP01Application: First Three Characters:SAL SalesACC AccountingCUS CustomerSTK StockUTL Standard Utility Sub-Application: Second Two CharactersIdentifying Characters: Last Three Characters* |Copyright Interskill Learning Pty Ltd 2011 Commercial in Confidence

  • Coding StandardsImprove Code Quality and Reliability

    Covers:CommentsVariable Naming StandardsProgram Size LimitsGuides to Better Programming

    Includes Code Fragments for Common Jobs

    Documented at http://my.company.com/COBOL/standards* |Copyright Interskill Learning Pty Ltd 2011 Commercial in Confidence

  • Utility Routines for COBOLDate Handling

    File Handling

    DB2 and IMS Database Access

    Sort

    Documented at http://my.company.com/COBOL/utilities

    * |Copyright Interskill Learning Pty Ltd 2011 Commercial in Confidence

  • COBOL CompilesStandard Compile Options

    Do NOT Compile Programs Outside Panels

    Production Compile Output Stored in Control-D

    More Information at http://my.company.com/COBOL/compile

    * |Copyright Interskill Learning Pty Ltd 2011 Commercial in Confidence

  • COBOL SourceStored in SCLM

    Stored on SYSX Only

    Production Compiles From SCLM

    SCLM Maintained by Application Group

    * |Copyright Interskill Learning Pty Ltd 2011 Commercial in Confidence

  • COBOL ToolsMicro Focus Mainframe COBOL Development on Windows

    Compuware Abend-Aid abend analysis

    IBM Application Performance Analyzer (APA)

    CA-Optimizer COBOL Code Optimizer

  • SummaryCOBOL and Our Company

    Where COBOL Runs

    The Future of COBOL

    Why We Use COBOL

    COBOL Tools

    COBOL Programming - Basics1 hour1 hour1 hourIntroduction to COBOLProgram StructureProgram ControlInstructions and Procedures1 hourArithmetic1 hour1 hourScreen, Time and Date Input* |Copyright Interskill Learning Pty Ltd 2011 Commercial in Confidence

    *GraphicInsert your organizations name in the above slide.

    Audio You need to cover the following:

    Welcome to Our COBOL Programming. My name is _____. I work in the ___ department and have worked as a ______ in our organization for ___ years (This should be expanded so the learner is confident that you have the right credentials to create this presentation.). This presentation follows on from the second and final group of modules of the Datatrain COBOL Programming - Basics course. In this presentation, were going to look at how COBOL programming in undertaken within our company.

    If you have any questions about the course, or this presentation, send it to _______ so that it can be covered in the Webinar discussion at the end of this learning pathway.GraphicUpdate the text with information about the reasons behind general code procedures and methods used by your organization.

    AudioThis slide explains the reasons for any COBOL standards your organization has. Why are there coding standards? Why do you keep compile output? Why do you have systems to standardize COBOL compile options?

    Example:In our company, we have standard procedures and methods for creating COBOL applications. These are designed to improve the readability and reliability of our code. These also improve the performance of our COBOL code, and reduce the cost of creating COBOL applications.*GraphicUpdate the picture with information about any program or module naming standards your organization may have.

    AudioDescribe COBOL program or module naming standards or conventions you may have.

    Example:Our COBOL programs and modules follow the same naming standards. The first three characters are the application name for example SAL is sales. Utility programs start with UTL.

    The second two characters are the sub-application. For example, CM is the Commercial Sales sub-application. The last three characters can be anything to make the module unique.

    We still have some very old programs that dont fit these standards. But any programs created since 1985 do.

    *GraphicUpdate the picture with information about any COBOL programming standards your organization may have.

    AudioDescribe any COBOL programming standards you may have. There is no need to fully document all the standards here. This slide is more to introduce the fact that there are standards, an indication of what they are, and how to find them.

    Example:We have programming standards that have been proven to improve our code quality. This means that our code is easier to maintain, and more reliable. These standards include things like comments, variable naming, any limits on program sizes, and some guides to better programming. There is also a library of code fragments that can be used for common tasks.

    All COBOL programmers are required to know these standards. They can be found on our intranet at the URL in this slide.

    *GraphicUpdate the text with information about any standard utilities and routines that COBOL programmers have access to.

    AudioDescribe any standard utilities and routines that COBOL programmers have access to, and how to find them.

    Example:We have many standard routines and utilities that COBOL programmers can use. These perform standard tasks such as date handling, file handling, database access and sorting. These routines have been carefully written to be as efficient as possible. Some of them are written in Assembler to improve performance.

    All COBOL programmers are encouraged to use these utilities as much as possible. It doesnt make sense to write code if it has already been written.

    Information and documentation on these routines can be found at the URL in the slide.*GraphicUpdate the text with information about how COBOL programs are compiled, and other COBOL compile information.

    AudioDescribe any relevant information about how COBOL programs are compiled.

    Example:We have standard COBOL compile options that must be used for all COBOL compiles. These options ensure that our COBOL programs are as efficient as possible, and that we get all the output and information we need. It stops common COBOL compile mistakes.

    To enforce these standards, all COBOL compiles must be done using the standard panels and screens.

    All COBOL compile output is stored in our Control-D output management system. Support programmers can see compile output from any COBOL program years after it has been compiled.

    Find out more information about our compile standards at the URL in this slide.*GraphicUpdate the text with information about COBOL source code management.

    AudioDescribe any relevant information about COBOL source code management.

    Example:All COBOL source code is stored and controlled using IBM SCLM. You enter SCLM from the standard ISPF panels. SCLM controls code versions and security, and ensures that we dont lose any source code.

    SCLM can only be accessed from our development system, SYSX.

    All production COBOL code is compiled directly from SCLM.*GraphicUpdate the text with information about COBOL tools that are used.

    AudioDescribe any relevant information about COBOL tools.

    Example:We have a couple of tools to make our COBOL development easier.

    The big development tool is Micro Focus, which lets us develop COBOL applications on a Windows workstation. We also have CompuWare Abend-Aid that formats dumps from COBOL abends and give other information from failures.

    IBMs APA is a tool we use to analyse our COBOL applications to see where performance problems are. We also have CA-Optimizer that optimizes our COBOL code.*GraphicUpdate this summary with the major points in this presentation.

    Audio

    Example:This presentation has introduced how our company programs in COBOL compile and runtime options, coding standards and standard routines, compile and runtime options, source and compile output management, and COBOL related tools.

    From here, you will conclude with the Webinar Understanding COBOL and Your Role.

    Thank you for attending.*