BBjCommandLineObject::getProgramArgsVector

Description

In BBj 4.0 and higher, this method returns the program argument specified by the BBjCommandLineObject.

Syntax

Return Value

Method

BBjVector

getProgramArgsVector()

Parameters

None.

Return Value

Returns the program arguments specified by the BBjCommandLineObject.

Remarks

In a traditional BBj SCALL, this is specified as – <arg list>. Values set here are subject to the same rules as values passed directly from the command line.

Example

rem 'get and set Program arg list

rem 'get CommandLine Object
myCMD! = BBjAPI().getConfig().getCurrentCommandLineObject()
myCmd!.setProgramArgs("arg1 arg2 arg3")
PRINT myCMD!.getProgramArgsVector()

See Also

BBjAPI

BBjConfig

BBjAPI::newBBjSession

See the BBj Object Diagram for an illustration of the relationship between BBj Objects.