How to write subroutines?

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
karthi_gana
Premium Member
Premium Member
Posts: 729
Joined: Tue Apr 28, 2009 10:49 pm

How to write subroutines?

Post by karthi_gana »

All,

I would like to write routenes. how to start to write routines?
i mean what is the first step to write a routine?
Karthik
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

The first step is planning. Always.

What do you want it to achieve? What are the input arguments? What are the output arguments? What kind of routine?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Pagadrai
Participant
Posts: 111
Joined: Fri Dec 31, 2004 1:16 am
Location: Chennai

Re: How to write subroutines?

Post by Pagadrai »

Hi,
You can go through the in-built routines first and understand what is the purpose of the routines and what is the Syntax.

Then you can start creating simple routines does some date or string manipulations.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

No!!!

You start by producing a written specification. Always.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply