Salesforce

INPUT THROUGH fails after adding Windows 10 Creators Update

« Go Back

Information

 
TitleINPUT THROUGH fails after adding Windows 10 Creators Update
URL NameINPUT-THROUGH-fails-after-adding-Windows-10-Creators-Update
Article Number000112799
EnvironmentProduct: OpenEdge
Version: 10.x, 11.x
O/S: Windows 10 Creators Update (version 1703, build prior to 15063.483)
Other: Creators Update
Question/Problem Description
INPUT THROUGH fails after installation of Windows 10 Creators Update.
Command no longer returns a value and remaining code is not executed.
No error messages are generated.
Session does not crash.
Problem did not occur prior to applying the Windows 10 Creators Update.
Problem only occurs when using the GUI client (PROWIN32, PROWIN); it does not affect the TTY client (_PROGRES).
Steps to ReproduceCode to reproduce:

DEFINE VARIABLE a AS CHARACTER FORMAT "x(70)" NO-UNDO.
DEFINE VARIABLE b AS CHARACTER FORMAT "x(70)" NO-UNDO.

INPUT THROUGH "echo %cd%" NO-ECHO.

MESSAGE "#1" SKIP a SKIP b VIEW-AS ALERT-BOX.

IMPORT UNFORMATTED a.

//SET b.

MESSAGE "#2" SKIP a SKIP b VIEW-AS ALERT-BOX.

INPUT CLOSE.

MESSAGE "#3" SKIP a SKIP b VIEW-AS ALERT-BOX.

On affected systems, code above only display message #1; the remaining message statements are not shown.
Clarifying Information
Error Message
Defect NumberDefect PSC00357084
Enhancement Number
Cause
INPUT THROUGH creates a child process with its standard I/O handles redirected so that input can be read from the process through a pipe. 
The child process runs in a Console Window which is created before creating the child process. 
On Windows 10 Creators Update, the pipe is broken when we try to read from it because the console window is closed too soon after creating the child process.
Resolution
Take either one of the following actions to resolve the problem:
  • Apply Windows cumulative update KB4025342 (OS Build 15063.483) or
  • Hotfix is available for this issue for 10.2B. Contact Progress Technical Support if you need the Hotfix for one of this release.
  • Upgrade to OpenEdge release 11.6.4
  • Upgrade to OpenEdge release 11.7.1 or higher.
Workaround
Use INPUT FROM command instead of INPUT THROUGH.
Notes
As of this writing (2017-07-25), new downloads of Windows 10 Creators Updates include KB4025342. Therefore, when Creators Update is applied with the now-current download the problem described in this article will not occur.

References to Other Documentation:

Microsoft Article ID: 4025342, "July 11, 2017—KB4025342 (OS Build 15063.483)"
https://support.microsoft.com/en-us/help/4025342/windows-10-update-kb4025342

Progress Articles:
 OpenEdge issues after installing Windows 10 Creators update
Keyword Phrase
Last Modified Date11/20/2020 7:14 AM

Powered by