Search found 50 matches

by dtatem
Wed Jun 11, 2008 8:28 pm
Forum: General
Topic: Importing COBOL Copybook Into The CFF Stage
Replies: 1
Views: 1611

Importing COBOL Copybook Into The CFF Stage

Hello To All: This is my first time working with the CFF stage and I did read through the documentation.I am trying to import the following COBOL Copybook into the CFF stage. I was reading some various posting from the group and it mentioned to start the level numbers begin at 5 or 10 and subsequent...
by dtatem
Sun Mar 30, 2008 12:06 pm
Forum: General
Topic: Lookup Generating ORA-01036: illegal variable name/number
Replies: 13
Views: 9036

Re: Lookup Generating ORA-01036: illegal variable name/numbe

Hi all: I am performing a lookup based on the following SQL which is UserDefined from Table and columns instead of the "Generated SQL Query". DataBase is Oracle. SELECT CODE_LOOKUP_TYPE.CD_LKP_TYPE_ID, CODE_LOOKUP_TYPE.CD_LKP_TYPE_CD FROM ODSR1.CODE_LOOKUP_TYPE WHERE CODE_LOOKUP_TYPE.CD_L...
by dtatem
Fri Mar 28, 2008 2:53 pm
Forum: General
Topic: Lookup Generating ORA-01036: illegal variable name/number
Replies: 13
Views: 9036

Lookup Generating ORA-01036: illegal variable name/number

Hi all: I am performing a lookup based on the following SQL which is UserDefined from Table and columns instead of the "Generated SQL Query". DataBase is Oracle. SELECT CODE_LOOKUP_TYPE.CD_LKP_TYPE_ID, CODE_LOOKUP_TYPE.CD_LKP_TYPE_CD FROM ODSR1.CODE_LOOKUP_TYPE WHERE CODE_LOOKUP_TYPE.CD_LK...
by dtatem
Wed Nov 14, 2007 10:05 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11182

can you please explain the use of $CommandOutput you use and how you implemented it? Thanks I got the solution. Instead of using $ReturnValue, I used $CommandOutput Thanks for your help. Gateleys: The SQL is fine...thinks are running fine now... --dtatem dtatem, since your problem has been addressed...
by dtatem
Tue Nov 13, 2007 10:32 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11182

This is how I implemented the solution,based on the feedback I received from gateleys's responses: 1.In my DataStage job, I created a parameter defined as"pListValues" 2. In the SQL I make a reference to this parameter and test it in the job to make sure it works. 3. I created a Sequencer,...
by dtatem
Mon Nov 12, 2007 5:32 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11182

Gateleys: The SQL is fine...thinks are running fine now... --dtatem gateleys In my UserVariables stage, you are right, I needed double quotes, but now when the job runs from the sequencer, it only processes one of the list values and not the rest. Can you check the log as to how the SQL is being int...
by dtatem
Sun Nov 11, 2007 5:29 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11182

gateleys In my UserVariables stage, you are right, I needed double quotes, but now when the job runs from the sequencer, it only processes one of the list values and not the rest. I have no idea if this would work properly by the time it gets to your SQL, but try a string where your inside quotes ar...
by dtatem
Fri Nov 09, 2007 11:40 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11182

Re: Passing a List of Values Into SQL as Parameter

I have attempted to use the UserVariablestage in aSequencer UserVariables----------->JobActivity In the UserVariables stage, in the first column I have "ListVals" . In the second column I have the values listed as "A","B","C"..but it appears that it doesn't li...
by dtatem
Fri Nov 09, 2007 1:19 pm
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11182

Re: Passing a List of Values Into SQL as Parameter

Thanks for replying..I like your idea of using the UserVariable Stage...a question about this, will I have to list all of values in the UserVariable stage?? So am I to understand if I use the UserVariableStage to store all the values, when the job runs, via the sequencer all values in that list will...
by dtatem
Fri Nov 09, 2007 9:46 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Passing a List of Values Into SQL as Parameter
Replies: 19
Views: 11182

Passing a List of Values Into SQL as Parameter

Good Day: I have a server DataStage job that reads from a DATABASE table base on the SQL below: SELECT C1,C2,C3 From Table where TYPE IN('A','B','C','D', etc...etc) The "IN" list can be rather long and to avoid typing in all the possible types in the SQL, is there a way of putting these va...
by dtatem
Thu Nov 08, 2007 10:22 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Server JobStatus Variable
Replies: 6
Views: 4006

Re: Capturing Server JobStatus Variable

The JOBINTERIMSTATUS states the following: DSJ.JOBINTERIMSTATUS. Returns the status of a job after it has run all stages and controlled jobs, but before it has attempted to run an after-job subroutine. (Designed to be used by an after-job subroutine to get the status of the current job) My question ...
by dtatem
Thu Nov 08, 2007 10:11 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Server JobStatus Variable
Replies: 6
Views: 4006

Re: Capturing Server JobStatus Variable

I was a bit quick on the submit button..but I found the variable.. thanks Can you tell me what is the variable for "INTERIM" status Hello To All: I have an After job server routine that captures jobs statistics, row counts etc. In this routine I have the following code JobStatus = DSGetJob...
by dtatem
Thu Nov 08, 2007 10:08 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Server JobStatus Variable
Replies: 6
Views: 4006

Re: Capturing Server JobStatus Variable

Can you tell me what is the variable for "INTERIM" status Hello To All: I have an After job server routine that captures jobs statistics, row counts etc. In this routine I have the following code JobStatus = DSGetJobInfo(JobHandle, DSJ.JOBSTATUS) The content of JobStatus is 0[zero] when we...
by dtatem
Thu Nov 08, 2007 9:57 am
Forum: IBM<sup>®</sup> Infosphere DataStage Server Edition
Topic: Capturing Server JobStatus Variable
Replies: 6
Views: 4006

Capturing Server JobStatus Variable

Hello To All: I have an After job server routine that captures jobs statistics, row counts etc. In this routine I have the following code JobStatus = DSGetJobInfo(JobHandle, DSJ.JOBSTATUS) The content of JobStatus is 0[zero] when we insert it into an ODS logging table when the job completes OK. Inst...
by dtatem
Wed Jul 11, 2007 8:26 pm
Forum: General
Topic: Join Stage - Produces More Records Than Expected
Replies: 1
Views: 1529

Join Stage - Produces More Records Than Expected

Hello To All: I created a job where I am reading in 20 records.In these 20 records, I have created a stage variable, groupkey and assigned it a value of "1" with the data and this result gets moved to a copy stage. I am also using the DB2 Store procedure stage where I am passing these 20 r...