Run this command line:
/opt/config/Lev1/SASApp/MaLauncher/mabatch.sh -d camp -u sas_camp -g b405be418f549590da0eec4436c71647 -x "BC Residencial y Empresas" -v - CHFBBY5XW3BGWNAC
I get this message: unknown option
[sas_camp@pfsascaapp02 ~]$ /opt/config/Lev1/SASApp/MaLauncher/mabatch.sh -d camp -u sas_camp -g b405be418f549590da0eec4436c71647 -x "BC Residencial y Empresas" -v - CHFBBY5XW3BGWNAC > x
2021-01-22 10:07:02,734: Connected to node SASServer6_1_pvsascaapp01.intranet.gasnaturalfenosa.com
launch(): argOptions=100 117 112 120 103 85 80 (Should remain as intialized - currently: 100 117 112 120 103 85 80 -- thread-safety check for S1214844)
ArgList: options=[{x=[BC Residencial y Empresas], d=[camp], u=[sas_camp], v=[], g=[b405be418f549590da0eec4436c71647]}], non-options=[[CHFBBY5XW3BGWNAC]], input stream: true, unknown option:
2021-01-22 10:07:02,735: STARTING
ArgList: options=[{x=[BC Residencial y Empresas], d=[camp], u=[sas_camp], v=[], g=[b405be418f549590da0eec4436c71647]}], non-options=[[CHFBBY5XW3BGWNAC]], input stream: true, unknown option:
The command line has been processed to give the following values:
user ID : sas_camp
password set : false
context : BC Residencial y Empresas
unique ID : b405be418f549590da0eec4436c71647
verbose logging option : true
names option : false
force quotes option : false
handle args as URIs : false
command directive : camp
remote user ID : null
remote password set : false
directive arg(0) : CHFBBY5XW3BGWNAC
2021-01-22 10:07:02,735: Running on node SASServer6_1_pvsascaapp01.intranet.gasnaturalfenosa.com
2021-01-22 10:07:02,735
2021-01-22 10:07:02,735: getting security manager
2021-01-22 10:07:02,735: Logging in for user sas_camp
2021-01-22 10:07:04,221: OK
Switched business context to BC Residencial y Empresas
2021-01-22 10:07:04,341
logon: SUCCESS
2021-01-22 10:07:04,341: Creating execution manager
2021-01-22 10:07:04,345: Executing...
2021-01-22 10:07:52,555: Finished execution
2021-01-22 10:07:52,555: Closing execution manager
2021-01-22 10:07:52,555: Logging out
2021-01-22 10:07:52,834: OK
2021-01-22 10:07:52,834: FINISHED
Which option is wrong on the command line.
The command line I will execute it from a "script.sh", how can I save the output of the execution in a log?
Thank you very much, sTv.
Admnistrator SAS Spain