EAServer component

The EAServer component is a PowerBuilder user object called uo_employee. The uo_employee object has a function called RetrieveData that uses a DataStore to retrieve employee rows from the database.

Instance variables

The uo_employee object has these instance variables defined:

protected TransactionServer txnsrv
protected DataStore ids_datastore

RetrieveData function

The RetrieveData function takes the argument ablb_data, which is of type Blob, and returns a Long value. The function has the following script:

long ll_rv
ll_rv = ids_datastore.Retrieve()
ll_rv = ids_datastore.GetFullState(ablb_data)
txnsrv.SetComplete()
return ll_rv