SAP Knowledge Base Article - Preview

2537733 - Db2 z/OS: SQLCODE = -312 during activation of CDS view PVLOGPGMDAFX

Symptom

Activation of CDS View PVLOGPGMDAFX fails due to the following error:

sql:
CREATE FUNCTION
'PVLOGPGMDAFX'
...

[IBM][CLI Driver][DB2] VARIABLE *N IS NOT DEFINED OR NOT USABLE
The SQL statement was not executed.
Executing statements for view PVLOGPGMDAFX failed.
Request for PVLOGPGMDAFX not completed successfully.

dev_w*

C *** ERROR => DB2 Call 'SQLExecDirectW' Error: 
conHdl = 00 SQLCODE = -312 :
[IBM][CLI Driver][DB2] VARIABLE *N IS NOT DEFINED OR N [dbdb2cli.c 6557]
C {root-id=02000100000B1EE795E63D6CDDE0FA16}_{conn-id=00000000000000000000000000000000}_0
C DB2Trc: CREATE FUNCTION "PVLOGPGMDAFX" ( "P_VALUATION_DATE" VARGRAPHIC (000008), "P_SNAPSHOT_DATE" VARGRAPHI\ ...


Read more...

Environment

 SAP on IBM Db2 for z/OS

Keywords

PVLOGPGMDAFX, ACTIVATION, -312, VARIABLE, NOT DEFINED, NOT USABLE. , KBA , BC-DB-DB2-UPG , DB2 for z/OS - Upgrade , BC-DB-DB2 , DB2 for z/OS , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.