Troubleshooting
Problem
This document provides information to help resolve error message CPD0104. It also gives information about the ADDLICKEY expiration date format.
Resolving The Problem
This document provides information on the ADDLICKEY expiration date format.
The ADDLICKEY command may fail with message CPD0104 - Expression not allowed for parameter EXPDATE.
The ADDLICKEY key command is listed in the information sent from the License Key Center with the following format:
EXPDATE(2013-07-14)
However, not all systems are configured to expect the Year-Month-Day (YMD) date format or the '-' date separator.
The Expiration Date value needs to be entered using the format that your system is configured to use. If the command is being entered on the command line without prompting, single quotes should be used to surround the date value to indicate that it is a string. (Otherwise, the '/' character may be recognized as a division symbol.) To check what date format and date separator your system is configured to expect, you can issue the following commands:
DSPSYSVAL QDATFMT
DSPSYSVAL QDATSEP
For instance, many systems are configured with QDATFMT set to 'MDY' and QDATSEP is set to '/'. If the ADDLICKEY key command sent by the License Key Center gives the parameter Expiration Date as EXPDATE(2013-07-14), the Expiration Date parameter should be entered as EXPDATE('07/14/13').
Historical Number
605249111
Was this topic helpful?
Document Information
Modified date:
18 December 2019
UID
nas8N1011442