Creating a test plan from templates – PB Docs 2022
Creating a test plan from templates Step 1: Select Templates from the File menu. Step 2: Select Recording and then click Create. Step 3: Use the default values or modify them according to your needs, and then click Create. A complete Test Plan is generated successfully. Document get from Powerbuilder help Thank you for watching.
Cursor syntax – PB Docs 2022
Cursor syntax When declaring a cursor, it is not a recommended practice to add the into keyword. PowerBuilder will consider it redundant and ignore it; while PowerServer will consider it (ls_result in the following example) as a parameter and will display the error: The number of parameters does not match.
1 2 3 4 5 6 7 8 9 |
string ls_sql, ls_result ls_vid = '100002' ls_vname = '' DECLARE my_cursor DYNAMIC CURSOR FOR SQLSA ; ls_sql = 'SELECT v_name <span><strong>into :ls_result</strong></span> FROM employee WHERE v_id = ?' PREPARE SQLSA FROM :ls_sql ; OPEN DYNAMIC my_cursor using :ls_vid ; FETCH my_cursor INTO :ls_vname ; CLOSE my_cursor ; |
Document get from Powerbuilder…
Creating a test plan and adding HTTP requests – PB Docs 2022
Creating a test plan and adding HTTP requests Contents Creating a Test Plan Adding a Thread Group Adding HTTP requests Adding an HTTP header manager Adding listeners Running tests and viewing results Document get from Powerbuilder help Thank you for watching.
Creating a Test Plan – PB Docs 2022
Creating a Test Plan To create a new test plan, select File > New. Input a name for the test plan. When the test plan is created, it is added to the tree on the left panel. All subsequent elements will be added to this tree in a hierarchical structure. Document get from Powerbuilder help…
Supported DBParm properties – PB Docs 2022
Supported DBParm properties Due to the architectural difference between the installable cloud app and the PowerBuilder native C/S app, not all of the DBParm properties are supported by PowerServer; and some DBParm properties are designed exclusively for use in PowerServer. #1: DBParm properties that are not mentioned in this section are NOT supported by PowerServer…
DB2 support – PB Docs 2022
DB2 support IBM DB2 UDB 11.x is supported in PowerServer 2022 R2. For the first time to connect to the DB2 database, you will need to install the corresponding .NET Core driver (IBM.Data.DB2.Core 3.1.0.500). You can choose to have PowerBuilder IDE automatically download and install the driver from www.nuget.org or manually download the driver from…
Data type in Dynamic SQL Format 4 – PB Docs 2022
Data type in Dynamic SQL Format 4 In PowerBuilder, the Oracle database may return the numeric data as the decimal type.
1 2 |
Row=1, Column=1, type=Decimal, value=1 Row=2, Column=1, type=Decimal, value=2 |
While in PowerServer, the Oracle database may return the numeric data as the longlong type.
1 2 |
Row=1, Column=1, type=LongLong, value=1 Row=2, Column=1, type=LongLong, value=2 |
It is recommended that the developer use “choose case” to support the longlong-type numeric data.
1 2 3 4 |
CHOOSE CASE SQLDA.OutParmType[n] case TypeLongLong! ls_DataType = 'LongLong' ls_Value = String(adda_parm.GetDynamicDecimal(li_Idx)) |
Document…
Task 1: Preparing the environment – PB Docs 2022
Task 1: Preparing the environment Contents Setting up the client machine Setting up the database server Setting up the development PC Setting up the auth server Setting up the web server Document get from Powerbuilder help Thank you for watching.
Preparing the application – PB Docs 2022
Preparing the application Contents Modifying the database connection Packaging the client app as a zipped file Building the PowerServer project (Optional) Modifying the Web API URL The following modifications are made to the existing PowerServer project. If you have not created a PowerServer project yet, please follow the instructions in Quick Start > Guide 1…
PowerServer project debugging – PB Docs 2022
PowerServer project debugging You can now debug a PowerServer project, 32-bit or 64-bit, directly in PowerBuilder IDE. Except for the differences listed below, the PowerServer Debugger has the same toolset as the PowerBuilder Debugger. You can insert breakpoints, step in/over/out the scripts, add/remove watch, and use quickwatch, exactly in the same way as PowerBuilder Debugger….