Menu

Version 4.2 Changes

More COBOL syntax is handled properly.

To an extent, there is some support of Occurs Depending On.

Also, some more complex 88-level items are properly parsed.

Small scripts like this can be used to confirm how well COBOL is supported.

import stingray.cobol.loader
import logging, sys
import pprint
logging.basicConfig(stream=sys.stderr, level=logging.DEBUG)
with open("CCCCMST3.TXT", "r") as cobol:
        schema= stingray.cobol.loader.COBOLSchemaLoader( 
            cobol, replacing=[("'XXXX'","X")] ).load()
        pprint.pprint( schema )
logging.shutdown()
Posted by Steven F. Lott 2014-04-07

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.