Modify Stage

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
ppp
Participant
Posts: 21
Joined: Mon Aug 31, 2009 11:53 am

Modify Stage

Post by ppp »

Hello,

I am trying to convert a column ACTIVEDATE from timestamp to string.
I have tried using the "StringToTimestamp" conversion function but am getting an error as below:

Code: Select all

main_program: Error parsing modify adapter: Error in binding: Error in destination field selector: Expected integer, got: ":"; input: 
ACTIVEDATE[:string] = [TimestampToString]ACTIVEDATE
;
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Functions ...To... belong in the Transformer stage. Functions in the Modify stage mainly include ..._from_... for example Timestamp_from_String.

There are errors in the Parallel Job Developers Guide chapter on the Modify stage. The best reference for the Modify stage is the Orchestrate Operators Guide - this OEM manual does not ship with DataStage but should be available at no charge through your official support provider.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply