Search found 7201 matches
- Fri Sep 06, 2002 6:40 am
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Some questions about SQL Client Interface (2)
- Replies: 2
- Views: 885
Some questions about SQL Client Interface (2)
This is a topic for an orphaned message.
- Fri Sep 06, 2002 6:29 am
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Some questions about SQL Client Interface
- Replies: 3
- Views: 636
Heres an extract from the output of HELP BCI SQLFreeStmt: | SQL.CLOSE Closes any open cursor associated with the SQL | | statement environment and discards pending | | results at the data source. Using the SQL.CLOSE | | option cancels the current query. All parameter | | markers and columns remain b...
- Fri Sep 06, 2002 5:16 am
- Forum: Archive of DataStage Users@Oliver.com
- Topic: email notification
- Replies: 2
- Views: 470
Hi, you could probably write the log to a file whenever there is a warning or a fatal error and then use blat (freely available) to send the email. regards, aedla -----Original Message----- From: Doris Zammit [mailto:Doris.Zammit@oit.state.nj.us] Sent: Tue 9/3/2002 8:48 PM To: datastage-users@oliver...
- Thu Sep 05, 2002 10:20 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Before and After Command
- Replies: 1
- Views: 398
Assuming you are feeding the bulk loader stage from a Transformer stage, you can execute an after-stage subroutine ExecSH from that Transformer stage, with your command (no other changes) as the command line. If your command fails, ExecSH will set its ErrorCode argument to a non-zero value, aborting...
- Thu Sep 05, 2002 10:18 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Some questions about SQL Client Interface
- Replies: 3
- Views: 636
Basically you need to free the Statement environment before you can execute the second statement. Check out the help or manual on SQLFreeStmt() for information; there are variations on whether you want to keep column bindings to result sets and so on. The result of the first statement is not automat...
- Thu Sep 05, 2002 2:28 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Some questions about SQL Client Interface
- Replies: 3
- Views: 636
Some questions about SQL Client Interface
I have to execute several sql statements in a Job Control, using the SQL Call Interface I first do all the connection tasks : Status=SQLAllocEnv(hEnvS) Status=SQLAllocConnect(hEnvS,hConnS) Status=SQLConnect(hConnS,DsnStg,UserStg,PwdStg) If StatusSQL.SUCCESS Then GoTo ConnectErrorStg Status=SQLAllocS...
- Thu Sep 05, 2002 12:08 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Before and After Command
- Replies: 1
- Views: 398
Before and After Command
Hi all I have a job that writes to a bulk loader. After the batch file is created to load the table, I need to chmod the file in order to make the batch file an executable. Currently I have tried the following command in both the before and after prompts which do not chmod the required file. chmod 7...
- Thu Sep 05, 2002 8:04 am
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Call a function in ORAOCI8
- Replies: 0
- Views: 457
Call a function in ORAOCI8
Hi all, I have the follow parameter in my job: PARTABLES = TABLEA TABLEB TABLEC and i have a function that returns the values: getTable(TABLEA TABLEB TABLEC,1)=TABLEA getTable(TABLEA TABLEB TABLEC,2)=TABLEB getTable(TABLEA TABLEB TABLEC,3)=TABLEC Its possible in ORAOCI8 to call the getTable function...
- Wed Sep 04, 2002 12:02 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Quote Character in before/after job/stage routines
- Replies: 0
- Views: 456
Quote Character in before/after job/stage routines
Hi, I wish to run a UNIX shell command in a before job routine using the ExecSH command. The unix command I wish to run is as follows: if test "`tail -1 xxxxx/xxxxx`" != "" ; then echo "" >> xxxxx/xxxxx ; fi As the directory and file paths are parameterised the actual command in the job routine woul...
- Wed Sep 04, 2002 9:56 am
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Oracle OCI and Locks
- Replies: 1
- Views: 561
Andy, 1))) In theory, Oracle does take row level locks where it can. "surrogate key management table". You might like to explain this a bit further. We use surrogate keys extensively, but have no management table for them. We simply use Oracle sequences to allocate them. As for resolving your lockin...
- Wed Sep 04, 2002 9:29 am
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Isolation level
- Replies: 1
- Views: 5991
"Read Committed" is the equivalent of issuing the following statement to Oracle. SET TRANSACTION ISOLATION LEVEL READ COMMITTED; To Quote the Oracle manual (spelling errors and all) ISOLATION LEVEL: Use the ISOLATION LEVEL clause to specify how transactions containing database modifications are hand...
- Wed Sep 04, 2002 4:12 am
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Isolation level
- Replies: 1
- Views: 5991
Isolation level
Hi Datastage gurus, Am trying to load data into Oracle database. I am very curious to know what the isolation levels are in datastage. When to use Read committed and when to use the other one? When should we worry about setting isolation level? What is the best approach? Please share your knowledge....
- Tue Sep 03, 2002 4:09 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Oracle OCI and Locks
- Replies: 1
- Views: 561
Oracle OCI and Locks
Hi All, 1))) We are having problems when several jobs are concurrently accessing/updating the same table (surrogate key management table). The first job to insert/update the table, takes an exclusive table level lock, and so the other jobs cannot read the table. Does anyone know how to insert/update...
- Tue Sep 03, 2002 3:47 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: Hash File Keys
- Replies: 3
- Views: 675
Thanks guys. Thats really cool. We are using DS 4.2 on windows. And it looks like the restriction has been removed since this version. YN --- "Wurlod, Ray (BSG)" wrote: > In the columns grid in a hashed file stage, there is > a column called Position. > In a record in a hashed file, the key is posit...
- Tue Sep 03, 2002 3:18 pm
- Forum: Archive of DataStage Users@Oliver.com
- Topic: email notification
- Replies: 2
- Views: 470
email notification
Hello group,
We have Datastage 4.2.1 installed on an AIX server. We run batch jobs at night and would like to get email notification on warnings and fatal errors. Could someone provide us with the syntax? Thanks, in advance.. Doris
We have Datastage 4.2.1 installed on an AIX server. We run batch jobs at night and would like to get email notification on warnings and fatal errors. Could someone provide us with the syntax? Thanks, in advance.. Doris