Natural Language Commands
One of Zcrafter's most powerful features is its ability to understand natural language. You don't need to memorize complex syntax or commands - just ask questions in plain English.
How It Works
When you're in Interactive Mode, simply type your question or request in normal conversational English. Zcrafter uses advanced AI to understand your intent and provide relevant answers.
Example:
How do I fix a S0C7 error in COBOL?Zcrafter will respond with a detailed explanation of S0C7 errors, common causes, and solutions.
Types of Questions You Can Ask
1. Explaining Errors
Ask about any mainframe error code or issue:
What is a S0C4 ABEND and how do I fix it?Why did my JCL job fail with error IEF452I?Explain what a SQL -803 error meansResponse includes:
- What the error means
 - Common causes
 - Solutions
 - Prevention tips
 
2. Understanding Code
Get explanations of what code does:
Explain what this COBOL program doesWhat does this JCL step accomplish?Walk me through this DB2 queryResponse includes:
- High-level overview
 - Detailed explanation
 - Input/output description
 - Dependencies
 
3. Code Analysis
Ask Zcrafter to analyze your code:
Analyze this COBOL program for bugsReview this JCL for potential issuesCheck this PL/I code for performance problemsWhat Zcrafter analyzes:
- Syntax errors
 - Logic bugs
 - Performance issues
 - Best practice violations
 
4. Optimization Advice
Get suggestions to improve performance:
How can I make this COBOL program faster?Optimize this DB2 query for better performanceReduce the runtime of this batch jobSuggestions include:
- Performance improvements
 - Resource usage reduction
 - Best practices
 
5. Debugging Help
Get help troubleshooting issues:
My COBOL program is getting wrong results, help me debug itWhy is my JCL job timing out?This program worked yesterday but fails today, what could be wrong?Debugging assistance:
- Root cause analysis
 - Debugging steps
 - Test suggestions
 
6. Learning and Education
Ask to learn mainframe concepts:
Explain how VSAM files workWhat's the difference between QSAM and VSAM?Teach me about CICS transactionsEducational responses:
- Clear explanations
 - Examples
 - Use cases
 - Related concepts
 
7. Modernization Guidance
Get advice on modernizing legacy systems:
How can I modernize this batch COBOL program?What's the best way to migrate from VSAM to DB2?What modern patterns can replace this old code?Modernization advice:
- Migration strategies
 - Technology recommendations
 - Step-by-step plans
 
8. Best Practices
Ask about mainframe development best practices:
What are COBOL coding best practices?How should I structure my JCL for maintainability?What's the right way to handle errors in COBOL?Best practice guidance:
- Industry standards
 - Common patterns
 - What to avoid
 
Asking Effective Questions
Be Specific
Less effective:
Help with COBOLMore effective:
Help me understand why my COBOL program is getting a data exception errorProvide Context
Less effective:
Fix my codeMore effective:
This COBOL payroll program should calculate overtime, but it's returning zeroInclude Error Messages
Less effective:
My job failedMore effective:
My JCL job PAYROLL1 failed with error code S0C7Break Down Complex Questions
Instead of:
Analyze my entire application and tell me everything wrong with it and how to fix it and modernize itTry:
First, analyze this COBOL program for bugs
[After getting response]
Now suggest performance optimizations
[After getting response]
What modernization approaches would you recommend?Multi-Turn Conversations
Zcrafter remembers your conversation within a session:
What is a S0C7 error?
[Zcrafter explains]
How do I prevent it?
[Zcrafter provides prevention tips]
Show me an example
[Zcrafter provides example]Common Use Cases
For COBOL Developers
Explain this COBOL PERFORM statementWhy is my OCCURS DEPENDING ON clause failing?How do I properly handle file status codes?For JCL Developers
What does this DD statement do?How do I pass parameters between JCL steps?Explain COND codes in JCLFor Database Developers
Optimize this DB2 queryExplain RUNSTATS and why it mattersHow do I create an efficient index?For System Operators
How do I respond to message IEE094D?What does WTOR mean?How to cancel a hung job safely?Common Patterns
Analysis Pattern
Analyze [description] for [bugs/performance/security/etc.]Explanation Pattern
Explain [concept/error/process]
What is [term/technology]?
How does [feature/function] work?Troubleshooting Pattern
Why is [problem happening]?
Fix [error/issue]
Debug [symptom]
[Something] is not working, helpLearning Pattern
Teach me [concept]
What's the difference between [A] and [B]?
Show me examples of [pattern/practice]Improvement Pattern
Optimize [description]
Improve [aspect]
Make [program] faster/better/more efficientTips for Best Results
- Start broad, then narrow down: Begin with general questions, then ask follow-ups for specifics
 - Provide context when relevant: Include relevant details about your environment
 - Ask one thing at a time: Better to ask 3 separate questions than 1 complex question
 - Use follow-up questions: Build on previous answers
 - Be patient: Complex analysis may take a moment
 
What Zcrafter Can Help With
Zcrafter can help you:
- Understand error messages and codes
 - Analyze mainframe programs
 - Learn mainframe concepts
 - Debug issues
 - Optimize performance
 - Understand best practices
 - Modernize legacy systems
 - Troubleshoot problems
 
Next Steps
- Learn about Slash Commands for quick actions
 - Check Troubleshooting if you encounter issues