Topic
1 reply Latest Post - ‏2007-03-22T13:20:38Z by SystemAdmin
SystemAdmin
SystemAdmin
93 Posts
ACCEPTED ANSWER

Pinned topic external subroutine

‏2006-02-08T18:02:09Z |
I was trying to make an external subroutine cobol program on MVS but I was having problem with source and target. What would be my source stage and target stage. You see, I am a cobol programmer before and I know the data have to be passed thru linkage section in and out. Do I have to manually code this subroutine.

I have no problem calling an subroutine from the calling program. I can use the external routine stage or I can use external source and external stage. The only problem as I said would be how to create the sub-routine in the MVS. Please help.
Updated on 2007-03-22T13:20:38Z at 2007-03-22T13:20:38Z by SystemAdmin
  • SystemAdmin
    SystemAdmin
    93 Posts
    ACCEPTED ANSWER

    Re: external subroutine

    ‏2007-03-22T13:20:38Z  in response to SystemAdmin
    Hi,
    The routine would have to be coded externally.
    In the Datastage you would need to register the external routine by creating a mainframe routine.

    For any job you make in datastage, you can use the external routine stage and select the external routine you registered.

    Hope it helps.

    Sudhir