Highlighted
mike_se Contributor.
Contributor.
132 views

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

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”
Labels (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.