Search found 127 matches

by avi21st
Fri Jun 16, 2006 3:31 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Complex Flat File-Occurs clause Issue
Replies: 9
Views: 7026

Re: Complex Flat File-Occurs clause Issue

Hi I am loading metadata definitiion from the cobol copy to my Complex Flat File . The copbol copy book has a structure of one of the field as OCCURS ........ DEPENDING ON ..... INDEXED BY ..... My question is How to define this field? Should it be a GROUP. How to define the range in the Occurs cla...
by avi21st
Fri Jun 16, 2006 3:18 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: handling error of Unix script in DS Before-job subroutine
Replies: 4
Views: 2629

Failing the shell for SQL error

Hi One thing I felt that I can ad is - If the SQL scrript called from a Unix shell run via Datastage Exec Activity fails- You need to have two things done to trap the SQL error and fail your shell> When connecting to Oracke use the following call. tab=`$ORACLE_HOME/bin/sqlplus -s /nolog <<EOF >>$LOG...
by avi21st
Fri Jun 16, 2006 3:00 am
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Complex Flat File-Occurs clause Issue
Replies: 9
Views: 7026

Complex Flat File-Occurs clause Issue

Hi I am loading metadata definitiion from the cobol copy to my Complex Flat File . The copbol copy book has a structure of one of the field as OCCURS ........ DEPENDING ON ..... INDEXED BY ..... My question is How to define this field? Should it be a GROUP. How to define the range in the Occurs clau...
by avi21st
Fri May 05, 2006 9:13 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tunables in Administrator
Replies: 6
Views: 2775

Re: Tunables in Administrator

Hi The Hashed file Stage , Read Cache size and Write Cache size from DataStage Administrator.... does it specify the max total size it can cache for all hash files in the project OR is it the value of each individual hash file cache size? Thanks It specify individual hash file size for Read and Wri...
by avi21st
Thu May 04, 2006 1:35 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Problems with Null representation
Replies: 4
Views: 1964

Problems with Null representation

Hi I am having a strange problem with Datastage :roll: In the job I am getting Input File as fixed width and in place of null we have blank. I generally TRIM then value and then check ISNULL - then handle it accordingly{ ISNULL(TRIM(LinkName.ColumnName)} But Datastage cannot understand that TRIM(&qu...
by avi21st
Thu Apr 27, 2006 2:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: KeyMgtGetNextValue
Replies: 4
Views: 2029

I suggest you search the forum for your topic. Generally we update the SDK sequence hashed file with a seperate job. The structure of the SDK Sequence is that it hads the Sequence name and the present value stored. So a Datastage job can take it in a Hash file and update it. Or run this command from...
by avi21st
Wed Apr 26, 2006 4:36 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issues regarding Notification Activity
Replies: 7
Views: 2359

Hi When I am running the Job control routine to test the Job control Routine to send mail I am getting the following error: CopyOfWL_SeqLoadRegistry_test_mail..JobControl (DSSendMail): The following tokens in the 'dssendmail_template.txt' file have not been set in the call to DSSendMail: %from%,%to...
by avi21st
Wed Apr 26, 2006 4:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Issues regarding Notification Activity
Replies: 7
Views: 2359

Hi When I am running the Job control routine to test the Job control Routine to send mail I am getting the following error: CopyOfWL_SeqLoadRegistry_test_mail..JobControl (DSSendMail): The following tokens in the 'dssendmail_template.txt' file have not been set in the call to DSSendMail: %from%,%to%...
by avi21st
Wed Apr 26, 2006 3:02 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: please provide me the websites related to the data stage
Replies: 5
Views: 3177

Re: please provide me the websites related to the data stage

Hi can anybody please provide me the websites related to the datastage learning and other forums Thanks Ajay Well another forum and some documents on Datastage- the links are: Ascential Developer Net is a good one : It has a good forum (not as good as Dsxchange tough- personal opinion-no harm meant...
by avi21st
Wed Apr 26, 2006 3:01 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: please provide me the websites related to the data stage
Replies: 5
Views: 3177

Re: please provide me the websites related to the data stage

Hi can anybody please provide me the websites related to the datastage learning and other forums Thanks Ajay Well another forum and some documents on Datastage- the links are: Ascential Developer Net is a good one : http://developernet.ascential.com/home.php White paper on datastage: http://h71028....
by avi21st
Wed Apr 26, 2006 2:49 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tracking Status of Execute Activity
Replies: 4
Views: 1181

Hi Another question: I saw that we have- #ExecuteActivityName.$CommandName# #ExecuteActivityName.$CommandOutput# #ExecuteActivityName.$ReturnValue# Can we somehow use them in the job control routine to send out success or failure email. Say I am using the folowing code to get the current job name fr...
by avi21st
Wed Apr 26, 2006 1:43 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Execute command with sequnce
Replies: 5
Views: 2203

seanc217 wrote:Hi thanks for the code.
Are you running in a Unix environment? or windows?

The issue I am having is in a windows environment. Even if I exit with an exit code it is not returning a non-zero code when using an execute command activity.
I am working in Unix environment. :oops:
by avi21st
Wed Apr 26, 2006 1:34 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tracking Status of Execute Activity
Replies: 4
Views: 1181

A simple way is to have another shell to check the result of the first shell. If the result is created or valid meaning that it ran, then with conditions you can just mail out the status. I need it to be handled together with the datastage jobs.... Say I have the Job Sequencer as Shell--yes->DS job...
by avi21st
Wed Apr 26, 2006 1:26 pm
Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
Topic: Execute command with sequnce
Replies: 5
Views: 2203

We are handling the same concept of using Execute activty to run the shell script- I was able to trap the error code of the Shell script and also SQL error: This is the code: the Return of status(SQL_STATUS=$?) at the end would help. If you dont have SQL it can also take any status coming out of the...
by avi21st
Wed Apr 26, 2006 1:10 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Tracking Status of Execute Activity
Replies: 4
Views: 1181

Tracking Status of Execute Activity

Hi I need to trap the status of execute Activity (shell script in my case) in case of failure and then mail out the status. Using Datastage Job control can we trap the Status of the Shell and the use DSSendMail to mail the log for that execute Activity. I think DSGetJobInfo would not get me the info...