[EDI-L Mailing List Archive Home] [Message List] [Reply To This Message]

RE: Why am I getting a "

From: drewniaj <james.drewniak@...>
Date: Fri Apr 25, 2003  1:29 pm
Subject: RE: [EDI-L] Why am I getting a "
William,

Thank you for responding so quickly. It appears that I may be stuck between
syntax issues. I am coding the extended rule, included below, on GENTRAN
for windows 3.2 that uses an Oracle db engine.

I tried your suggestions and others. They created the included compilation
errors.

Regards,
Jim
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111
STRING[25]VarKEY;
STRING[25]VarAppl;
STRING[255]sMsg;

SELECT PARTNERKEY as VarKEY, APPLICATIONPARTNERKEY as VarAppl
FROM Partner
WHERE EDICODE LIKE '%#8EPartyCode%';

$INPUT.#DTS_PARTNER_KEY = VarKEY;
$INPUT.#DTS_PARTNER_ID = VarAppl;

sMsg = "VarKEY:" + VarKEY;
messagebox(sMsg,0);
sMsg = "VarAppl:" + VarAppl;
messagebox(sMsg,0);
sMsg = "#8EPartyCode:" + #8EPartyCode;
messagebox(sMsg,0);

++++++++++++++++++++++++++++++++++++++++++++++++++++++
ERROR 5005,Line 7:'INTO' expected
WARNING 2006,Line 20:'VarAppl'has been declared but not referenced.
WARNING 2006,Line 20:'VarKEY'has been declared but not referenced.
1111111111111111111111111111111111111111111111111111111111111111111111111111
1111
2222222222222222222222222222222222222222222222222222222222222222222222222222
2222
STRING[25]VarKEY;
STRING[25]VarAppl;
STRING[255]sMsg;

SELECT PARTNERKEY, APPLICATIONPARTNERKEY
INTO VarKEY, VarAppl
FROM Partner
WHERE EDICODE = #8EPartyCode;

$INPUT.#DTS_PARTNER_KEY = VarKEY;
$INPUT.#DTS_PARTNER_ID = VarAppl;

sMsg = "VarKEY:" + VarKEY;
messagebox(sMsg,0);
sMsg = "VarAppl:" + VarAppl;
messagebox(sMsg,0);
sMsg = "#8EPartyCode:" + #8EPartyCode;
messagebox(sMsg,0);
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++
ERROR 6006,Line 11:'WHERE'not allowed with this database table
2222222222222222222222222222222222222222222222222222222222222222222222222222
2222
3333333333333333333333333333333333333333333333333333333333333333333333333333
3333
WHERE EDICODE = "#8EPartyCode";
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+++
ERROR 6006,Line 11:'WHERE'not allowed with this database table
3333333333333333333333333333333333333333333333333333333333333333333333333333
3333




 
EDI to XML Mapping for EDIFACT/X12 Convert EDIFACT/X12 Schemas to XML Schema Legacy Data Conversion Tools Access Relational Data as XML Visual XSLT and XQuery Mapping Tools Simplify EDI Data Integration with Stylus Studio XML Enterprise Suite - Free Download!
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.