WikiMint

Documentation for COBOL, read from the code

WikiMint turns COBOL source into Confluence pages. Every statement on a page comes from a line of code, and the same code gives the same pages on every run.

01 The source

One paragraph from AWS CardDemo, a sample mainframe application.

       1350-WRITE-ACCT-RECORD.
           WRITE OUT-ACCT-REC.

           IF OUTFILE-STATUS NOT = '00' AND OUTFILE-STATUS NOT = '10'
              DISPLAY 'ACCOUNT FILE WRITE STATUS IS:'  OUTFILE-STATUS
              MOVE OUTFILE-STATUS  TO IO-STATUS
              PERFORM 9910-DISPLAY-IO-STATUS
              PERFORM 9999-ABEND-PROGRAM
           END-IF.
           EXIT.

From app/cbl/CBACT01C.cbl in AWS CardDemo. Copyright Amazon.com, Inc. or its affiliates. Licensed under the Apache License 2.0.

02 The page

The row WikiMint writes for that paragraph on the CBACT01C page:

NameRiskSynopsis
1350-WRITE-ACCT-RECORDDestructiveFrom the code: a paragraph that performs 9910-DISPLAY-IO-STATUS, 9999-ABEND-PROGRAM; writes OUT-FILE.

The same paragraph's section on that page, in Confluence:

The 1350-WRITE-ACCT-RECORD section of the CBACT01C page in Confluence. It lists what the paragraph performs and writes, statement counts of PERFORM 2, DISPLAY 1, IF 1, MOVE 1 and WRITE 1, and a risk of Destructive.
03 What each page shows
  • For each paragraph: what it performs, the programs it calls, and the files it reads and writes.
  • For each program: LINKAGE items, CICS LINK and XCTL targets, CICS files, SQL tables and DD names.
  • For the application: a program index that links every page.

What WikiMint reads from COBOL and the other languages, row by row →

04 Free pilot on one application

Run WikiMint on one application of up to 100 programs, free for 30 days. Larger applications are quoted on request. Your team checks the pages against the code.

Write to support@detentpoint.com to start one.

WikiMint documents