AWS Blu Insights provides a PowerBuilder dependencies analysis as a standalone technology. It supports multiple files including PBL, SRA, SRD, SRF, SRM, SRU, SRW.
The LibList instruction implies dependencies to a list of PBL libraries. Their paths are listed in a double-quoted string and separated by a semicolon.LibList "D:\path\to\lib1.pbl;D:\path\to\another\lib2.pbl"
In SRD files there are dependencies that can be detected thanks to the values of some specific fields. In the below SRD dependencies keywords aren’t sensitive to the case.
The affectation of the dddw.name field (in an SRD file) implies a dependency on another SRD file with the same name that the value of this field.
dddw.name='dddw_example'dddw.name="dddw_example"dddw.name=dddw_exampleWhere dddw_example is an SRD file of the project.
The affectation of the dataobject field (in an SRD file) implies a dependency on another SRD file with the same name that the value of this field.
dataobject='dddw_example'dataobject="dddw_example"dataobject=dddw_exampleWhere dddw_example is an SRD file of the project.
The affectation of the expression field (in an SRD file) implies a dependency on an SRW file that contains the global type referenced by the value of the field expression.
expression='example_global_type'expression="example_global_type"Where example_global_type is the name of a global type defined in an SRW file.
In the below PowerBuilder dependencies, the keywords aren’t sensitive to the case.
The dataobject affectation implies a dependency on a datawindow (an SRD file).
dataobject= 'dw_example'dataobject = "dw_example"dataobject = dw_variable: where dw_variable is a string variable containing the name of a datawindowThe field dataobject can be accessed through diverse PowerBuilder objects:
dw1.dataobject = 'dw_example'Where dw_example is an SRD file of the project.
The global type instruction declares a global type in the file. This type can be referenced in other files.
global type example_typeThis global type instruction declares a global type with an inheritance pattern. It implies a dependency on the parent type.
global type example_type from example_parentWhere example_parent can be a local type defined in the same file or a global type defined in its own file.
This global type instruction declares a global type with a container type. It implies a dependency on the container type.
global type example_type from <system_type> within container
There are several possibilities for system_type among :
global type example_type from window within containerglobal type example_type from menu within containerglobal type example_type from commandbutton within containerglobal type example_type from listbox within containerglobal type example_type from graph within containerWhere container can be a local type defined in the same file or a global type defined in its own file.
The affectation of the message.stringparm field implies a dependency on the file with the same name as the value of the field.
message.stringparm = "example_file"message.stringparm = 'example_file'string dependency_var = "example_file"
message.stringparm = dependency_varWhere example_file is the name of a file of the project.
The open call implies a dependency on a window file with the same name that the string in the parameters.
open("w_example")open('w_example')string window_var = "w_example"
open(window_var)open("w_example", example_parent)Where w_example is the name of a file of the project.
The openSheet call implies a dependency on a window file with the same name that the string in the parameters.
openSheet("w_example", mdiframe)openSheet('w_example', mdiframe)string window_var = "w_example"
openSheet(window_var, mdiframe)windowtype, position and arrangeopen parameters:openSheet("w_example", "example_type", mdiframe, 0, Original!)Where w_example is the name of a file of the project.
The openSheetWithParam or openSheetWithParm call implies a dependency on a window file with the same name that the string in the parameters.
openSheetWithParm("w_example", "example_param", mdiframe)openSheetWithParm('w_example', "example_param", mdiframe)string window_var = "w_example"
openSheetWithParm(window_var, "example_param", mdiframe)windowtype, position and arrangeopen parameters:openSheetWithParm("w_example", "example_param", "example_type", mdiframe, 0, Original!)Where w_example is the name of a file of the project.
The openWithParm or openWithParam call implies a dependency on a window file with the same name that the string in the parameters.
openWithParm("w_example", "example_parameter")openWithParm('w_example', "example_parameter")string window_var = "w_example"
openWithParm(window_var, "example_parameter")openWithParm("w_example", "example_parameter", example_parent)Where w_example is the name of a file of the project.
This type instruction declares a local type with an inheritance pattern. It implies a dependency on the parent type.
type example_type from example_parentWhere example parent can be a local type defined in the same file, a global type defined in its file.
This type instruction declares a local type with a container type. It implies a dependency on the type container defined in its file.
type example_type from <system_type> within container
There are several possibilities for system_type among :
type example_type from window within containertype example_type from menu within containertype example_type from commandbutton within containertype example_type from listbox within containertype example_type from graph within containerWhere container can be a local type defined in the same file or a global type defined in its file.
The below dependencies are recognized as System dependencies :
applicationcheckboxcie_u_slecommandbuttonCommandParmconnectioncontextinformationcontextkeyworddatastoredatawindowdropdownlistboxdropdownpicturelistboxdynamicdescriptionareadynamicstagingareaeditmaskerrorerrorloggingfunction_objectgraphgroupboxhprogressbarhscrollbarhtrackbarinetinternetresultlinelistboxlistviewmailsessionmdiclientmenumenucascademessagemultilineeditNCImportBasenonvisualobjectolecontrololecustomcontrololeobjectolestorageolestreampicturepicturebuttonpicturehyperlinkpicturelistboxpipelineradiobuttonrectanglerichtexteditruntimeerrorservicesinglelineeditstatichyperlinkstatictextstructuretabtimingtransactiontreeviewuserobjectvprogressbarvscrollbarvtrackbarwindow(pfc/pfe) libraries