Search found 6 matches

by moupanja
Mon Sep 05, 2011 12:29 am
Forum: General
Topic: Getting error in $CommandOutput
Replies: 11
Views: 6561

Hi Ray, Thanks a lot for the workaround! Although my job has finished successfully and generating the desired output but the sequencer is aborting with the same error for the 4th iteration. Since the output of your Exec command is generating a '|' delimiter at the end of the last record too hence th...
by moupanja
Fri Sep 02, 2011 8:54 am
Forum: General
Topic: Getting error in $CommandOutput
Replies: 11
Views: 6561

Line terminators are mapped to @FM. In your case you correctly (originally) specified comma as the delimiter. The problem is probably with the line terminators in your file. Can you please share how you are implementing "read each line of a file at a time"? Hi Ray, My design is like~ Star...
by moupanja
Thu Sep 01, 2011 9:45 pm
Forum: General
Topic: Getting error in $CommandOutput
Replies: 11
Views: 6561

Hi Ray, The file has no new line at the end. I've also checked in the forum and it is recommended to use @FM, so I tried with this command~ Field(Execute_Command_0.$CommandOutput,@FM ,2, 1) but even then I'm getting the same error! Is it an incorrect command? Also can you please explain me why do we...
by moupanja
Thu Sep 01, 2011 11:32 am
Forum: General
Topic: Getting error in $CommandOutput
Replies: 11
Views: 6561

Getting error in $CommandOutput

Hi All, I'm using execute command stage to read each line of a file at a time. The file looks like~ 3,123 4,456 2,677 Now when the sequencer runs for the first time, exec command reads the first line i.e 3,123. The value 3 is then passed to one of the job parameter A and the value 123 is assigned to...
by moupanja
Tue Jun 21, 2011 11:47 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in logic implementation
Replies: 2
Views: 1323

Sorry my input file looks like this~ Bank_Name Cycle AccountNo State Status Balance ABC 1 123 NJ P 400 ABC 1 234 NJ P 789 ABC 1 888 NJ X 878 ABC 1 567 NJ C 678 ABC 1 789 NJ C 999 ABC 1 666 MI V 899 EFG 1 777 NA C 777 Thus even though row 3 was satisfying condition CA1 but it is not propagated in the...
by moupanja
Tue Jun 21, 2011 8:13 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Need help in logic implementation
Replies: 2
Views: 1323

Need help in logic implementation

I'm working on a very tricky requirement but I'm really not getting any idea on how to go about it. Here is the scenario~ Input File: Bank_Name Cycle AccountNo State Status Balance ABC 1 123 NJ P 400 ABC 1 234 NJ P 789 ABC 1 567 NJ X 678 ABC 1 567 NJ C 678 ABC 1 789 NJ C 999 ABC 1 666 MI V 899 EFG 1...