DSXchange: DataStage and IBM Websphere Data Integration Forum
View next topic
View previous topic
Add To Favorites
Author Message
HemaV
Participant



Joined: 09 Jan 2008
Posts: 63
Location: Bangalore
Points: 670

Post Posted: Fri Mar 09, 2018 8:51 am Reply with quote    Back to top    

DataStage® Release: 11x
Job Type: Parallel
OS: Windows
For ODBC source connection in my datastage job I'm getting error as "String index out of range: -1" when i try to import the job to different server.

I see that in Generated OSH script the below line. Not sure is it because of that the issue is occuring.

"#################################################################
#### STAGE: ODBC_PS
## Operator
pxbridge
## Operator options
-XMLProperties '<?xml version=\'1.0\' encoding=\'UTF-16\'?><Properties version=\'1.1\'><Common><Context type=\'int\'>1</Context><Variant type=\'string\'>3.5</Variant><DescriptorVersion type=\'string\'>1.0</DescriptorVersion><PartitionType type=\'int\'>-1</PartitionType><RCP type=\'int\'>0</RCP></Common><Connection><DataSource type=\'string\'><![CDATA[[&"Conn.ip_ODBC"]]]></DataSource><Username type=\'string\'><![CDATA[[&"ps_Merlin_Conn.ip_USERNAME"]]]></Username><Password type=\'string\'><![CDATA[[&"ps_Merlin_Conn.ip_PASSWORD"]]]></Password></Connection><Usage><GenerateSQL type=\'bool\'><![CDATA[0]]></GenerateSQL><EnableQuotedIDs type=\'bool\'><![CDATA[0]]></EnableQuotedIDs><SQL><SelectStatement type=\'string\'><![CDATA[SELECT
"

Kindly let me know if this value needs to be changed
Display posts from previous:       

Add To Favorites
View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2002 phpBB Group
Theme & Graphics by Daz :: Portal by Smartor
All times are GMT - 6 Hours