Search found 156 matches

by 1stpoint
Wed Jun 22, 2005 2:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Subtract 1 sec from a timestamp (2005-06-22 13:51:06)
Replies: 8
Views: 5639

Subtracting 1 second

In Oracle SQL you could simply create a "derived" column in your Source OCI stage:

This is how to subtract 1 second:

(SYSDATE - (1/(1*24*60*60)))
by 1stpoint
Wed Feb 09, 2005 8:34 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to join huge flat files together
Replies: 7
Views: 4745

Somethings are better out of DataStage

This is a typical pre-process type of problem that is easily solved outside of DataStage. Too much emphasis is being placed on DataStage to do flat file manipulation. This can be much more easily done in Python or Perl and then the resulting file is your input for your DataStage job.
by 1stpoint
Fri Nov 12, 2004 9:38 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Splitting Concatenated Strings
Replies: 4
Views: 2304

better solution

IF this is a flat file, it is usually better to pre-process the incoming flat file outside of datastage and create a new flat file. Yes, you can use DataStage by creating a Hash stage, etc. but the processing may be slower than a simple script (perl or python (I prefer python)) that will preprocess ...
by 1stpoint
Fri Nov 05, 2004 4:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Help with converting float to decimal
Replies: 2
Views: 1437

natural promotion

Promoting from float to decimal only requires that you have the appropriated length and scale in the decimal column. No transformation is necessary.
by 1stpoint
Tue Oct 12, 2004 6:48 am
Forum: Enhancement Wish List
Topic: Job Schedules not in Export file.
Replies: 2
Views: 3652

Job Schedules not in Export file.

When I import a scheduled job/batch into a project, the schedule portion disappears. I would like to retain that information and have DataStage not overwrite the schedule information.
by 1stpoint
Tue Oct 12, 2004 6:47 am
Forum: Enhancement Wish List
Topic: DataStage Restricted Mode
Replies: 11
Views: 8170

What about Windows?

You should manage this via user groups. Let Unix level admin persons take a group out of access, because as DataStage has ZERO functionality in this regard. The closest you have is to use Admin and revoke all of the groups with access. Then, you have to go back and add them again when you're finish...
by 1stpoint
Mon Oct 11, 2004 10:49 am
Forum: Enhancement Wish List
Topic: DataStage Restricted Mode
Replies: 11
Views: 8170

refinement of what I meant

1stpoint, you'll need to get the developers off the jobs when you want to export/import, and i believe the only way is to ask them to get off the server jobs (ok, perhaps not the only way). That is not exactly what I am requesting. What I would like to see is a lockout capability so that we can per...
by 1stpoint
Fri Sep 17, 2004 1:21 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynmically Creating Job Parameter
Replies: 7
Views: 3460

Yes

Yes, I do have a trailing #. The correct format of my where clause is:

WHERE Year||Period Beween '#PriorPeriod#' and '#Year#'||'#Period#'
by 1stpoint
Fri Sep 17, 2004 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynmically Creating Job Parameter
Replies: 7
Views: 3460

Not working at all.

Actually the Job is aborting without any error. I modified the job control slightly: DEFFUN PeriodAdd(A, B) Calling "DSU.PeriodAdd" PriorPeriod=PeriodAdd(Year:Period, -1) I also added a Job Parameter PriorPeriod (String) because I wanted to use it in a transformer to show if it was being c...
by 1stpoint
Fri Sep 17, 2004 1:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Dynmically Creating Job Parameter
Replies: 7
Views: 3460

Dynmically Creating Job Parameter

I have a DataStage job with 2 Parameters: Year 2004 and Period 01 In the Job Control of the job I have a sentence that says: PriorPeriod=PeriodAdd(Year:Period, -1) In my first stage (Oracle) I would then reference the Parameters as: WHERE Period Beween '#PriorPeriod#' and '#Year#'||'#Period' This is...
by 1stpoint
Wed Sep 01, 2004 7:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage freezes when i loads data from IQ to SQL Server
Replies: 5
Views: 2205

More Details Needed

Can you provide more specifics, like Db Connection (ODBC, etc). Your environment details as well and exactly what happens when it "freezes".
by 1stpoint
Thu Aug 05, 2004 1:05 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Need help with job design
Replies: 10
Views: 3989

interesting

Maybe you can just pre-process (cat) the 2 sequential files together and then process them with a simpler job design.
by 1stpoint
Tue Jul 13, 2004 7:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Incremental Extract based on a timestamp
Replies: 18
Views: 8771

idea

Source Stage (OCI/ODBC) Select ... From SourceTable Where TimeColumn > (select max(LastExtracted) from staging_control_table) @DATE contains the date/time the job was started and will update the LastExtracted date when the job finishes. I would use an aggregator stage to save this value and an updat...
by 1stpoint
Fri Jul 09, 2004 1:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage to BW data loading error
Replies: 1
Views: 1782

clue

This is an InfoSource file and probably internal to SAP/BW and most likely a permissions issue.
by 1stpoint
Fri Jul 09, 2004 1:03 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: DataStage Upgrade
Replies: 5
Views: 3290

well

Your post contains alot of *missing* information. We can best help you if you can further describe both server environments, database/network connections to<>from both, etc.

Our upgrade was painless and have been testing for about 4 weeks now with no problems whatsoever.