Search found 196 matches

by sumitgulati
Tue Dec 14, 2004 4:25 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: First line is column names in Input Tab
Replies: 4
Views: 1276

First line is column names in Input Tab

Hi, I have a job that reads an Oracle table and inserts it into a sequential file. I see an option in Sequential file stage in Input\Format tab - 'First line is column names'. I read the help on this and it says: "Select this check box if the first row of data in the file contains column names....
by sumitgulati
Tue Dec 14, 2004 3:51 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Write failed on hash file
Replies: 3
Views: 1311

Every time you run the job does it clear the hash file before writing the new records into it. If yes then where are you performing the clear of file.

Regards,
-Sumit
by sumitgulati
Tue Dec 14, 2004 12:24 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: (DSOpenJob) Cannot get shared access to executable file for
Replies: 6
Views: 2865

Re: (DSOpenJob) Cannot get shared access to executable file

Are you giving an invocation id different from all the other invocation ids running. Regards, -Sumit I've got a multiple instance job but when I call it with more than 3 or 4 instances I get the error "(DSOpenJob) Cannot get shared access to executable file for job ". The job is an unload ...
by sumitgulati
Tue Dec 14, 2004 10:59 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Do we need to run all the hash jobs (PeopleSoft)
Replies: 4
Views: 1938

Re: Do we need to run all the hash jobs (PeopleSoft)

I did not quite understand your question but here is what I have to say. If you have a look up to the hash file in you job then you need to execute the hash job atleast once in order to create the hash file. The correct way to deal with it is to remove the look up if you are not using the underlying...
by sumitgulati
Mon Nov 01, 2004 5:54 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate DDL if Table does not exist
Replies: 4
Views: 1834

Thanks for the suggestion guys. I will have to go through the jobs again to see if this can be achieved using a file instead of a temporary table.

Thanks again,
-Sumit
by sumitgulati
Mon Nov 01, 2004 4:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Value of a generated key rolled over to 1
Replies: 7
Views: 3664

The immediate fix to the issue would be to use the sum of the last Key value and the sequence number. For example say the last value of the key was 9999999999 before the rollback to 1 happen. Then your expression should be KeyMgtGetNextValueConcurrent('<Your sequence Name>')+9999999999. Regards, Sumit
by sumitgulati
Mon Nov 01, 2004 2:08 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Generate DDL if Table does not exist
Replies: 4
Views: 1834

Generate DDL if Table does not exist

Hi All, I have two jobs 1) Job A creates a table X first and then populates data into it. 2) Job B processes data from table X into another table and then drops table X. There is a sequencer calling Job A and then Job B. The problem is if Job B fails for some reason I have to manually drop table X b...
by sumitgulati
Thu Oct 28, 2004 10:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Invocation Id
Replies: 8
Views: 3314

Thanks guys for the suggestions. The macro DSJobInvocationId solved all the issues.

Thanks again
-Sumit
by sumitgulati
Wed Oct 27, 2004 4:06 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Invocation Id
Replies: 8
Views: 3314

When I schedule the main sequencer job I type the invocation id. Now when this main sequencer calls the other jobs I need following two things: 1) It should pass the sequencer invocation id to the invocation id of the called jobs. I can achieve this by using the following code in the Invocation Id e...
by sumitgulati
Wed Oct 27, 2004 2:48 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Invocation Id
Replies: 8
Views: 3314

Capturing Invocation Id

Hi All, I have a multiple instance sequencer Job that calls various other multiple instance jobs. Whenever I run a serquencer job I give an Invocation id. Now is there any was to capture this invocation id within the sequencer job and pass it to the other multiple instance jobs that the sequencer is...
by sumitgulati
Tue Oct 19, 2004 12:11 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lock a table row while reading it
Replies: 3
Views: 1313

Thanks Craig, right now I am using DataStage sequence as a work around. I guess I will have to convince the DBA to allow us to create a sequence.

I still would like to know if there is any way to issue a table lock from a DataStage job.

Thanks and Regards,
-Sumit
by sumitgulati
Tue Oct 19, 2004 10:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Lock a table row while reading it
Replies: 3
Views: 1313

Lock a table row while reading it

Hi All, I have an Oracle table A that has only one row. I have the following requirement: 1) Read table A and get the value of J_ID from it. 2) Increment the value by 1 and update it back to J_ID in table A. Now, I want the moment I read the J_ID value from the table the row should get locked and no...
by sumitgulati
Mon Oct 18, 2004 3:13 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Version of jobs in dsx file
Replies: 4
Views: 1257

The import process will automatically upgrade your jobs to the current version. What version are you importing from? Thats what my question is. Does a dsx file store any information about the version of the tool using which the dsx file was created? Other things off the top of my head - are you run...
by sumitgulati
Mon Oct 18, 2004 2:30 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: How to populate "SDKSequences" to get correct KeyM
Replies: 3
Views: 1331

Re: How to populate "SDKSequences" to get correct

Two ways of doing it: 1) Create a job that takes that inserts data in SDKSequences file. You know it has one key column and the other column that stores the last sequence value. 2) Create a routine. Call the key management routine using a FOR loop as many times as the maximum value you would want to...
by sumitgulati
Mon Oct 18, 2004 2:20 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: to split date from the date record in DDYYYY format
Replies: 3
Views: 1200

Re: to split date from the date record in DDYYYY format

Use Substrings function. All you want is the first two numbers from the date. Substrings(<your date column name>,1,2) Say your column name is CurrentDate then the function becomes: Substrings(CurrnetDate, 1, 2) Regards, -Sumit Hello there, I am trying to separate date from a date record in 'ddyyyy' ...