Hi,
We're trying to run a 6.7.1 - map through the command server using the following syntax :
mercator myMap.sun -IE1 '<data>'
where <data> is the ouput of a Sybase-Query (DBQuery) containing 1 Row with 2 Columns with the following Typetree-definitions :
1) Field1 :
- integer; size_min=0; size_max=11; padded
2) Field2 :
- character; size_min=19; size_max=19; not padded
When this input is parsed by the map, in the Input-trace
we get a correct parsing for the 2 fields, but not for the Row :
(Level 1: Offset 30, len 0, comp 1 of 1, #1, DI 00000003
Data at offset 30 ('(end of data)...') does not match TERMINATOR '<CR><LF>'of TYPE X'0005' (Row MQS_GetNewRunId Database DataStructure).
My question is :
1) Is it possible to pass this DBQuery as -IE(cho) to this map ?
2) What's the syntax to pass this 'echo' (especially : the Row terminator) knowing that the typetree was generated on Windows-NT, the map compiled and distributed through the IFD on Sun Solaris...
One last 'good-to-know' : When calling myMap.sun from another map (using RUN) while overriding that same input-card we use : "-IE1 '" + TEXT(DBQuery) + "'" and this works fine...
Any hints to help us in the right direction ?
Thx & Cu-All
We're trying to run a 6.7.1 - map through the command server using the following syntax :
mercator myMap.sun -IE1 '<data>'
where <data> is the ouput of a Sybase-Query (DBQuery) containing 1 Row with 2 Columns with the following Typetree-definitions :
1) Field1 :
- integer; size_min=0; size_max=11; padded
2) Field2 :
- character; size_min=19; size_max=19; not padded
When this input is parsed by the map, in the Input-trace
we get a correct parsing for the 2 fields, but not for the Row :
(Level 1: Offset 30, len 0, comp 1 of 1, #1, DI 00000003
Data at offset 30 ('(end of data)...') does not match TERMINATOR '<CR><LF>'of TYPE X'0005' (Row MQS_GetNewRunId Database DataStructure).
My question is :
1) Is it possible to pass this DBQuery as -IE(cho) to this map ?
2) What's the syntax to pass this 'echo' (especially : the Row terminator) knowing that the typetree was generated on Windows-NT, the map compiled and distributed through the IFD on Sun Solaris...
One last 'good-to-know' : When calling myMap.sun from another map (using RUN) while overriding that same input-card we use : "-IE1 '" + TEXT(DBQuery) + "'" and this works fine...
Any hints to help us in the right direction ?
Thx & Cu-All