Unique sequence should be another topic.
There are two system variables that you can use, @INROWNUM and @OUTROWNUM (possibly added to a constant, which you can keep in a Stage variable).
Search found 53125 matches
- Tue Mar 30, 2004 4:21 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Id to be Incremented for every job run
- Replies: 4
- Views: 2152
- Tue Mar 30, 2004 4:20 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Id to be Incremented for every job run
- Replies: 4
- Views: 2152
This is a very common requirement. Your choices include a separate job to select the current maximum value from BATCH_ID_TABLE (ODBC stage), add 1 to it (Transformer stage) and update the value (BATCH_ID_TABLE). You can also use BASIC SQL Client Interface (BCI) functions if you have a licensed ODBC ...
- Tue Mar 30, 2004 4:10 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Stopping continuation of job running
- Replies: 4
- Views: 937
Well, there's always DSStopJob(DSJ.ME), but it's definitely not recommended, as the job's status is then STOPPED and it would need to be reset before being eligible to run again. Best practice is to use two jobs, one to do the checking and one to do the remainder of the work, with their controller (...
- Tue Mar 30, 2004 4:08 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: &PH& jobnotify error 911
- Replies: 8
- Views: 2329
&PH& is a directory. The message would have been in an operating system file in that directory. Or, the message may have been in the job log. Error code 911 represents a SIGSEGV (segmentation violation), which is a memory error. I'm surprised to see &PH& used in the same context. Unless there was so...
- Mon Mar 29, 2004 11:50 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Datastage Administrator configuration error
- Replies: 8
- Views: 4607
Usually the Template project is located as a sibling directory to DSEngine (that is, from DSEngine, you can cd ../Template). There should also be a file called Template.ini in the parent directory of DSEngine. Template.ini looks something like this: [Project] Location=/usr/Ascential/DataStage/Templa...
- Mon Mar 29, 2004 7:35 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: SQL Tuning
- Replies: 6
- Views: 4380
That said, most databases have an EXPLAIN command, so you can be advised of the execution plan. On this basis you might decide, for example, to add an index on a column that is constrained in your query. However, adding indexes slows down update times, so you can't just go adding indexes to your hea...
- Mon Mar 29, 2004 4:08 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Importing ODBC Table Definitions
- Replies: 2
- Views: 993
When you connect during the Import process, select just one table then click on the Details button. This should return a list of the column names in a message box. Also click on View Data. These will determine whether the problem is in what SQL Server is returning, or what DataStage is writing to th...
- Mon Mar 29, 2004 1:49 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Upper Case Conversion
- Replies: 2
- Views: 917
DataStage is perfectly at home with the idea of case under NLS. Definition of what is upper case and what is lower case and how to get from one to the other and back again are all part of the CTYPE category of the locale. For example, accented lower case letters lose their accents when converted to ...
- Mon Mar 29, 2004 12:25 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Upper Case conversion
- Replies: 5
- Views: 1642
You should not post this in the Looking for Talent forum.
The short answer, if you're on UNIX, is to use a filter in the Sequential File stage, running the file through tr. For example:
The short answer, if you're on UNIX, is to use a filter in the Sequential File stage, running the file through tr. For example:
Code: Select all
tr -s '[:lower:]' '[:upper:]' - Sat Mar 27, 2004 3:03 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Oliver List Closing
- Replies: 0
- Views: 438
Oliver List Closing
Clif Oliver has decided to close his list server at the end of March. It was the first DataStage "community" and archiving it here has formed the basis of a lot of valuable information available to the Search engine here. So a huge vote of thanks to Clif for the time and energy he has devoted to not...
- Fri Mar 26, 2004 12:13 am
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Calling a datastage job from command line
- Replies: 2
- Views: 1385
Welcome to the Forum. As Ken said, the command that you need is dsjob.exe. The one you tried, Director.exe, is the Director client itself. The executable dsjob.exe is located in the bin folder within the DSEngine folder. The location of this folder is stored in your Registry, but there's an easy way...
- Thu Mar 25, 2004 9:43 pm
- Forum:
- Topic: How did MetaStage do in the magic quadrant?
- Replies: 2
- Views: 1877
- Thu Mar 25, 2004 3:16 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: DataStage Job Automated Monitoring
- Replies: 5
- Views: 4133
Quick response. Search for SMTP rather than SNMP. DataStage has its own inbuilt function DSSendMail, which is an interlude to sendmail() on UNIX or any other mail program. On Windows, a lot of people have had good experiences with blat. Again, search the forum for "email" and for "blat". It's straig...
- Thu Mar 25, 2004 3:10 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Hash File Location
- Replies: 2
- Views: 1144
Even just validating jobs in production will create the hashed files (32-bit only) associated with hashed file stages that have input links. The advantage of this approach is that you don't have to process any data. The disadvantage is that you can't create 64-bit hashed files, so would subsequently...
- Thu Mar 25, 2004 3:07 pm
- Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
- Topic: Get Job List
- Replies: 2
- Views: 1266
Using dsjob, the option is -ljobs.
Code: Select all
dsjob -ljobs projectname > filename