External Routine
Posted: Wed Jun 09, 2004 3:56 pm
Hi All,
Could you please help me with a couple questions on the External Routine Stage?
I have a COBOL date conversion program that handles 5 different types of conversions (e.g. It can convert a Julian date to a calender date or a gregorian date, etc). The mainframe copybook used by this program have 5 different redefines.
When I call this routine using the external routine stage in a DS Mainframe job, it seems that I can only bring in 1 type per routine set up in the Manager. In other words, it seems that I need to set up 5 different routines in Manager even though all 5 DS routins will be pointing to the same COBOL routine. When I set up the DS routine in Manager with 5 different types, the DS mainframe job in Designer can only map to 1 type. Could you please let me know if there is any way to set up the routin in Manager that contains 5 different types where the routine can be use by multiple jobs depending on each job's requirement of the type of dates that needs to be converted to?
Another questions is: Could you please let me know if the Parallel jobs have a stage that has the similar function as the External routine stage for the mainframe jobs? I am new to DataStage and have not gone to training on Parallel jobs.
Thanks.
Fan
Could you please help me with a couple questions on the External Routine Stage?
I have a COBOL date conversion program that handles 5 different types of conversions (e.g. It can convert a Julian date to a calender date or a gregorian date, etc). The mainframe copybook used by this program have 5 different redefines.
When I call this routine using the external routine stage in a DS Mainframe job, it seems that I can only bring in 1 type per routine set up in the Manager. In other words, it seems that I need to set up 5 different routines in Manager even though all 5 DS routins will be pointing to the same COBOL routine. When I set up the DS routine in Manager with 5 different types, the DS mainframe job in Designer can only map to 1 type. Could you please let me know if there is any way to set up the routin in Manager that contains 5 different types where the routine can be use by multiple jobs depending on each job's requirement of the type of dates that needs to be converted to?
Another questions is: Could you please let me know if the Parallel jobs have a stage that has the similar function as the External routine stage for the mainframe jobs? I am new to DataStage and have not gone to training on Parallel jobs.
Thanks.
Fan