IBM Support

Message CPD0047 ADDLICKEY - Expression not allowed for parameter EXPDATE

Troubleshooting


Problem

Message indicating EXPDATE parameter is not valid when attempting an ADDLICKEY.

Resolving The Problem

Problem Summary

Message indicating EXPDATE was not inserted correctly even after copying and pasting the command directly from the license key Web site as follows:

ADDLICKEY PRDID(5770WDS)
         LICTRM(V7R3M0)
         FEATURE(5102)
         SERIAL(*LOCAL)
         PRCGRP(*ANY)
         LICKEY(XXXXXX YYYYYY ZZZZZZ)
         USGLMT(*NOMAX)
         EXPDATE(2020-08-23)
         VNDDTA(*NONE)


Message ID . . . . . . :   CPD0047       Severity . . . . . . . :   30      
Message type . . . . . :   Diagnostic                                        
Date sent  . . . . . . :   05/20/18      Time sent  . . . . . . :   14:57:40
                                                                             
Message . . . . :   List or expression not valid for parameter EXPDATE.      
Cause . . . . . :   More than one value was specified for a parameter where  
  only one value is allowed. If the value is a text string containing blanks,
  the string must be enclosed in apostrophes.                                
Recovery  . . . :   Enter only one value or enclose the text string in      
  apostrophes.                                                              

Note: Message received may also be CPD0082 - Value &3 for parameter EXPDATE not a valid date.

Resolution

The EXPDATE field needs to be inserted in your QDATE system value format such as 'MM/DD/YY'

ADDLICKEY PRDID(5770WDS)
         LICTRM(V7R3M0)
         FEATURE(5102)
         SERIAL(*LOCAL)
         PRCGRP(*ANY)
         LICKEY(XXXXXX YYYYYY ZZZZZZ)
         USGLMT(*NOMAX)
         EXPDATE('08/23/20')
         VNDDTA(*NONE)

[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SWG60","label":"IBM i"},"Platform":[{"code":"PF012","label":"IBM i"}],"Version":"7.1.0"}]

Historical Number

597947265

Document Information

Modified date:
18 December 2019

UID

nas8N1011562