Beruflich Dokumente
Kultur Dokumente
A: Create a Excel spreadsheet with new and old names. Export the whole project as a dsx. Write a Perl program, which can do a simple rename of the strings
looking up the Excel file. Then import the new dsx file probably into a new project for testing. Recompile all jobs. Be cautious that the name of the jobs has also
been changed in your job control jobs or Sequencer jobs. So you have to make the necessary changes to these Sequencers.
D "
$
A: The jobs in which data is read directly from OCI stages are running extremely slow. I had to stage the data before sending to the transformer to make the jobs
run faster.
B. The job aborts in the middle of loading some 500,000 rows. Have an option either cleaning/deleting the loaded data and then run the fixed job or run the job
again from the row the job has aborted. To make sure the load is proper we opted the former.
[
%
A: First we execute the jobs that load the data into Dimension tables, then Fact tables, then load the Aggregator tables (if any).
ü
(
.
)
A: Starting from DS 6.0 we have the ability to call external Java functions using a Java package from Ascential. In this case we can even use the command line to
invoke the Java function and write the return values from the Java program (if any) and use that files as a source in DataStage job.
c/ 0 )
)
A: Functions like [] -> sub-string function and ':' -> concatenation operator
cc
!u
A:
Most of the times the data was sent to us in the form of flat files. The data is dumped and sent to us. In some cases were we need to connect to DB2 for look-ups
as an instance then we used ODBC drivers to connect to DB2 (or) DB2-UDB depending the situation and availability. Certainly DB2-UDB is better in terms of
performance as you know the native drivers are always better than ODBC drivers. 'iSeries Access ODBC Driver 9.00.02.02' - ODBC drivers to connect to
AS400/DB2.
cu ' ) %
A: Sequencers are job control programs that execute other jobs with preset Job parameters.
cD
- %
A: In almost all cases we have to delete the data inserted by this from DB manually and fix the job and then run the job again.
A:
1. Staged the data coming from ODBC/OCI/DB2UDB stages or any database on the server using Hash/Sequential files for optimum performance also for data
ds utilities categories.
Constraints are generally CPU intensive and take a significant amount of time to process. This may be the case if the constraint calls routines or
external macros but if it is inline code then the overhead will be minimal.
11. Try to have the constraints in the 'Selection' criteria of the jobs itself. This will eliminate the unnecessary records even getting in before joins
are made.
12. Tuning should occur on a job-by-job basis.
13. Use the power of DBMS.
14. Try not to use a sort stage when you can use an ORDER BY clause in the database.
15. Using a constraint to filter a record set is much slower than performing a SELECT « WHERE«.
16. Make every attempt to use the bulk loader for your particular database. Bulk loaders are generally faster than using ODBC or OLE.
c[
A:
Typically a Reject-link is defined and the rejected data is loaded back into data warehouse. So Reject link has to be defined every Output link you wish to collect
rejected data. Rejected data is typically bad data like duplicates of Primary keys or null-rows where data is expected.
c· # )· /
2
#1
2
#
A: Link Partitioner - Used for partitioning the data.
Link Collector - Used for collecting the partitioned data.
cÎ ' 0
3
A: Routines are stored in the Routines branch of the DataStage Repository, where you can create, view or edit. The following are different types of routines:
1) Transform functions
2) Before-after job subroutines
3) Job Control routines
cü '
45
45
A: IConv() - Converts a string to an internal storage format
OConv() - Converts an expression to an output format.
c*
!u
A: Using DB2 ODBC drivers.
u/ #
67"-)"-87
A: MetaStage is used to handle the Metadata which will be very useful for data lineage and data analysis later on. Meta Data defines the type of data we are
handling. This Data Definitions are stored in repository and can be accessed with the use of MetaStage.
uc #
+"780"93:*-2"9
A: Qulaity Stage can be integrated with DataStage, In Quality Stage we have many stages like investigate, match, survivorship like that so that we can do the
Quality related works and we can integrate with datastage we need Quality stage plugin to achieve the task.
uu 7(
ü3*
A:
Oracle 8i does not support pseudo column sysdate but 9i supports
Oracle 8i we can create 256 columns in a table but in 9i we can upto 1000 columns(fields)
u[ ')-
A: The Administrator enables you to set up DataStage users, control the purging of the Repository, and, if National Language Support (NLS) is enabled, install and
manage maps and locales.
uÎ ')6
A: The Manager is a graphical tool that enables you to view and manage the contents of the DataStage Repository
D/
)
# )[ ,$
#
A: Yes. The following are some of the steps; I have taken in doing so:
1) Definitely take a back up of the whole project(s) by exporting the project as a .dsx file
2) See that you are using the same parent folder for the new version also for your old jobs using the hard-coded file path to work.
3) After installing the new version import the old project(s) and you have to compile them all again. You can use 'Compile All' tool for this.
4) Make sure that all your DB DSN's are created with the same name as old one's. This step is for moving DS from one machine to another.
5) In case if you are just upgrading your DB from Oracle 8i to Oracle 9i there is tool on DS CD that can do this for you.
6) Do not stop the 6.0 server before the upgrade, version 7.0
install process collects project information during the upgrade. There is NO rework (recompilation of existing jobs/routines) needed after the upgrade.
1.Create a calculated column which contains the information that the header is to contain,
such as "Report for year 1999" (concatenated text and date to string sub string extraction).
2.Highlight the report, and then right-click.
3.Select Properties, and then click the Headers/Footers tab.
4.Clear the Column Title Header check box. This will remove the headers from your columns.
5.Reinsert the rest of the column headers; insert text will work. For the dynamic column, from
the Insert menu, click Data and select the calculated column you created and insert it into the
report.
Drill through report means to extract the data by selecting a column in a report, means to get
the detailed information by clicking that column data.
Mutiple database could not be connected in a single catalog. So that we use hotfile for this
purpose.
By using Cognos Schedular, one can schedule the running reports in Impromptu to execute
and save it in desired format.
By using Cognos MACRO script language the reports can be executed and distributed to
recipients by using mail applications.
3.In the query subject definition window, pull in all the data you need.
4. after creating, click on the new query subject, from the properties pane, select "IQD" from
the drop down menu of externalizeMethod.
DONE.
2. Name the new Package; select the IQDReportNet object from the project.
3. add security, select language, select the funtion list(DB), select the location from the
WIZARD
To resolve the above problem, we have to create a shortcut (or) Alias to the Table T1.
*
(
¢
¢
p 0!6))
1
(
! "
#$ !
%Y
!
&
# "
#
# #
#
#
'
#
&
(&
% &)
!
!
*
& +,+-
+
%
!
¢!
.! &!/
0
1
23
4
!1"
$
!&
!1! &66
5 &
°
Y!
1
!
.
'
(
)# /
3
3
-#
ð
`
#(
& 7
! (
/
1
&)
&'
#
&¢ #
$ !" !
!
&
! 7!
/
,
)
/
! 1
) 1
13
1
$1
1 # &
1
11
ï ï
ï
() 1
° !
&1
&
ë
&2
&14
!
21
#
4
2;/% 4
2 !
4
)
!
#
(
&
!
#
&
&
&
!
Y
%!
& &!
$
!
/
2 !4
2
&4"
&
)
":
&
!
!
1
&5 !)
=
!
#
#
1!
0
#
3 .)
¢
?
#
(
!
5
#
"
" ¢>?@,
O
! "#
'"()*+
" ,
-O' ()*+
¢ ()*+
()*+
,. ()*+
+/0$%!" 1%
O"()*+
$002%&
%3
O ¢ ¢¢!"¢ - "¢%! !O O "O ' - &()*+
%
¢.,OO
0
+
2
!
*<
4-!/
# !
¢
? ?
!
MMM4456467#8#9:;
66666<+0
:::
:::
66666+0
)1
!::
ë
#
1 9B( 1!
!
&
!
ð
3
"
Y
&
!
&!
!
&
&
&
)
&
(!
¢
#
!
)
B
(
1
#
)= &
!
#
`
)
¢
%#
#!
C= ¢
! &C&
!
;
¢
! &
!
<
)
#
&!
$!
A!# !
!
&!
!
#
&)
&!
!
&
!
#
&
/
1
=
1
!
¢
1
;
C=
$
#
) #
&!
2
/'
!
4/
¢ ¢
2 4¢ 7
F
- = (
` 4
= !
1/
!#
1(
!
#
5 ù
: *+*
/
2*+
0
+3
*(+2M3
A: 7?=*
/$%,%
9: 8M<(0/*
/
5:
;: 6666666666666666666666666666666666666666666666666666666666666
4: 6666666666666666666666666666666666666666666666666666666666666
: CC¢D'"¢CC
8: 6666666666666666666666666666666666666666666666666666666666666
9:
;: 666666666666666666666666666666666666666666666666666
>:
5
: *+M
A: 7?=*
/$%,%
9: 8M(/*
/
5:
;: 666666666666666666666666666666666666666666666666666666666666
74: 666666666666666666666666666666666666666666666666666666666666
7A: 666666666666666666666666666666666666666666666666666666666666
78:
75: 666666666666666666666666666666666666666666666666666
7;:
!
*+M
@(@
*+
0
7?=*
/$%,%
8M(/*+
0
+
6666666666666666666666666666666666666666666666666666666666666
6666666666666666666666666666666666666666666666666666666666666
CC¢ CC
6666666666666666666666666666666666666666666666666666666666666
666666666666666666666666666666666666666666666666666
6@+2 O
1"¢
O B43
5
A: *++*+*
/
AA: 7?=*
/$%,%
A9:
A5: 6666666666666666666666666666666666666666666666666666666666666
A>: 6666666666666666666666666666666666666666666666666666666666666
8A: 6666666666666666666666666666666666666666666666666666666666666
88:
85: 666666666666666666666666666666666666666666666666666
8;:
(
¢ =
1
DEË
() 1
Ë )
#
1
$ =
2
4
3
¢>?
7
!
1
&
¢>?
)
=
)1
!
!
(
$&
#
!3
!
2!
&
#
4!
!
&!
! & !
&
#
!
#
)
`
)
¢
!
1
)
! &
#
!
#
(`
)
¢
!
&
&/
1!
&!1
!
¢.,OO
@
+(*G
*(+
! "
&
#
!
&
¢#
`
)
¢
!
&
* $
#
12#
4
!
& #5
#( !
&#"
!
$
) #
1
!
# "
(
#
1
# &
/
!)
!#
1
&
!
¢!
.8!
B = 0I !
# =
1
$ !
-
#
1
1
° °
/
1)
!
1
"
)1
!
!
¢>?
1/
#
&
#"
)
1
&
"! &
# #!
C
!! &#,
)
! &
"
J
p
p 2
¢
76
A;
)
! &1
#
!
;
¢
J
p 2
9
¢
& $76559:
J
p 2
#
¢
¢ 55:50
J
p 2