PPM Support Tip: 9.2 using wrong exit code identifier for Windows telnet/ftp

A new KCS article was published: KM00478611

 

 

When doing an Environment "Check" in 9.2 version for a Windows server using telnet and ftp, identifier should be $?

 

 

The exit code identifier is $? in UNIX, and %ERRORLEVEL% in Windows.

PPM uses Cygwin as a UNIX emulator.

9.2 is mistakenly using %ERRORLEVEL% for the Environment "Check".

Environment "Check" output:
--
bash-3.2$ bash-3.2$
Sending command: echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS %ERRORLEVEL% 2
waiting for something to read...
echo 'TEST_SESSION_RESPONSE'; echo KSC_EXIT_STATUS %ERRORLEVEL% 2
TEST_SESSION_RESPONSE
KSC_EXIT_STATUS %ERRORLEVEL% 2
--


Defect QCCR1L51668