Title: Natural v6.1 Features
1Natural v6.1 - Features
- Bruce Beaman
- Director, Enterprise Product Marketing Software
AG, Inc
2Natural 6.1 for Windows and Unix
- Agenda
- Natural Development Server for Unix
- Natural for Tamino
- Enhanced language
- Change enhancements
- XML toolkit
- Natural Web Interface
- Editors
3Natural 6.1 - New Add On Products
- Natural Development Server for Unix
- SPoD V2 support
- Transparent access to FUSER on Unix
- Predict, Construct Natural Engineer PlugIns
supported - Simplified cross platform development
- Natural for Tamino for Windows and Unix
- Transparent access to Tamino
4Single Point of Development (SPoD)Integrating
Software AG Products
Single Point of Development
PredictServer
Development Server PlugIn
Natural ConstructServer
Natural EngineerServer
Natural
Mainframe Navigator Server
Development Server
SPoD Clients
Target Platform
5Single Point of Development
- Why SPoD ?
- Single view to all environments
- Same tools for different platforms
- Uniform graphical user interface
- E.g. CutPaste from one location to another
- Remote Development
- Remote Test
- Remote Debugging
6Single Point of Development
7Single Point of Development
8Client Plug-ins
- XRef Evaluation
- Predict
- Program Generation
- Construct
- Schema Generation
- Predict
- Metrics and XRef Viewing
- Natural Engineer
- Object Description
- Predict
- Mainframe Navigation
- Natural ISPF
9Architecture Example SPoD V2
Clients
Predict4.3
Development Server PlugIn
Natural Construct4.5
Natural 3.1.6
Natural EngineerServer
Development Server
Mainframe Navigator Server
Development Server
Entire NET-WORK
Mainframe
Unix
10Application View
Compound Application
11Natural Studio NDV UnixCommunication
Single Point of Development for Unix
Naturalprocess
PAL communication
Listener process
TCP/IP port
2. Socket startup parm
1. Connect
Naturalprocess
3. PAL communication
Clients
Unix
12Single Point of Development
- Product status
- Natural Development Server 2.1.2
- Natural 6.1.1 Windows
- Natural 3.1.6 or 4.1.2 Mainframe
- Predict 4.3.1 ()
- Natural Construct 4.5.1 ()
- Natural ISPF 2.5.1 ()
- Entire System Server 3.2.1 ()
- Natural Engineer 4.4.2 ()
- () required only when Plug-in is used.
13Natural for Tamino
Natural
Tamino
Natural Program
http
httpserver
Natural for Tamino
Natural DML Natural View
Parser
14Natural for Tamino
- DDM generation based on Tamino doctype (XML
Schema) - Xquery FLWR expression generated from Natural DML
- FLWR For Let Where Return
- FLWR example
- for x in input()/Employee
- let a x/Full-Name/Name
- let b x/Full-Adress/city
- where a gt WOOLSEY
- return ltMyOutputgtablt/MyOutputgt
- W3C standard Xquery does not define updates on
node level - Today Natural for Tamino doesnt support updates
on node level - However Insert, Delete, Replace is supported.
15Natural for Tamino
- The Idea
- / read employees from Tamino
- define data local
- using INS-EMP2
- end-define
- read ins-empl by name WOOLSEY
- print employee
- end-read
- end
- The Answer
16Natural for Tamino vs - Parse
- Natural for Tamino
- Characteristics
- Access through Naturals powerful, easy-to-use
DML - Interaction with business logic through Natural
data structures - Value
- No new skills required
- No third-party technology required
- Long-living and easy-to-maintain business logic
(through database independence) - Reduced development and maintenance costs
- Naturals Parse statement
- Characteristics
- Decomposes XML document into stream of tag/value
pairs - Is an integral part of the language
- Value
- Increased productivity during development
- High flexibility through independence from data
structure - Long-living and easy-to-maintain business logic
(through platform independence)
17Natural 6.1Enhanced Language
- PARSE Statement
- Example
- parse xml xml-data into path xml-path
- name
xml-name - value
xml-value - display xml-path (al60) xml-name (al15)
xml-value (AL11) - end-parse
- Example output
18Natural 6.1Enhanced Language
- Dynamic Arrays
- Arrays of dynamic variables
- Arrays with dynamic number of occurrences
- DEFINE DATA LOCAL
- 01 DYN-ARR (A/110) DYNAMIC
- 01 DYN-GROUP (1)
- 02 NAME (A) DYNAMIC
- 02 AGE (N5)
- END-DEFINE
- Enhanced String processing
- EXAMINE - STARTING ENDING DIRECTION
- Function TRANSLATE Translate string to lower or
upper case - Function TRIM Remove leading and / or trailing
blanks - Large Constants and Init Values more than 253
Bytes
19Natural 6.1Change Enhancements
- Printing Treeview and Listview
- Fonts in data and program editor
- MINVAL / MAXVAL as system function
- Modifiable fields with edit masks
- Thousand separator
- Append work file
- FUNCTIONS
- New user interface for Debugger
20Enhanced XML Toolkit
- Use new Natural features
- Parse Statement
- Dynamic arrays
- XML Schema Support
- Encoding of Natural data structures according to
XML Schema - Support XML name spaces
21Enhanced XML Toolkit
- Example Parse \SYSEXINS\RES\Employee_ino4x_schema
.tsd - PARSE XML XML_INPUT INTO PATH XML_PATH VALUE
XML_VALUE - DECIDE ON FIRST XML_PATH
- VALUE 'Employee'
- RESET INITIAL EMPLOYEE
- VALUE 'Employee/_at_Personnel-ID'
- EMPLOYEE.PERSONNEL-ID XML_VALUE
- VALUE 'Employee/Full-Name'
- IGNORE
- ...
22Enhanced Web Interface
- User authentication
- Log In and NSC passwords will be forwarded to
the Natural server. - Make use of the latest Natural language features
- Use dynamic variable instead of (A253/1)
- Supports XSL processing
- W3APPLY-XSLT-XML Apply a stylesheet to the
output page - W3APPLY-XSLT-XML-TO-DYNAMIC Apply a stylesheet
to dynamic variable - Supports html templates
- W3READ-RESOURCE...
- Require EXX611
23Enhanced Web Interface / HTML Template
Windows/Unix
Client
- Natural
- W3READ-ENVIRONMENT
- W3LOAD-RESOURCE
- READ employee...
- W3REPLACE
httpserver
http
CGI/ ISAPI
html
DBMS
24Enhanced Web Interface / XML XSLT
Windows/Unix
Client
- Natural
- W3LOAD-RESOURCE
- READ employee...
- W3REPLACE
- W3APPLY-XSLT
httpserver
http
CGI
html/xml
DBMS
25Natural 6.1 WindowsImproved editors
- Program Editor
- Expand / Collapse of control structures
- Comment with mouse
- Select and move with mouse
- Automatic upshift of Natural keywords
- Ruler
- Include copycode into editor
- Mark changed lines with comment
- Auto save function
26Natural 6.1 WindowsSession Parameters
- Change session parameters online.
27Natural 6.1 WindowsNew debugger user interface
28Forever!