Something about DataStage, DataStage Administration, Job Designing,Developing, DataStage troubleshooting, DataStage Installation & Configuration, ETL, DataWareHousing, DB2, Teradata, Oracle and Scripting.
Showing posts with label macro. Show all posts
Showing posts with label macro. Show all posts
Monday, October 07, 2013
Create a unique counter in datastage
This entry describes various ways of creating a unique counter in DataStage jobs.
A parallel job has a surrogate key stage that creates unique IDs, however it is limited in that it does not support conditional code and it may be more efficient to add a counter to an existing transformer rather than add a new stage.
In a server job there are a set of key increment routines installed in the routine SDK samples that offer a more complex counter that remembers values between job executions.
The following section outlines a transformer only technique.
Wednesday, June 05, 2013
DataStage Macros Example
Labels:
Administration
,
DataStage
,
Host
,
Job
,
macro
,
names
,
programming
,
Project
,
Start
,
Tutorial
DataStage Macros
They are built from Data Stage
functions and do not require arguments.
A number of macros are provided
in the JOBCONTROL.H file to facilitate getting information about the current
job, and links and stages belonging to the current job. These can be used in
expressions, job control routines, filenames and table names, and before/after
subroutines.
Some Parallel transformer Macros are
listed here, as said, these can be used in anywhere in job
Labels:
Administration
,
DataStage
,
Host
,
Job
,
macro
,
names
,
programming
,
Project
,
Start
,
Tutorial
Wednesday, March 20, 2013
Removing Excel hyperlinks using a macro
Assuming you know excel programming you could create a macro to automatically remove the hyperlinks.
1. Start Visual Basic Editor. Alternatively you can press ALT-F11 to start the editor.
2. Double click the workbook you are using on the Project Explorer.
3. Type the following text:
Subscribe to:
Posts
(
Atom
)
