SAP Adaptive Server Enterprise Return values and output parameters – PB Docs 2021
SAP Adaptive Server Enterprise Return values and output parameters In addition to result sets, SAP Adaptive Server Enterprise stored procedures may return a long integer return value and output parameters of any data type. After all of the result sets have been returned, PowerScript requires you to issue one final FETCH procedure_name INTO . ….
Analyzing structure and flow using a trace tree model – PB Docs 2021
Analyzing structure and flow using a trace tree model Contents Using BuildModel to build a trace tree model Extracting information from the trace tree model You use the PowerScript functions and PowerBuilder objects listed in the following table to build a nested trace tree model of an application. Use this function With this object To…
Setting the transaction object for the DataWindow control – PB Docs 2021
Setting the transaction object for the DataWindow control Contents Internal transaction management Transaction management with a separate transaction object There are two ways to handle database connections and transactions for the DataWindow control. You can use: Internal transaction management A separate transaction object The two methods provide different levels of control over database transactions. If…
Preparing to use the wizard – PB Docs 2021
Preparing to use the wizard Before you use the wizard in a production application, you need to complete the following tasks: Set up a consolidated database and write synchronization scripts as described in Preparing consolidated databases Create a remote database on the desktop and set up one or more publications, users, and subscriptions as described…
EXCEPTION_MEMORY_ALLOCATION_FAILURE – PB Docs 2021
EXCEPTION_MEMORY_ALLOCATION_FAILURE Code Value: 13 This exception is thrown when insufficient memory is encountered while executing a method. PBDOM internally allocates, frees, and reallocates memory for storing strings, structures, and so on. Each memory allocation might fail, and if this occurs, this exception is thrown. Document get from Powerbuilder help Thank you for watching.
Distributing resources separately – PB Docs 2021
Distributing resources separately When a resource is referenced at runtime, if the resource has not been included in the executable file or in a dynamic library, PowerBuilder looks for it in the search path. You need to distribute resources with your application and make sure they get installed in the user’s search path. For example,…
Declaring arrays – PB Docs 2021
Declaring arrays Contents Values for array elements Size of variable-size arrays More about arrays Description An array is an indexed collection of elements of a single datatype. In PowerBuilder, an array can have one or more dimensions. One-dimensional arrays can have a fixed or variable size; multidimensional arrays always have a fixed size. Each dimension…
Transaction basics – PB Docs 2021
Transaction basics CONNECT and DISCONNECT A successful CONNECT starts a transaction, and a DISCONNECT terminates the transaction. All SQL statements that execute between the CONNECT and the DISCONNECT occur within the transaction. Before you issue a CONNECT statement, the Transaction object must exist and you must assign values to all Transaction object properties required to…
Additional properties for RoundRectangle controls in DataWindow objects – PB Docs 2021
Additional properties for RoundRectangle controls in DataWindow objects An x in the M (Modify) column means you can change the property. When (exp) is included in the description, you can specify a DataWindow expression as the value for that property. Properties for Oval, Rectangle, and RoundRectangle controls in DataWindow objects also apply to RoundRectangle controls….
Accessing node data – PB Docs 2021
Accessing node data An XML document can be read by accessing the elements of its node tree using the appropriate PBDOM_OBJECT subclasses and methods. The following code uses an array, the PBDOM_OBJECT, and its descendant class PBDOM_DOCUMENT, and the GetContent and GetRootElement methods of the PBDOM_DOCUMENT class to access node data on an XML document….