Is it possible to invoke a COBOL component from DataStage, pass data to it as input and get return data back? I guess importing the copybook would be one of the first steps, but what stage would be used? Am I posting this to the wrong forum? If so, sorry, could someone direct me to which forum I should be posting to?
Thanks in advance!
Invoking a COBOL component?
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 46
- Joined: Wed Sep 28, 2005 9:24 am
-
- Participant
- Posts: 46
- Joined: Wed Sep 28, 2005 9:24 am
Hi Nicole,
What exactly does "invoke a COBOL component from DataStage" mean?
Vinay has assumed that you have a COBOL file that you wish to read. If that is what you need to do, then his advise is right on.
From the way you phrased your question, it sounds like you want to execute a COBOL program/subprogram. Can you clarify what you want to do?
Mike
What exactly does "invoke a COBOL component from DataStage" mean?
Vinay has assumed that you have a COBOL file that you wish to read. If that is what you need to do, then his advise is right on.
From the way you phrased your question, it sounds like you want to execute a COBOL program/subprogram. Can you clarify what you want to do?
Mike
Hi Mike...I had given up on this one..almost..I think I may need a different version of DataStage..
But yes, I do mean execute a COBOL program, not just reading a COBOL file. Is this possible in DataStage? Do you need the MVS version? Or some other?
Thank you,
Nicole
But yes, I do mean execute a COBOL program, not just reading a COBOL file. Is this possible in DataStage? Do you need the MVS version? Or some other?
Thank you,
Nicole
Mike wrote:Hi Nicole,
What exactly does "invoke a COBOL component from DataStage" mean?
Vinay has assumed that you have a COBOL file that you wish to read. If that is what you need to do, then his advise is right on.
From the way you phrased your question, it sounds like you want to execute a COBOL program/subprogram. Can you clarify what you want to do?
Mike
If not impossible, it would almost certainly be impractical.
Is the COBOL program on a mainframe?
You've indicated that you're on a windows server.
Does the COBOL program operate as a transformation (i.e. does it take a single row as input and produce output from that)? Or does it take a file (set of records) as input?
Most likely, it would be easiest to reverse engineer the COBOL logic, and build the equivalent functionality within DataStage.
Mike
Is the COBOL program on a mainframe?
You've indicated that you're on a windows server.
Does the COBOL program operate as a transformation (i.e. does it take a single row as input and produce output from that)? Or does it take a file (set of records) as input?
Most likely, it would be easiest to reverse engineer the COBOL logic, and build the equivalent functionality within DataStage.
Mike
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: