USE Procedure Step not supported on selected environment
search cancel

USE Procedure Step not supported on selected environment

book

Article ID: 12167

calendar_today

Updated On:

Products

Gen Gen - Workstation Toolset Gen - Host Encyclopedia Gen - Run Time Distributed

Issue/Introduction



When generating a server Procedure Step that contains a Procedure Step USE statement in language of 'C' and with the following generation defaults, a developer gets a message "A USE Procedure Step statement is not supported on the selected environment.", why is this the case?  

Generation Defaults: 
Operating System: WINDOWS
DBMS(TD): <any>
LanguageL C
TP Monitor: IEFAE
Communications: GEN

Environment

Release: KGNDDL99000-8.5-Gen-DBP Developer License
Component:

Resolution

On Windows, it is not allowed to have a Procedure Step USE statement on a Server Procedure Step, except with a communications type of MQS or Tuxedo

Gen allows the Procedure Step use within a server Procedure Step when:
commtype = MQS or TUX    and   Operation System = WINDOWS, UNIX, or LINUX