Kbase P188617: 4GL/ABL: Error (14346) importing LONGCHAR data from an OS PIPE
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/27/2011 |
|
Status: Unverified
SYMPTOM(s):
4GL/ABL: Error (14346) importing LONGCHAR data from an OS PIPE
Invalid source for IMPORT of LONGCHAR variable. (14346)
Importing of LONGCHAR variable data from an Operating System PIPE command generates the above error
The error is generated using an operating system command like:
cat cdata.txt | pro -b -p importlc.p | cat (on UNIX/LINUX OS)
or
type cdata.txt | pro -b -p importlc.p | more (on WINDOWS OS)
Where the importlc.p procedure source code is similar to:
DEFINE VARIABLE lcVar AS LONGCHAR NO-UNDO.
IMPORT lcVar.
PUT UNFORMATTED STRING(lcVar).
FACT(s) (Environment):
All Supported Operating Systems
OpenEdge 10.2B04
Importing of CHARACTER variable data from an Operating System PIPE command succeeds when the importc.p procedure source code is like:
DEFINE VARIABLE cVar AS CHARACTER NO-UNDO.
IMPORT cVar.
PUT UNFORMATTED STRING(cVar).
CAUSE:
Bug# OE00207950