public function deleteDataArea($DataAreaName = '', $DataAreaLib = '')
    {
        $cmd = sprintf("QSYS/DLTDTAARA DTAARA(%s/%s)",
            ($DataAreaLib != '' ? $DataAreaLib : $this->DataAreaLib),
            ($DataAreaName != NULL ? $DataAreaName : $this->DataAreaName));

        if (!$this->ToolkitSrvObj->CLCommand($cmd)) {
            $this->ErrMessage =  "Delete Data Area failed." . $this->ToolkitSrvObj->getLastError();
            throw new \Exception($this->ErrMessage);
        }
    }
public function deleteDataArea($DataAreaName = '', $DataAreaLib = '')
    {
        $cmd = sprintf("QSYS/DLTDTAARA DTAARA(%s/%s)",
            ($DataAreaLib != '' ? $DataAreaLib : $this->DataAreaLib),
            ($DataAreaName != NULL ? $DataAreaName : $this->DataAreaName));

        if (!$this->ToolkitSrvObj->CLCommand($cmd)) {
            $this->ErrMessage =  "Delete Data Area failed." . $this->ToolkitSrvObj->getLastError();
            throw new \Exception($this->ErrMessage);
        }
    }
public function deleteDataArea ( $ DataAreaName = '' , $ DataAreaLib = '' ) { $ cmd = sprintf ( "QSYS/DLTDTAARA DTAARA(%s/%s)" , ( $ DataAreaLib != '' ? $ DataAreaLib : $ this -> DataAreaLib ) , ( $ DataAreaName != NULL ? $ DataAreaName : $ this -> DataAreaName ) ) ; if ( ! $ this -> ToolkitSrvObj -> CLCommand ( $ cmd ) ) { $ this -> ErrMessage = "Delete Data Area failed." . $ this -> ToolkitSrvObj -> getLastError ( ) ; throw new \ Exception ( $ this -> ErrMessage ) ; } }
requires explicit library

@param string $DataAreaName
@param string $DataAreaLib
@throws \Exception
requires explicit library