In a project named "Test.egp", there is a program called "missing_var" with the following code: proc means data=sashelp.class;
class sex;
var wieght;
run;
%put &syserr; The value of &syserr when running the code is 3000. I need to get this value of 3000 in PowerShell when running the project. $proj_full_path = "test.egp"
$eg_guide_app = New-Object -comObject SASEGObjectModel.Application.8.1
$current_project = $eg_guide_app.Open($proj_full_path, "")
try{
$current_project.run
}
catch{
$err_num = ??? #(5000)
}
$current_project.Close()
$eg_guide_app.Quit() Thanks
... View more