how to write routine
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 19
- Joined: Mon Jul 18, 2005 5:37 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
How To Write Routine (server routine)
Start with a specification of what you want to achieve. The specification is written in normal language, for example English.
Formalize the input arguments needed; seek opportunities to make a more flexible reusable component.
Determine whether your need is a before/after subroutine or a transform function.
Have the specification reviewed (for example peer review). If it's a business requirement, have the business sign off that the specification is correct.
Design test data that ensure that invalid values, boundary conditions, and so on are handled appropriately.
Translate into DataStage BASIC, save, compile and test. Fix any syntax errors that prevent compilation. If any test result does not yield what was expected, investigate and correct the situation.
Start with a specification of what you want to achieve. The specification is written in normal language, for example English.
Formalize the input arguments needed; seek opportunities to make a more flexible reusable component.
Determine whether your need is a before/after subroutine or a transform function.
Have the specification reviewed (for example peer review). If it's a business requirement, have the business sign off that the specification is correct.
Design test data that ensure that invalid values, boundary conditions, and so on are handled appropriately.
Translate into DataStage BASIC, save, compile and test. Fix any syntax errors that prevent compilation. If any test result does not yield what was expected, investigate and correct the situation.
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.