BasicLibrary stereotype

The BasicLibrary stereotype identifies a Library part that contains EGL-written functions and values that are used at run time in other EGL logic parts.
The following rules apply to a BasicLibrary:
The following example shows a Library part that uses the BasicLibrary stereotype:
package com.companyb.customer;

Record CustomerRecord type SQLRecord
  customerNumber CHAR(6);  
  customerName CHAR(25);   
  customerBalance BIN(9,2); 
end  

Library CustomerLibrary type BasicLibrary

  // Function Declarations
  function getCustomerName(
    myCustomerNumber CHAR(6) in,
    myCustomerName CHAR(25) inOut)

    myCustomer CustomerRecord;
    myCustomer.customerNumber = myCustomerNumber;
    get myCustomer;
    myCustomerName = myCustomer.customerName;
  end

end

Feedback