To transform data and carriage return

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

chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Post by chulett »

jwiles wrote:So, to get the date from a particular pair within the record:

Code: Select all

Field(Field(record,",",pair_number),"|",2)
The inner Field() call returns the pair--such as BBB|5/24/11--then the outer Field() call returns the date from that pair--5/24/11.
Exactly what I meant when I said "Inline Field() functions" and then described what to do first and second. Thanks James, although I was hoping Kiran would be able to work this out on his own...
-craig

"You can never have too many knives" -- Logan Nine Fingers
jwiles
Premium Member
Premium Member
Posts: 1274
Joined: Sun Nov 14, 2004 8:50 pm
Contact:

Post by jwiles »

Yep, I know...however, it was becoming fairly obvious :(
- james wiles


All generalizations are false, including this one - Mark Twain.
Post Reply