Skip to main content
Summary Orbix Mainframe function returns null
Article Number 16112
Environment Orbix Mainframe 6.x All supported platforms
Question/Problem Description Orbix Mainframe function returns null
STR2OBJ returns null
Passing data in a structure to Orbix Mainframe function results in error
PL/I compiler reports "IBM1214I W"
Clarifying Information Passing variables that are not level 1 to Orbix Mainframe functions will result in errors.
Error Message
Defect/Enhancement Number
Cause The Orbix Mainframe functions (E.g. STR2OBJH, PODEXEC, etc.) require level 1 parameters.
Resolution Please ensure parameters passed to Orbix Mainframe functions are level 1 variables.

Please see IBM documentation :
http://publib.boulder.ibm.com/infocenter/ratdevz/v7r5/index.jsp?topic=/com.ibm.ent.pl1.zos.doc/topics/ibmc2mst09.htm
"An argument passed BYADDR to an entry does not match the corresponding parameter in the entry description. The address of the argument will not be passed to the entry. Instead, the argument will be assigned to a temporary with attributes that do match the parameter in the entry description, and the address of that temporary will be passed to the entry. This means that if the entry alters the value of this parameter, the alteration will not be visible in the calling routine."
Workaround
Notes
Attachment
Created date: 06 September 2011
Last Modified: 13 February 2013
Last Published: 26 June 2012
First Published date: 10 September 2011

#KnowledgeDocs
#Orbix