Running an Endevor generate of a C++ module in foreground fails
search cancel

Running an Endevor generate of a C++ module in foreground fails

book

Article ID: 9173

calendar_today

Updated On:

Products

Endevor Endevor Natural Integration Endevor - ECLIPSE Plugin Endevor - Enterprise Workbench

Issue/Introduction

Running an Endevor generate of a C++ module in batch, it runs successfully. If the same generate is executed in foreground, it fails because some of the compile parameters have been converted to lower case:

: DEFINE(C370=1) - batch
: DEFINE(c370=1) - foreground 

: DEFINE(_CICS_=1) - batch 
: DEFINE(_cics_=1) - foreground 

: DEFINE(_C_=1) - batch 
: DEFINE(_c_=1) - foreground 

Environment

z/OS

Cause

This behavior is documented in the C/C++ Language reference book 

See the IBM TechNote :  TSO parameters are wrongly set to lowercase

http://www-01.ibm.com/support/docview.wss?uid=swg21169440

 

Historical Number  RTA000176193

Resolution

The Endevor Generate processor must be updated and at least one parameter anywhere in the parameter string must be mixed case in order for the uppercase ones to remain uppercase.

For example, to solve this problem, change the word SOURCE to SOURCe.

Now TSO will generate DEF(ABC=1), OPTFILE(XYX) as you wish.