- Code: Select all
$toolkit = ToolkitService::getInstance();
$toolkit->ClCommand("CHGDTAARA DTAARA(*LDA *ALL) VALUE('10')");
$result = $toolkit->ClCommandWithOutput('RTVDTAARA DTAARA(*LDA (1 2)) RTNVAR(?)');
echo('<pre>');
var_dump($result);
echo('<\pre>');
I would however prefer to use the DataArea Object from the toolkit, but the getQualifiedDataAreaName() and writeDataArea() methods are always appending a slash to the library even if it is blank so it ends up trying to issue commands on "/*LDA"
Is toolkit code hosted somewhere like github so I could send pull requests when we run into things like this?

