860 likes | 1.04k Views
Getting Up to Speed with Natural for Windows. Ralph Zbrog RGZbrog@ZZUtils.com. Natural Conference 2006. For more information on our Natural for Windows curriculum, see www.ZZUtils.com/train.html. Agenda. Natural Studio Customization Natural Environment Configuration Natural Studio
E N D
Getting Up to Speedwith Natural for Windows Ralph Zbrog RGZbrog@ZZUtils.com • Natural Conference 2006
For more information on our Natural for Windows curriculum, see www.ZZUtils.com/train.html.
Agenda • Natural Studio Customization • Natural Environment Configuration • Natural Studio • Program Editor
Natural Studio Natural Studio Sample Layout
Natural Studio Program Editor Menu Bar Tool Bar Editor Toolbar Source Editor Workspace Library Workspace Data Editor Command Line Results Status Bar
Natural 6 • Plug-ins • Extend Natural Studio • e.g. Predict & Construct • To enable, click Tools Options Workspace Enable Plug-ins
Natural Studio Customization Default Natural Studio Setup • Toolbars, Library Workspace, Command Line, and Editor Tool Bar are dockable • Many functions require multiple clicks • Intent of customization is to improve productivity • Command Line default
Natural Studio Customization Recommended Natural Studio Setup • Most customization is based on personal preference • Use these recommendations as a starting point
Library Workspace • File view • Physical directories and module names • Logical view • Object types in separate directories • Flat view • Similar to mainframe structure
Natural Studio Customization • Click Tools Customize • Select Compiler Options
Natural Studio Customization • Compiler Options toolbar appears • Move toolbar to command line
Natural Studio Customization • Drag and drop Renumber icon from Program Editor toolbar to Compiler Options toolbar • Drag and drop Format Source icon from Program Editor to Compiler Options
Natural Studio Customization • Select Program Editor Options
Natural Studio Customization • Drag and drop Line Numbers icon from Program Editor Options toolbar to Compiler Options toolbar
Natural Studio Customization • Drag and drop Program Editor and Program Editor View toolbars onto the desktop • Exit/close the two floating toolbars • ProgramEditor and Program Editor View are deselected automatically • Deselect Program Editor Options
Natural Studio Customization • Select Tools Customize Commands • Window category • Drag and drop Tile Vertically and Tile Horizontally icons to Compiler Options toolbar
Natural Studio Customization • Select Tools Session Parameters Compiler Options • Do not select Structured mode • Select Generate symbol tables
Natural Studio Customization • Set Zero printing option • Set Line size and Page size options
Natural Studio Customization • Exit Natural Session Parameters • Click Yes to save modifications
Natural Studio Customization • Click Tools Options Workspace • Select Enable Plug-ins • Set Auto save interval
Natural Studio Customization • Click Tools Options Program Editor • Select Syntax coloring • Select Expand/Collapse • Select Highlight current line • Set Ruler Position to 72 • Select Uppercase translation • Select Automatic line breaks • Select Ignore text constants
Natural Studio Customization • Click Tools Options Output Window • Select • Activate report page buffer • Display PF key • Display more • Disable help • Fixed fonts • Deselect • Display input • Disable ESC • Disable profile
Natural Studio Customization • Click Tools Options Object Compare
Natural Studio Customization Customized Natural Studio Layout Window in 1280x1024 screen Line Numbers Expand/Collapse Two ConcurrentEdit Sessions Ruler Flat View
Natural Studio Customization Ralph's Personal Preferences
Natural Studio Customization Ralph's Personal Preferences Fullscreen at 1600x1200 Highlight current line Two ConcurrentEdit Sessions Line Numbers Expand/Collapse Rulers Flat View
Natural Environment Configuration • Click Start All Programs Software AG Natural 6.1.1 Configuration Utility • C:\Program Files \Software AG\Natural \6.1.1\Bin \natparm.exe
Natural Environment Configuration • Double-click Global Configuration File • Double-click DBMS Assignments • As you create new databases, list them here for access via Natural
Natural Environment Configuration • Double-click Printer Profiles • Define your graphics- and character-based printers here • NEE uses default printer in its preview mode
Natural Environment Configuration • Click GUIPrinter Profiles to set fonts and margins
Natural Environment Configuration • Click General Parameters • Control ET logic programmatically
Natural Environment Configuration • Click ADABAS Specific • Set an ETID for restartability
Natural Environment Configuration • Click User DBMS Assignment • Defaults to 12 – SAG-DEMO-DB • Eventually, set to your own default database
Natural Environment Configuration • Double-click Natural Execution Configuration
Natural Environment Configuration • Click Character Assignments • Verify settings
Natural Environment Configuration • Click Command Execution • Verify settings
Natural Environment Configuration • Click Date Representation • Set DTFORM to USA
Natural Environment Configuration • Click Device Report Assignments • Assign default forms and reports to printers
Natural Environment Configuration • Click Steplibs • Set User ID • Set Steplib path
Natural Environment Configuration • Click System Variables • Set Automatic logon to your default library (INIT-LIB)
Natural Environment Configuration • Click Workfiles • Browse to your backup directory
Natural Environment Configuration • Click Save All • Parameter files are saved
Studio Customization Results • Final result • With high resolution, you can edit two modules comfortably
Natural Studio Context Sensitivity • Context-sensitive menus • Library vs program source
Natural Studio Context Sensitivity • Context-sensitive toolbars • Environment vs FUSER
Natural Studio Context Sensitivity • Context-sensitive toolbars • Library vs object vs LDA
Natural Studio Context Sensitivity • Context menus (right-click) • FUSER vs library