Presentation is loading. Please wait.

Presentation is loading. Please wait.

Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 1 Natural Studio Customization and Navigation Natural Conference 2005 Ralph Zbrog.

Similar presentations


Presentation on theme: "Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 1 Natural Studio Customization and Navigation Natural Conference 2005 Ralph Zbrog."— Presentation transcript:

1 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 1 Natural Studio Customization and Navigation Natural Conference 2005 Ralph Zbrog RGZbrog@ZZUtils.com

2 2 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Excerpts from a 2-day seminar: Introduction to Natural/Adabas for Windows. See www.ZZUtils.com/train.html for more information.www.ZZUtils.com/train.html

3 3 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Agenda Natural Studio Customization Natural Environment Configuration Natural Studio Program Editor

4 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 4 Introduction

5 5 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Natural Studio Sample Layout

6 6 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Menu Bar Tool Bar Command Line Status Bar Editor Toolbar Data Editor Program Editor Source Editor Workspace Library Workspace Results

7 7 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural 6.1  Plug-ins  Extend Natural Studio e.g. Predict & Construct To enable, click Tools  Options  Workspace  Enable Plug-ins

8 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 8 Customization and Configuration

9 9 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Toolbars, Library Workspace, Command Line, and Editor Tool Bar are dockable Many functions require multiple clicks Intent of customization is to improve productivity Default Natural Studio Setup Command Line default

10 10 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Most customization is based on personal preference Use these recommendations as a starting point Recommended Natural Studio Setup

11 11 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Library Workspace File view Physical directories and module names Logical view Object types in separate directories Flat view Similar to mainframe structure

12 12 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Click Tools  Customize Select Compiler Options

13 13 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Compiler Options toolbar appears Move toolbar to command line

14 14 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 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

15 15 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Select Program Editor Options

16 16 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Drag and drop Line Numbers icon from Program Editor Options toolbar to Compiler Options toolbar

17 17 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Drag and drop Program Editor and Program Editor View toolbars onto the desktop Exit/close the two floating toolbars Program Editor and Program Editor View are deselected automatically Deselect Program Editor Options

18 18 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Select Tools  Customize  Commands Window category Drag and drop Tile Vertically and Tile Horizontally icons to Compiler Options toolbar

19 19 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Select Tools  Session Parameters  Compiler Options Do not select Structured mode Select Generate symbol tables

20 20 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Set Zero printing option Set Line size and Page size options

21 21 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Exit Natural Session Parameters Click Yes to save modifications

22 22 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Click Tools  Options  Workspace Select Enable Plug-ins Set Auto save interval

23 23 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Click Tools  Options  Program Editor Select Expand/Collapse Set Ruler Position to 72 Select Uppercase translation

24 24 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 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

25 25 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Flat View Window in 1280x1024 screen Ruler Line Numbers Customized Natural Studio Layout Expand/Collapse Two Concurrent Edit Sessions

26 26 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Customization Flat View Fullscreen at 1600x1200 Ruler Line Numbers Personal Preferences Expand/Collapse Two Concurrent Edit Sessions

27 27 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 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

28 28 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration As you create new databases, list them here for access via Natural Double-click Global Configuration File Double-click DBMS Assignments

29 29 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Define your graphics- and character-based printers here NEE uses default printer in its preview mode Double-click Printer Profiles

30 30 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Click GUI Printer Profiles to set fonts and margins

31 31 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Control ET logic programmatically Click General Parameters

32 32 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Click ADABAS Specific Set an ETID for restartability

33 33 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Click User DBMS Assignment Defaults to 12 – SAG- DEMO-DB Eventually, set to your own default database

34 34 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Double-click Natural Execution Configuration

35 35 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Click Character Assignments Verify settings

36 36 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Click Command Execution Verify settings

37 37 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Set DTFORM to USA Click Date Representation

38 38 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Assign default forms and reports to printers Click Device Report Assignments

39 39 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Set User ID Set Steplib path Click Steplibs

40 40 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Set Automatic logon to your default library (INIT-LIB) Click System Variables

41 41 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Browse to your backup directory Click Workfiles

42 42 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Environment Configuration Parameter files are saved Click Save All

43 43 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Studio Customization Results With high resolution, you can edit two modules comfortably Final result

44 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 44 Natural Studio

45 45 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Context Sensitivity Context-sensitive menus Library vs program source

46 46 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Context Sensitivity Context-sensitive toolbars Environment vs FUSER

47 47 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Context Sensitivity Library vs object vs LDA Context-sensitive toolbars

48 48 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Context Sensitivity Context menus (right- click) FUSER vs library

49 49 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Context Sensitivity Context menus (right-click) Module vs program source

50 50 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Context Sensitivity Context menus (right- click) LDA

51 51 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Tool Bars Icon roll-overs for descriptions

52 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 52 Natural Commands

53 53 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Accessible from command line, menu bar, context menus, tool bars, and accelerator keys Natural System Commands Menu Bar Object Tool Bar Command Line

54 54 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands AIVNot available BUSNot available CATALLMB: Library  Cat all CATALOGOTB CHECKCtrl-eOTB CLEAROTB COMOPTNot available DBLOG (TEST)Not available DEBUG (TEST)OTB: Tools  Development Tools  Debugger... DELETENot available; MB: Object  Delete CM: Delete Translation from Mainframe to Natural for Windows MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

55 55 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands DUMPNot available EDITCtrl-o EDIT A/G/L EDIT M EDIT N/P/SCtrl-n EXECUTE FINAlt-F4 GLOBALSTools  Session parameters... HELPMB HELP/? nnnnMB: Help  Natural Errors... Translation from Mainframe to Natural for Windows MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

56 56 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands INPL KEYNot available LASTCommand line drop-down LASTMSGMB: Tools  System Information  Last Message... LIST LIST COUNT LIST DIRAlt-enter LIST XREFRequires Predict installation LISTSQLNot available LOGOFF Translation from Mainframe to Natural for Windows MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

57 57 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands LOGON MAILRequires Natural Security MAINMENUNot available NATLOADNot available; see SYSOBJH NATUNLDNot available; see SYSOBJH NOCOPTNot available NOCSHOWNot available NOCSTATNot available PROFILERequires Natural Security READ Translation from Mainframe to Natural for Windows MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

58 58 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands RENAME RENUMBER RETURN ROUTINESNot available RPCERRNot available RUNCtrl-r PURGE SAVE SCANMB: Library  Find Objects SCRATCH Translation from Mainframe to Natural for Windows MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

59 59 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands SETUP SQLERRNot available STOWCtrl-t STRUCT SYSADANot available SYSBPMStart  All Programs  Software AG Natural 6.1.1  Bufferpool Monitor SYSDB2Not available SYSDDMNot available SYSEDTNot available Translation from Mainframe to Natural for Windows MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

60 60 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands SYSERRMB: Tools  Development Tools  Error Messages... SYSEXTMB: Tools  Development Tools  Application Programming Interface... SYSFILEMB: Tools  System Information  Work and Print Files... SYSMAINObject Maintenance SYSNCP SYSOBJHMB: Tools  Development Tools  Object Handler... SYSPRODMB: Tools  System Information  Product Information... SYSPROFMB: Tools  System Information  System Files... SYSRPC Translation from Mainframe to Natural for Windows MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

61 61 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands SYSTPNot available SYSTRANSReplaced by SYSOBJH SYSUNLDReplaced by SYSOBJH TECHMB: Tools  System Information  Technical Information... TESTNot available UNCATALOG UPDATE XREFRequires Predict Translation from Mainframe to Natural for Windows MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

62 62 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands Edit VNew DDM – MB: Object  New  DDM Edit 3New Dialog – MB: Object  New  Dialog Edit 4New Class – MB: Object  New  Class Edit 7New Function – MB: Object  New  Function MAPNew for SPoD - MB: Tools  Map  Application MAPNew for SPoD - MB: Tools  Map  Environment REGISTERNew for NaturalX UNLOCKNew for SPoD UNMAPNew for SPoD UNREGISTERNew for NaturalX PrintCtrl-pPrint Natural for Windows MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

63 63 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Compiler Options Context Tool Bars Edit Tool Bar Program Editor View

64 64 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Compiler Options DumpGenerate Dump on/off Format sourceStruct Line numbersOn/off ModeStructured Mode on/off Renumber SymgenGenerate Symbol Table on/off Tile Horizontally Tile Vertically

65 65 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Edit Tool Bar CloseCtrl-F4 CopyCtrl-c CutCtrl-x Delete FindCtrl-f Find nextF3 PasteCtrl-v RedoCtrl-y ReplaceCtrl-h Replace nextCtrl-F3 Select allCtrl-a UndoCtrl-z

66 66 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Program Editor View Expand/Collapse Expand All Collapse All Split Horizontal Split Vertical Unsplit No SHIFT editor command

67 67 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Data Area Editor Context Tool Bars DDM Editor

68 68 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Map Editor Context Tool Bars Dialog Editor

69 69 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural for Windows – Fundamentals  Natural Studio Introduction  Accelerators Ctrl-nNew object Ctrl-oOpen object Ctrl-eCheck Ctrl-sSave Ctrl-shift-aSave all Crtl-tStow Ctrl-rRun Ctrl-pPrint Alt-enterProperties Alt-F4Exit Ctrl-dCommand box Natural System Commands

70 70 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural System Commands Create a library Highlight FUSER Menu bar: Library  New CATALL Highlight library Menu bar: Library  Cat All Find Objects (SCAN) Menu bar: Library  Find Objects Select one library, all, or wildcard Results window e.g. CATALL and Find Objects

71 71 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Vertical/horizontal Tile (vs Editor split) Session parameters From Tools menu For current session only, unless PERSIST flag is set in Configuration Utility Natural Execution Configuration  Program Loading/Deletion  Persistent parameter module

72 72 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Filters Select FUSER, FNAT, or library Display Filter... from context menu Specify one or more filters (wildcards)

73 73 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Studio Filtered list Resources are not filtered Checkbox to turn filters off and on

74 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 74 Program Editor

75 75 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Natural Objects Suffix is of the format Nmo N=Natural m=module type S source G generated (cataloged) o=object type A Parameter data area D DDM G Global data area M Map N Subprogram P Program S Subroutine T Text 3 Dialog 4 Class 7 Function

76 76 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Program Editor Edit area font sizes e.g. for legibility e.g. for demonstration purposes Tools  Options  Program Editor  Font...

77 77 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Program Editor Copy/cut/paste e.g. create subprogram or copycode Expand/collapse all or individual structures Uppercase translation Text strings vs CALLNAT “module”

78 78 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Program Editor FIND (scan) Ctrl-f Find box Documentation / help e.g. Tools  Contents  Statements Right-click object name within source to list or open object Vertical/horizontal split (vs Tile Windows w/in Workspace)

79 79 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Program Editor CommentCtrl-mEdit  Advanced  Add Comment Mark(s) FindCtrl-fFind box  enter criterion Find box  select criterion from list Go toCtrl-gEdit  Go to... Lower caseCtrl-Shift-l UncommentCtrl-Shift-mEdit  Advanced  Remove Comment Mark(s) Upper caseCtrl-Shift-u

80 80 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Program Execution Output area Separate child window SPoD mainframe emulator Double-click acts as the Enter key Esc key Use the Esc key to terminate a runaway program

81 81 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC Fin

82 Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 82 Natural Studio Customization and Navigation Natural Conference 2005 Ralph Zbrog RGZbrog@ZZUtils.com


Download ppt "Natural Studio Customization and Navigation © 2005 LEN C ONSULTING LLC 1 Natural Studio Customization and Navigation Natural Conference 2005 Ralph Zbrog."

Similar presentations


Ads by Google