COBOL Keyword Information
Fetches detailed documentation for COBOL keywords from the Mainframe Master quick reference.
Usage
bash
ruby <skill-dir>/scripts/fetch_from_doc.rb <keyword>
The keyword should be lowercase, in kebab case if there're some spaces and match COBOL syntax terms (e.g., move, perform, blank, data-division).
Output
Returns structured markdown with:
- •Keyword description and purpose
- •Syntax examples in code blocks
- •Usage patterns and best practices
- •Related tables or reference information
Dependency
Requires nokogiri gem. Install with:
bash
gem install nokogiri
if that dependency is not yet installed