IBM Support

TSO parameters are wrongly set to lowercase

Troubleshooting


Problem

The following CLIST fails because it generates DEF(abc=1),OPTFILE(xyx) PROC 0 CONTROL LIST ASIS SET PARM=DEF(ABC=1),SOURCE,OPTFILE(XYX) CCNDRVR &PARM

Cause

The parameter string is all uppercase. The C run-time software changes the upper case text to lower case.

Resolving The Problem

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. This behavior is documented in the C/C++ Language reference book below. Then browse for the section "Calling Functions and Passing Arguments". It is true for the compiler, as shown above, and for any user-written C program. In TSO at the command prompt, if you typed
CALL 'H44IPCS.LOAD(hello)' 'DEF(ABC=1),SOURCE,HELLO' ASIS
it would also convert those parameters to lower case even though the ASIS exists. You would have to type something like
CALL 'H44IPCS.LOAD(hello)' 'DEF(ABC=1),SoURCE,HELLO' ASIS

Related Information

[{"Product":{"code":"SSTLTF","label":"z\/OS XL C\/C++"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":"Documentation","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"All versions","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}},{"Product":{"code":"SS6SG3","label":"Enterprise COBOL for z\/OS"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":" ","Platform":[{"code":"PF035","label":"z\/OS"}],"Version":"4.2","Edition":"","Line of Business":{"code":"LOB17","label":"Mainframe TPS"}}]

Historical Number

RTA000176193

Document Information

Modified date:
08 August 2018

UID

swg21169440