BasicLibrary ステレオタイプは、EGL によって記述された関数および他の EGL ロジックで実行時に使用される関数と値を含むライブラリー・パーツを識別します。
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