PowerCenter
- PowerCenter 10.5
- All Products
JExprParamMetadata paramMetadataArray[] = new JExprParamMetadata[numberOfParameters]; paramMetadataArray[0] = new JExprParamMetadata(datatype, precision, scale); ... paramMetadataArray[numberofParameters - 1] = new JExprParamMetadata(datatype, precision, scale);;
Argument
| Argument Type
| Argument Datatype
| Description
|
---|---|---|---|
datatype
| Input
| EDataType
| Datatype of the parameter.
|
precision
| Input
| Integer
| Precision of the parameter.
|
scale
| Input
| Integer
| Scale of the parameter.
|
JExprParamMetadata params[] = new JExprParamMetadata[2]; params[0] = new JExprParamMetadata(EDataType.STRING, 20, 0); params[1] = new JExprParamMetadata(EDataType.STRING, 20, 0); return defineJExpression(":LKP.LKP_addresslookup(X1,X2)",params);