function & a transform

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
sasi_kumarreddy
Participant
Posts: 27
Joined: Thu Aug 25, 2005 6:33 am

function & a transform

Post by sasi_kumarreddy »

Hi all,

will any body let me know the difference between a DS Function and a DS Transform.
SASI
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Many people have answered that question in this forum before. Doing a search will return many helpful threads, including this one.
rkdatastage
Participant
Posts: 107
Joined: Wed Sep 29, 2004 10:15 am

Post by rkdatastage »

Hi
A Transforms is a single line of code that can be used in derivations and constraints. During compilation, the source code is substituted into the job design information and then compiled in. Changing the Transform requires recompiling all jobs that use it.
where as a Function is a user-created function that can be utilized just like internal BASIC functions to derive or calculate something. As an external function, it is self-contained. It is used by jobs mostly in derivations and constraints. It is utilized inline during an expression, as opposed to CALLed

RK
loveojha2
Participant
Posts: 362
Joined: Thu May 26, 2005 12:59 am

Post by loveojha2 »

rkdatastage wrote:Hi
It is utilized inline during an expression, as opposed to CALLed

RK
You mean when we use a function within an expression it acts as inline? :?:
I doubt
Success consists of getting up just one more time than you fall.
kcbland
Participant
Posts: 5208
Joined: Wed Jan 15, 2003 8:56 am
Location: Lutz, FL
Contact:

Post by kcbland »

loveojha2 wrote: I doubt
Too bad, RK is right.
Kenneth Bland

Rank: Sempai
Belt: First degree black
Fight name: Captain Hook
Signature knockout: right upper cut followed by left hook
Signature submission: Crucifix combined with leg triangle
sasi_kumarreddy
Participant
Posts: 27
Joined: Thu Aug 25, 2005 6:33 am

Post by sasi_kumarreddy »

thank you for the reply
SASI
Post Reply