APAR status
Closed as program error.
Error description
Problem The create() perm appears to suceed when creating types in read-only mode. It should return an error, but it doesn't. Closing the module then results in the new type being lost. Other similar perms do correctly fail e.g. create() for objects and attribute, softDelete() and modify(). To Reproduce Use the create() perm to attempt to create a type in a module in read-only mode e.g. ' string errmess = '' AttrType at = create('Cost', attrInteger, errmess) if (!null errmess) print 'Attribute type creation failed\n' ' Possible Workarounds Test the mode of the module before creation.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: * **************************************************************** * PROBLEM DESCRIPTION: * **************************************************************** * RECOMMENDATION: * **************************************************************** The create() perm appears to succeed when creating types in read-only mode. It should return an error, but it doesn't.
Problem conclusion
The code has been changed so an error is reported
Temporary fix
Comments
APAR Information
APAR number
PM24338
Reported component name
TLOGIC DOORS
Reported component ID
5724V61DR
Reported release
920
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2010-10-12
Closed date
2010-12-08
Last modified date
2010-12-08
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Fixed component name
TLOGIC DOORS
Fixed component ID
5724V61DR
Applicable component levels
R920 PSN
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSKR2T","label":"IBM Engineering Requirements Management DOORS"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"9.2","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Document Information
Modified date:
01 May 2020