Calling COBOL ROUTINE from DataStage v8

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
dsscholar
Premium Member
Premium Member
Posts: 195
Joined: Thu Oct 19, 2006 2:45 pm

Calling COBOL ROUTINE from DataStage v8

Post by dsscholar »

Hello,

Is it possible to call COBOL Routines from DataStage v8 ?

Thanks !
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Is it possible to call them from version 7? If so, then the answer to your question is "yes, using the same technique".

A marketing answer is also "yes", provided you are using EE MVS edition (in which DataStage has generated COBOL source code that you compile and run on your mainframe).

What are you attempting to accomplish?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
dsscholar
Premium Member
Premium Member
Posts: 195
Joined: Thu Oct 19, 2006 2:45 pm

Post by dsscholar »

Thanks Ray !

We are doing a POC. Our project requires us to pull data from IMS database. We can achieve this by using Classic Federation Server or/iWay Connectors, but that would require installing certain components on IMS. Since thats a long process and it might take a couple of weeks to get the permission from Infrastructure team and since time is a key consideration, we are thinking of writing a mainframe utility to pull the data from IMS, convert it into a flat file and FTP it to unix box. This file can then be picked up by DataStage and used for further processing.

We are planning to use information server. Is there a way to call mainframe utilities from EE V8 ?
dsscholar
Premium Member
Premium Member
Posts: 195
Joined: Thu Oct 19, 2006 2:45 pm

Post by dsscholar »

Sorry ! I forgot to mention, we dont have MVS Edition. We need to develop parallel jobs.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

I don't believe there is from EE. I don't know enough about Federation Server but would assume that the answer is no there also, unless your DB2/390 has hooks to the COBOL functions. Ultimately, you need a COBOL program to call a COBOL function.
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