0% found this document useful (0 votes)
64 views1 page

Operational Excellence - Mainframe Program Indentation Tool

This tool indents COBOL source code to increase readability and identify missing scope terminators. It works by automatically aligning clauses like PIC and TO to column 40 and inserting new lines as needed when the INDENT macro is run from the command line. The benefits are ease of reading, reduced errors from identified missing scope terminators, and increased efficiency over manual indentation. The target audience is mainframe developers who write or modify COBOL, CICS, and DB2 programs.

Uploaded by

Paresh Bhatia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views1 page

Operational Excellence - Mainframe Program Indentation Tool

This tool indents COBOL source code to increase readability and identify missing scope terminators. It works by automatically aligning clauses like PIC and TO to column 40 and inserting new lines as needed when the INDENT macro is run from the command line. The benefits are ease of reading, reduced errors from identified missing scope terminators, and increased efficiency over manual indentation. The target audience is mainframe developers who write or modify COBOL, CICS, and DB2 programs.

Uploaded by

Paresh Bhatia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 1

Mainframe Program Indentation Tool

Category
Operational Excellence

Title:

Mainframe Program Indentation Tool

Introduction & Overview


This tool is developed for the purpose of code indentation and indentifying
any missing scope terminators in the COBOL program developed on the
mainframe platform. It increases the readability/understandability of the
program which is very much desirable from the customer point of view.

Process (How it works?)


To run the tool, Just type INDENT (REXX Macro) at the command line and then
press enter. It will automatically align various COBOL clauses such as PIC, TO,
THRU etc. to the 40th Column in the source code and automatically insert new
lines, if required.

Benefits
This tool can be effectively used on the COBOL source code for the said
purpose. It would really be helpful in increasing efficiency to the mainframe
developer community having the underlying benefits:1. Ease of Read - After running INDENT tool a program would be in
readable format and it could be easily understood, which would help
doing any analysis work for the future enhancements
2. Scope of Reducing Error - It will give the warning message with line no.
if any scope terminator is missing, which would help the developer to
avoid any potential error with the scope terminators
3. Increasing Efficiency - Since there is no need of manually doing
indentation of code, so effectively productivity would be increased
Targeted Audience:
This tool would be really helpful for all mainframe developers who write
new/modify COBOL/CICS/DB2 programs

Submitted By : [email protected] (Manjit Singh) Project : ePricer IW

You might also like