Subroutine to be executed inside the job control routine

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

Post Reply
vinodhraj
Participant
Posts: 53
Joined: Mon Sep 12, 2005 6:51 am

Subroutine to be executed inside the job control routine

Post by vinodhraj »

Hi,

I have created a subroutine which has to be executed inside the batch script. Any solution.

Thanks

vinod
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Define "Batch"? If you mean a DataStage sequence you can call routines directly. Is this a BASIC routine or a C++ PX one?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is this your own (user-written) job control routine, or was it created using a Batch or a Job Sequence?

If it's your own, then you use the CALL statement to invoke a BASIC subroutine. You must know the BASIC subroutine's Catalog name (typically the subroutine name with a "DSU." prefix).
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