Search found 258 matches
- Fri Jun 24, 2011 6:51 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: adding " . " with column name
- Replies: 8
- Views: 3330
- Thu Jun 23, 2011 7:50 am
- Forum: General
- Topic: Routine in trigger
- Replies: 6
- Views: 1086
- Thu Jun 23, 2011 7:20 am
- Forum: General
- Topic: Routine in trigger
- Replies: 6
- Views: 1086
yes these jobs were run by the current sequence. a execute command activity is triggering a dsjob command. in which the job name is a parameter. dsjob -run -wait PRJ #jobname# and based on teh status we have to trigger the flow of activities. Now we have two options 1.we can use the retun of the dsj...
- Thu Jun 23, 2011 7:08 am
- Forum: General
- Topic: Routine in trigger
- Replies: 6
- Views: 1086
Yes it is a user defined routine with JobHandle=DSAttachJob(JobName,DSJ.ERRWARN) status=DSGetJobInfo(JobHandle,DSJ.JOBSTATUS) Ans=status inside it. i want to use this routine on the trigger to decide the flow of teh sequence. As of now i am using a routine activity.It is working fine. but when i use...
- Thu Jun 23, 2011 6:02 am
- Forum: General
- Topic: Routine in trigger
- Replies: 6
- Views: 1086
Routine in trigger
Hi,
Is there any way we can use a routine in a trigger.
Without geting the routine is not dimensioned.
I went through a lot of posts regarding this but only found out that it cannot be done.
Regards,
Samyam
Is there any way we can use a routine in a trigger.
Without geting the routine is not dimensioned.
I went through a lot of posts regarding this but only found out that it cannot be done.
Regards,
Samyam
- Sat Jun 11, 2011 7:05 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Find the file name details used in a stage
- Replies: 4
- Views: 2732
Re: Find the file name details used in a stage
You can see the file name in the logs if it is used as a parameter.
Open the job and see if it is hard coded.
Open the job and see if it is hard coded.
- Fri Jun 10, 2011 12:33 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Multiple columns update
- Replies: 13
- Views: 5000
- Fri Jun 10, 2011 12:20 pm
- Forum: General
- Topic: Data and Time for the sequential file.
- Replies: 10
- Views: 3429
Re: Data and Time for the sequential file.
ar eyou using a transformer stage in the job?
- Fri Jun 10, 2011 12:16 pm
- Forum: General
- Topic: Data and Time for the sequential file.
- Replies: 10
- Views: 3429
Re: Data and Time for the sequential file.
remove them inside the job. what are the stage you are using.
If there is a transformer stage you can easily remove it.
If there is a transformer stage you can easily remove it.
- Fri Jun 10, 2011 12:13 pm
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Multiple columns update
- Replies: 13
- Views: 5000
Re: Multiple columns update
You take three stage variables.
stgvar1 = key column
stgvar2 = if stgvar1=stgvar3 then columnname:',':stgvar2 else ''
stgvar3 = stgvar1
now as long as the key columns are same it will keep appending.
make sure you sort the data on the key column and the transformer runs in a sequential mode.
stgvar1 = key column
stgvar2 = if stgvar1=stgvar3 then columnname:',':stgvar2 else ''
stgvar3 = stgvar1
now as long as the key columns are same it will keep appending.
make sure you sort the data on the key column and the transformer runs in a sequential mode.
- Fri Jun 10, 2011 12:05 pm
- Forum: General
- Topic: Data and Time for the sequential file.
- Replies: 10
- Views: 3429
Re: Data and Time for the sequential file.
using functions the same you are doing above.
But instead of one variable create two variables and use them the file stage
But instead of one variable create two variables and use them the file stage
- Fri Jun 10, 2011 11:56 am
- Forum: General
- Topic: Data and Time for the sequential file.
- Replies: 10
- Views: 3429
Re: Data and Time for the sequential file.
in the file name do not give colon ':'
Or create two variable one for date and one for time and use it as in the sequential file stage.
#PATH#'/'#FILENAME##DATE#'_'#TIME#
this should work
Or create two variable one for date and one for time and use it as in the sequential file stage.
#PATH#'/'#FILENAME##DATE#'_'#TIME#
this should work
- Fri Jun 10, 2011 11:50 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: Multiple columns update
- Replies: 13
- Views: 5000
Re: Multiple columns update
Use the trnasformer stage to do the vertical pivot.
Based on the key column.
If the value in the key column is same then append det_10_sal:',':Dept_20_sal and so till the key columns value changes.
Based on the key column.
If the value in the key column is same then append det_10_sal:',':Dept_20_sal and so till the key columns value changes.
- Wed Jun 08, 2011 4:02 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to convert special character in Datastage Transformer
- Replies: 8
- Views: 12668
- Thu May 05, 2011 3:36 am
- Forum: IBM<sup>®</sup> DataStage Enterprise Edition (Formerly Parallel Extender/PX)
- Topic: How to find the job that creates the dataset
- Replies: 2
- Views: 3036