Page 1 of 1

Subroutine to be executed inside the job control routine

Posted: Tue Oct 03, 2006 8:11 am
by vinodhraj
Hi,

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

Thanks

vinod

Posted: Tue Oct 03, 2006 8:45 am
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?

Posted: Tue Oct 03, 2006 3:55 pm
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).