• Like
  • Save
Prestiva - Open Link Endur Avs Scripting
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

Prestiva - Open Link Endur Avs Scripting

  • 8,960 views
Published

OpenLink - Endur - AVS Scripting 101

OpenLink - Endur - AVS Scripting 101

Published in Technology , Education
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
8,960
On SlideShare
0
From Embeds
0
Number of Embeds
5

Actions

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