Your SlideShare is downloading. ×
0
Prestiva - Open Link Endur Avs Scripting
Prestiva - Open Link Endur Avs Scripting
Prestiva - Open Link Endur Avs Scripting
Prestiva - Open Link Endur Avs Scripting
Prestiva - Open Link Endur Avs Scripting
Prestiva - Open Link Endur Avs Scripting
Prestiva - Open Link Endur Avs Scripting
Prestiva - Open Link Endur Avs Scripting
Prestiva - Open Link Endur Avs Scripting
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Prestiva - Open Link Endur Avs Scripting

9,507

Published on

OpenLink - Endur - AVS Scripting 101

OpenLink - Endur - AVS Scripting 101

Published in: Technology, Education
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
9,507
On Slideshare
0
From Embeds
0
Number of Embeds
5
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. OpenLink (Endur/Findur)– AVS Scripting AVS Programming Language Prepared by: Murali Venkatesh Version. 1.0 Nov 07 2009 Energy Trading and Risk Management Using OpenLink
  • 2. Agenda <ul><li>Introduction to OpenLink – Endur/Findur – AVS Scripting </li></ul><ul><li>Important Data Types used in AVS </li></ul><ul><li>AVS Concept </li></ul><ul><li>AVS Script types </li></ul><ul><li>AVS Task </li></ul><ul><li>AVS Tools </li></ul><ul><li>Questions </li></ul>Murali Venkatesh - OpenLink Endur - AVS
  • 3. OpenLink Endur - AVS <ul><ul><li>Script Language developed by OpenLink Company </li></ul></ul><ul><ul><li>Very similar to the C programming language. </li></ul></ul><ul><ul><li>It is compiled and run in Endur/Findur. </li></ul></ul><ul><ul><li>Source files are named using the convention “*.mls”. </li></ul></ul><ul><ul><li>Script Editor is an editor used to code, edit, view AVS scripts </li></ul></ul>Murali Venkatesh - OpenLink Endur - AVS
  • 4. Important Data Types used in AVS <ul><ul><li>string pointer to string </li></ul></ul><ul><ul><li>int 32-bit integer </li></ul></ul><ul><ul><li>Double floating point number </li></ul></ul><ul><ul><li>TablePtr pointer to memory table </li></ul></ul><ul><ul><li>DATE_TIME* pointer to date/time </li></ul></ul><ul><ul><li>TRANSACTION* pointer to TRAN structure </li></ul></ul><ul><ul><li>INS_DATA* pointer to INS structure </li></ul></ul>Murali Venkatesh - OpenLink Endur - AVS
  • 5. AVS Concepts <ul><ul><li>ADT table: pointer based memory tables in AVS </li></ul></ul><ul><ul><li>SQL Statements for data retrieving </li></ul></ul><ul><ul><li>USER Tables for data model extension </li></ul></ul><ul><ul><li>Data compressing (BLOB) </li></ul></ul><ul><ul><li>Pointers are taken by New() and released by Delete() </li></ul></ul><ul><ul><li>No Automatic memory garbage collection !!! </li></ul></ul>Murali Venkatesh - OpenLink Endur - AVS
  • 6. AVS Script Types <ul><ul><li>Parameter Script (optional) </li></ul></ul><ul><ul><ul><li>– Provide main script with input parameters e.g. date range </li></ul></ul></ul><ul><ul><ul><li>– User Interface Functions </li></ul></ul></ul><ul><ul><li>Main Script </li></ul></ul><ul><ul><ul><li>– Used to process data </li></ul></ul></ul><ul><ul><ul><li>Also used for data output </li></ul></ul></ul><ul><ul><li>Output Script (optional) </li></ul></ul><ul><ul><ul><li>– Additional processing of data provided by main script </li></ul></ul></ul><ul><ul><ul><li>– User Interface Functions </li></ul></ul></ul>Murali Venkatesh - OpenLink Endur - AVS
  • 7. AVS Task <ul><ul><li>Combination of Param Script + Main Script </li></ul></ul><ul><ul><li>Can be started by various methods: </li></ul></ul><ul><ul><ul><li>– Manually </li></ul></ul></ul><ul><ul><ul><li>– Time triggered </li></ul></ul></ul><ul><ul><ul><li>– Within E-O-D workflow </li></ul></ul></ul><ul><ul><li>Can contain different script types </li></ul></ul>Murali Venkatesh - OpenLink Endur - AVS
  • 8. AVS tools <ul><ul><li>Script Engine (SCRENG) </li></ul></ul><ul><ul><li>Script Editor </li></ul></ul><ul><ul><li>Script Debugger </li></ul></ul><ul><ul><li>Adhoc SQL-Viewer </li></ul></ul><ul><ul><li>OLISTEN-Window </li></ul></ul>Murali Venkatesh - OpenLink Endur - AVS
  • 9. Questions? Murali Venkatesh - OpenLink Endur - AVS Contact : http://www.linkedin.com/in/prestiva http://blog.prestiva.com

×