getting up to speed with natural for windows © len c onsulting llc 1 getting up to speed with...

86
Getting Up to Speed with Natural for Windows © LEN CONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog [email protected]

Upload: alessandra-scofield

Post on 01-Apr-2015

218 views

Category:

Documents


4 download

TRANSCRIPT

Page 1: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC1

Getting Up to Speedwith Natural for Windows

Natural Conference 2006Ralph [email protected]

Page 2: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

2

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

For more information on our Natural for Windows curriculum, see www.ZZUtils.com/train.html.

Page 3: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

3

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Agenda

Natural Studio Customization Natural Environment Configuration Natural Studio Program Editor

Page 4: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC4

Introduction

Page 5: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

5

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio

Natural Studio Sample Layout

Page 6: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

6

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio

Menu Bar

Tool Bar

Command Line

Status Bar

Editor Toolbar

Data Editor

Program Editor

Source Editor Workspace

Library Workspace

Results

Page 7: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

7

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural 6

Plug-insExtend Natural Studio

• e.g. Predict & Construct• To enable, click Tools Options

Workspace Enable Plug-ins

Page 8: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC8

Customization and Configuration

Page 9: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

9

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 10: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

10

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Most customization is based on personal preference

Use these recommendations as a starting point

Recommended Natural Studio Setup

Page 11: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

11

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Library Workspace

File view Physical directories

and module names

Logical view Object types

in separate directories

Flat view Similar to

mainframe structure

Page 12: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

12

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Click Tools Customize

Select Compiler Options

Page 13: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

13

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Compiler Options toolbar appears

Move toolbar to command line

Page 14: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

14

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 15: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

15

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Select Program Editor Options

Page 16: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

16

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Drag and drop Line Numbers icon from Program Editor Options toolbar to Compiler Options toolbar

Page 17: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

17

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 18: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

18

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Select Tools Customize Commands Window category

Drag and drop Tile Vertically and Tile Horizontally icons to Compiler Options toolbar

Page 19: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

19

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Select Tools Session Parameters Compiler Options

Do not select Structured mode Select Generate symbol tables

Page 20: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

20

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Set Zero printing option

Set Line size and Page size options

Page 21: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

21

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Exit Natural Session Parameters

Click Yes to save modifications

Page 22: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

22

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Click Tools Options Workspace

Select Enable Plug-ins Set Auto save interval

Page 23: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

23

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

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

Page 24: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

24

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 25: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

25

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Click Tools Options Object Compare

Page 26: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

26

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Flat View

Window in 1280x102

4 screen

Ruler

Line Numbers

Customized Natural Studio Layout

Expand/Collapse

Two Concurrent

Edit Sessions

Page 27: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

27

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio CustomizationRalph's Personal Preferences

Page 28: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

28

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Customization

Flat View

Fullscreen at

1600x1200

Rulers

Line Numbers

Ralph's Personal Preferences

Expand/Collapse

Two Concurrent

Edit Sessions

Highlight current line

Page 29: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

29

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 30: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

30

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 31: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

31

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Define your graphics- and character-based printers here

NEE uses default printer in its preview mode

Double-click Printer Profiles

Page 32: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

32

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Click GUI Printer Profiles to set fonts and margins

Page 33: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

33

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Control ET logic programmatically

Click General Parameters

Page 34: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

34

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Click ADABAS Specific Set an ETID for

restartability

Page 35: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

35

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Click User DBMS Assignment Defaults to 12 – SAG-

DEMO-DB Eventually, set to your

own default database

Page 36: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

36

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Double-click Natural Execution Configuration

Page 37: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

37

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Click Character Assignments Verify settings

Page 38: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

38

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Click Command Execution Verify settings

Page 39: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

39

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Set DTFORM to USA

Click Date Representation

Page 40: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

40

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Assign default forms and reports to printers

Click Device Report Assignments

Page 41: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

41

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Set User ID Set Steplib path

Click Steplibs

Page 42: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

42

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Set Automatic logon to your default library (INIT-LIB)

Click System Variables

Page 43: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

43

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Browse to your backup directory

Click Workfiles

Page 44: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

44

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Environment Configuration

Parameter files are saved

Click Save All

Page 45: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

45

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Studio Customization Results

With high resolution, you can edit two modules comfortably

Final result

Page 46: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC46

Natural Studio

Page 47: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

47

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Context Sensitivity

Context-sensitive menus Library vs program

source

Page 48: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

48

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Context Sensitivity

Context-sensitive toolbars Environment vs FUSER

Page 49: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

49

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Context Sensitivity

Library vs object vs LDA

Context-sensitive toolbars

Page 50: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

50

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Context Sensitivity

Context menus (right-click) FUSER vs library

Page 51: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

51

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Context Sensitivity

Context menus (right-click) Module vs program source

Page 52: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

52

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Context Sensitivity

Context menus (right-click) LDA

Page 53: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

53

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio Tool Bars

Icon roll-overs for descriptions

Page 54: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC54

Natural Commands

Page 55: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

55

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Accessible from command line, menu bar, context menus, tool bars, and accelerator keys

Natural System Commands

Menu Bar

Object Tool Bar

Command Line

Page 56: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

56

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural System Commands

AIV Not available

BUS Not available

CATALL MB: Library Cat all

CATALOG OTB

CHECK Ctrl-e OTB

CLEAR OTB

COMOPT Not available

DBLOG (TEST) Not available

DEBUG (TEST) OTB: Tools Development Tools Debugger ...

DELETE Not available; MB: Object Delete CM: Delete

Translation from Mainframe to Natural for Windows

MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

Page 57: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

57

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural System Commands

DUMP Not available

EDIT Ctrl-o

EDIT A/G/L

EDIT M

EDIT N/P/S Ctrl-n

EXECUTE

FIN Alt-F4

GLOBALS Tools Session parameters ...

HELP MB

HELP/? nnnn MB: Help Natural Errors ...

Translation from Mainframe to Natural for Windows

MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

Page 58: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

58

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural System Commands

INPL

KEY Not available

LAST Command line drop-down

LASTMSG MB: Tools System Information Last Message ...

LIST

LIST COUNT

LIST DIR Alt-enter

LIST XREF Requires Predict installation

LISTSQL Not available

LOGOFF

Translation from Mainframe to Natural for Windows

MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

Page 59: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

59

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural System Commands

LOGON

MAIL Requires Natural Security

MAINMENU Not available

NATLOAD Not available; see SYSOBJH

NATUNLD Not available; see SYSOBJH

NOCOPT Not available

NOCSHOW Not available

NOCSTAT Not available

PROFILE Requires Natural Security

READ

Translation from Mainframe to Natural for Windows

MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

Page 60: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

60

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural System Commands

RENAME

RENUMBER

RETURN

ROUTINES Not available

RPCERR Not available

RUN Ctrl-r

PURGE

SAVE

SCAN MB: Library Find Objects

SCRATCH

Translation from Mainframe to Natural for Windows

MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

Page 61: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

61

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural System Commands

SETUP

SQLERR Not available

STOW Ctrl-t

STRUCT

SYSADA Not available

SYSBPM Start All Programs Software AG Natural 6.1.1 Bufferpool Monitor

SYSDB2 Not available

SYSDDM Not available

SYSEDT Not available

Translation from Mainframe to Natural for Windows

MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

Page 62: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

62

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural System Commands

SYSERR MB: Tools Development Tools Error Messages ...

SYSEXT MB: Tools Development Tools Application Programming Interface ...

SYSFILE MB: Tools System Information Work and Print Files ...

SYSMAIN Object Maintenance

SYSNCP

SYSOBJH MB: Tools Development Tools Object Handler ...

SYSPROD MB: Tools System Information Product Information ...

SYSPROF MB: Tools System Information System Files ...

SYSRPC

Translation from Mainframe to Natural for Windows

MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

Page 63: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

63

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural System Commands

SYSTP Not available

SYSTRANS Replaced by SYSOBJH

SYSUNLD Replaced by SYSOBJH

TECH MB: Tools System Information

Technical Information ...

TEST Not available

UNCATALOG

UPDATE

XREF Requires Predict

Translation from Mainframe to Natural for Windows

MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

Page 64: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

64

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural System Commands

Edit V New DDM – MB: Object New DDM

Edit 3 New Dialog – MB: Object New Dialog

Edit 4 New Class – MB: Object New Class

Edit 7 New Function – MB: Object New Function

MAP New for SPoD - MB: Tools Map Application

MAP New for SPoD - MB: Tools Map Environment

REGISTER New for NaturalX

UNLOCK New for SPoD

UNMAP New for SPoD

UNREGISTER New for NaturalX

Print Ctrl-p Print

Natural for Windows

MB: Menu Bar OTB: Object Tool Bar CM : Context Menu

Page 65: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

65

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Compiler Options

Context Tool Bars

Edit Tool Bar

Program Editor View

Page 66: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

66

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Compiler Options

Dump Generate Dump on/off

Format source Struct

Line numbers On/off

Mode Structured Mode on/off

Renumber

Symgen Generate Symbol Table on/off

Tile Horizontally

Tile Vertically

Page 67: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

67

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Edit Tool Bar

Close Ctrl-F4

Copy Ctrl-c

Cut Ctrl-x

Delete

Find Ctrl-f

Find next F3

Paste Ctrl-v

Redo Ctrl-y

Replace Ctrl-h

Replace next Ctrl-F3

Select all Ctrl-a

Undo Ctrl-z

Page 68: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

68

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Program Editor View

Expand/Collapse

Expand All

Collapse All

Split Horizontal

Split Vertical

Unsplit

No SHIFT editor command

Page 69: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

69

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Data Area Editor

Context Tool Bars

DDM Editor

Page 70: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

70

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Map Editor

Context Tool Bars

Dialog Editor

Page 71: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

71

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural for Windows – Using Natural Studio Shortcut Keys Ctrl-n New object Ctrl-o Open object Ctrl-e Check Ctrl-s Save Ctrl-shift-a Save all Crtl-t Stow Ctrl-r Run Ctrl-p Print Alt-enter Properties Alt-F4 Exit Ctrl-d Command box

Natural System Commands

Page 72: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

72

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 73: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

73

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 74: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

74

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio

Filters Select FUSER, FNAT,

or library Display Filter ... from

context menu

Specify one or more filters (wildcards)

Page 75: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

75

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Natural Studio

Filtered list Resources are not

filtered until 6.2

Checkbox to turn filters off and on

Page 76: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC76

Program Editor

Page 77: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

77

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 78: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

78

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Program Editor

Edit area font sizes e.g. for legibility e.g. for demon purposes(Courier New 10 vs Lucida Console

16)

Tools Options Program Editor Font …

Page 79: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

79

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Program Editor

Begin construct

End construct

Bookmark

Breakpoint

Current line

Highlighted text

Long line

Current construct

Page 80: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

80

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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”

Page 81: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

81

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Program Editor

FIND (scan)• Ctrl-f

• Find boxDocumentation / help

• e.g. Tools Contents StatementsRight-click object name within

source to list or open objectVertical/horizontal split (vs Tile

Windows w/in Workspace)

Page 82: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

82

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Program Editor

Comment Ctrl-m Edit Advanced Add Comment Mark(s)

Find Ctrl-f Find box enter criterion

Find box select criterion from list

Go to Ctrl-g Edit Go to ...

Lower case Ctrl-Shift-l

Uncomment Ctrl-Shift-m Edit Advanced Remove Comment Mark(s)

Upper case Ctrl-Shift-u

Page 83: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

83

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Program Editor

Toggle breakpoint F9

Toggle bookmark Ctrl-Alt-b

Next bookmark Ctrl-Alt-n

Previous bookmark Ctrl-Alt-p

Clear bookmarks Ctrl-Alt-l

Toggle text highlighting Ctrl-space

Break at ruler position Context menu

Page 84: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

84

Getting Up to Speed with Natural for Windows© LEN CONSULTING 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

Page 85: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

85

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC

Fin

Page 86: Getting Up to Speed with Natural for Windows © LEN C ONSULTING LLC 1 Getting Up to Speed with Natural for Windows Natural Conference 2006 Ralph Zbrog RGZbrog@ZZUtils.com

Getting Up to Speed with Natural for Windows© LEN CONSULTING LLC86

Getting Up to Speed with Natural for Windows

Natural Conference 2006Ralph [email protected]