Search found 44 matches

by irshanuddin
Thu May 11, 2017 8:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Export/Import Stage Variables
Replies: 11
Views: 6478

Paul, that idea to copy the entire stage did it for me.
Thank you so much!
I am glad it was a simple solution and not tedious copy and paste.
by irshanuddin
Wed May 10, 2017 2:18 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Export/Import Stage Variables
Replies: 11
Views: 6478

That's a good idea Paul.
I will try to copy and paste the transformer stage with the links. That should work.
Thanks!
by irshanuddin
Wed May 10, 2017 11:03 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Export/Import Stage Variables
Replies: 11
Views: 6478

Thanks Craig for the suggestions. I was hoping there was an easier way. Cant create a shared container due to different metadata. I guess I will have just open up 2 sessions on 2 monitors and copy each one over manually.
Thanks!
by irshanuddin
Wed May 10, 2017 9:42 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Export/Import Stage Variables
Replies: 11
Views: 6478

Export/Import Stage Variables

Hello,

I created about 30 stage variables in a job that are being reused for multiple calculations. I need to recreate these in a similar job and I was wondering if there was a way to export and import these stage variables across jobs.

Thanks
by irshanuddin
Fri Mar 24, 2017 10:50 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date and Decimal format in CSV Output
Replies: 2
Views: 2398

Thanks Craig,
I did try that option, and it still outputs the fields with the single quotes around the values.
by irshanuddin
Fri Mar 24, 2017 10:02 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Date and Decimal format in CSV Output
Replies: 2
Views: 2398

Date and Decimal format in CSV Output

Hello, I am reading from Netezza and writing to a sequential file in csv format. I would like to have the dates output as mm/dd/yyyy and the decimals output as 000.00. I tried setting the format of the date in the format tab as '%mm/%dd/%yyyy'. The output is in fact mm/dd/yyyy but when the month and...
by irshanuddin
Wed Aug 31, 2016 12:58 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical Pivot Dynamic Array Size
Replies: 5
Views: 7236

This is how I ended up resolving this issue based on Craig's input. (Thanks!) Created looping in transformer manually. I need to familiarize myself with the built-in functionality, so for now I went old school and created the looping using stage variables. Created a variable that incremented each ti...
by irshanuddin
Wed Jun 22, 2016 7:49 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Sort order lost in transformer when migrated to 11.5
Replies: 3
Views: 2440

Sort order lost in transformer when migrated to 11.5

We have a job that we migrated from 8.5 to 11.5 which was giving incorrect results. We narrowed this down to a transformer messing up the sort order after reading from a sort stage. We have tried changing the partition to "Same" but didnt work. The only way the transformer appears to maint...
by irshanuddin
Tue May 03, 2016 3:08 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Vertical Pivot Dynamic Array Size
Replies: 5
Views: 7236

Vertical Pivot Dynamic Array Size

So we have some data coming in where we need to do a vertical pivot and writing to a sequential file. But I would like to find out if I can make the file only as wide as the widest record, which means the array size for the pivot stage will need to be dynamic. I think I can get to what it should be ...
by irshanuddin
Tue May 03, 2016 3:04 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL query character limit
Replies: 7
Views: 6097

That's exactly what we are trying to replace, a view.

Looks like we will be reading from a file.
Thanks for your input.
by irshanuddin
Tue May 03, 2016 10:20 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL query character limit
Replies: 7
Views: 6097

So read from file, eh?
What I really meant was that it takes results from one query and outer joins to another and so on and so forth for 10 iterations to create groupings.
Still grappling with it, my first week at a new place. :shock:

Thanks!
by irshanuddin
Tue May 03, 2016 8:57 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: SQL query character limit
Replies: 7
Views: 6097

SQL query character limit

Hello gurus, We have a sql from a view that loads a table that we would like to bring in to our Datastage environment to have more control over it. The SQL itself is over 97,000 characters. It appears the character limits for User Defined SQL, Before SQL, After SQL and parameter string are all 64,00...
by irshanuddin
Thu Jul 03, 2014 9:23 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Expected identifier; got: "*"
Replies: 6
Views: 5521

I got it figured out after adding a NullToValue(Date,'') in a stage variable and then passing this to the PARALLEL transformer where I did this: IF ISVALIDDATE(StringToDate(DecimalToString(StringToDecimal(StageVar1) + 19000000, "suppress_zero"),"%yyyy%mm%dd")) THEN StringToDate(D...
by irshanuddin
Thu Jun 26, 2014 12:36 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Expected identifier; got: "*"
Replies: 6
Views: 5521

Thanks for the responses. I have changed the IsValidDate to IsValid and passing the stage variable as date now. The Julian date is the date format on the iSeries (AS/400) which is our ERP system. The format you mention is in fact how it is stored, which is CenturyYYMMDD with 114 representing 2014. S...