Hello community,
I am getting crazy about a simple concatination of a variable to the end of a command.
The command is inside process and die variable is set by the previous job in the jobplan (which works with set / pset).
The command is a simple cURL command calling a xml API.
curl -s -H "Content-Type: text/xml" -d '<Envelope><Body><ImportList>XML CONTENT....</ImportList></Body></Envelope>' https://SERVER.com/XMLAPI?jsessionid=&JSESSIONID#
See the &JSESSIONID# I am trying to attach.
The report says following:
[...]./agents/unix/linux/bin/../temp/JABLBYKG.TXT: line 4: JSESSIONID#: command not found
I have simular jobs where I call a shell script an pass arguments like:
SET &ABC# = 'myserver'
./serverdirectory/myscript.sh &ABC#
which works. But there is a whitespace in between.
Already tried to escape the = character but did not work.
Thanks very much in advance - you help me a lot.