Learn NATURAL-SCRIPTING with Real Code Examples
Updated Nov 27, 2025
Architecture
Modular program structure using subprograms and macros
Batch or online execution models
Database-centric execution with strong integration to Adabas
State management via program variables and database records
Control flow primarily procedural with loops, conditions, and exception handling
Rendering Model
Procedural execution flow
Batch or online transaction processing
Subprogram calls for modularity
Database read/write operations integrated
Event-driven triggers in online environment
Architectural Patterns
Procedural batch-oriented
Modular subprogram architecture
Database-centric business logic
Integration with middleware for external systems
Legacy mainframe compatibility
Real World Architectures
Banking transaction processing
Insurance claims management
Payroll and HR management
Government administrative systems
Inventory and logistics management
Design Principles
Readable, English-like syntax
Database-centric and procedural
Modularization for maintainable code
Rapid development of business applications
Compatibility with legacy mainframe and server systems
Scalability Guide
Optimize database access with indexes and views
Split large batch jobs into smaller units
Use subprograms and modularization to manage complexity
Monitor performance metrics on mainframe or server
Batch and online tasks tuned for efficient throughput
Migration Guide
Review legacy Natural programs for modernization
Refactor subprograms and database access logic
Replace deprecated constructs with supported alternatives
Test thoroughly on target environments
Document logic and maintain version control