I'm not sure the OE stage supports an 'anonymous block' like that. Perhaps try putting "END;" on a separate line?
You should consider moving it out to another area that does support it - ODBC as mentioned or the actual SP stage. Or script something to run it from the command line after job.
Search found 42189 matches
- Wed Jul 22, 2009 9:43 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Invalid Close Command
- Replies: 4
- Views: 2179
- Wed Jul 22, 2009 9:17 pm
- Forum: General
- Topic: IBM not recommending 4-tier architecture anymore
- Replies: 2
- Views: 1387
- Wed Jul 22, 2009 9:16 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: pivoting
- Replies: 2
- Views: 763
What I was thinking was along the lines of:
Where "Col1" and "01" change appropriately for each field to match their number.
Code: Select all
If Left(InLink.Col1,2) = '01' Then InLink.Col2 Else SetNull()- Wed Jul 22, 2009 9:07 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Need to remove Datastage user or deactive the Datastage user
- Replies: 7
- Views: 1511
- Wed Jul 22, 2009 9:05 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading Parameters from a file
- Replies: 6
- Views: 1853
- Wed Jul 22, 2009 9:03 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: after how many rows would a commit be issued?
- Replies: 9
- Views: 2775
- Wed Jul 22, 2009 9:01 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: after how many rows would a commit be issued?
- Replies: 9
- Views: 2775
Wanting to set something at the environment level and being able to do so are two different things. To the best of my knowledge there is no such APT variable and no way to override the Array Size when sourcing from the OE stage. Happy to be proven wrong, however. As noted, you can when performing an...
- Wed Jul 22, 2009 8:37 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Evaluate value of a parameter in a parameter set
- Replies: 3
- Views: 879
- Wed Jul 22, 2009 8:31 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Excel spreadsheet load
- Replies: 3
- Views: 1423
- Wed Jul 22, 2009 8:30 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Resetting all sequences in a category
- Replies: 6
- Views: 2346
- Wed Jul 22, 2009 3:50 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: after how many rows would a commit be issued?
- Replies: 9
- Views: 2775
- Wed Jul 22, 2009 3:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: parsing requirement
- Replies: 1
- Views: 816
- Wed Jul 22, 2009 3:39 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: after how many rows would a commit be issued?
- Replies: 9
- Views: 2775
- Wed Jul 22, 2009 3:36 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Reading Parameters from a file
- Replies: 6
- Views: 1853
Or you may be able to read them in inside the Sequence job if the Sequence job itself doesn't need them, just the activities that it runs. For example, something like what was discussed here.
However. much cleaner to do this at the job control / script 'wrapper' level.
However. much cleaner to do this at the job control / script 'wrapper' level.
- Wed Jul 22, 2009 12:42 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: partition symbols
- Replies: 5
- Views: 2550