Hi All,
What are all the differences between routines and subroutines? As far as my understanding is concerned, both are a collection of BASIC statements which performs some logic. Routines will be called when the job runs and in the case of subroutines, these can be called before or after the job run. Please clarify.
Thanks,
Sumesh
Routines and Subroutines
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 153
- Joined: Thu May 11, 2006 1:52 am
- Location: Bangalore
Re: Routines and Subroutines
Subroutines do not return a value,Not available in expressions.When designing a job you can specify a subroutine to run before or after the job, or before or after an active stage.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Routines in DataStage server job is a class that includes before/after subroutines and transform functions.
Put another way, Routines is the name of the root node in the Repository in which before/after subroutines and transform functions are stored.
At least prior to version 8.
Put another way, Routines is the name of the root node in the Repository in which before/after subroutines and transform functions are stored.
At least prior to version 8.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.