Skip to main content Link Menu Expand (external link) Document Search Copy Copied

MettleCI Cloud Pak Compliance Rule Reference

This page lists the example DataStage compliance rules suplied with MettleCI for IBM Cloud Pak for Data.

Rule nameDescription
Adjacent TransformersIdentifies flow designs with adjacent Transformer stages.
Aggregator Stage Not Preceded by Check Sort StageAggregator Stage will only return the correct result if the keys are pre-sorted
Audit AnnotationIdentifies where sensitive information may potentially be present in DataStage Job and Sequence Annotations.
Connection Contains Parameter ReferencesIdentifies Connections created by the migration from legacy Datastage to NextGen that contain references to
Connection Not Using Secrets VaultIdentifies Connections that do not store their credentials to use secrets in a vault.
Database Query From FileEnsures if Database Connectors and Stages reads SQL statement from file.
Database Row LimitIdentifies Connectors Stages with a configured Database Row Limit.
DataSet Not Using Same PartitionIdentifies Data Sets not using the ‘Same’ partitioning method
Date Format in AnnotationIdentify whether the a Flow annotation contains instances of particular arbitrary text. This example rule looks for dates.
DB2 with No Non Recovery LoadIdentify Db2 Stages using bulk load with Non Recovery Load set to ‘No’.
DB Connector Not Auto Generate SQLIdentifies Connections that do not use Auto Generate SQL.
DB Tables Referenced Are Fully QualifiedIdentifies where database table references are not fully-qualified.
Debug Row LimitIdentifies row limits in debug stages (Peek, Sample, Tail)
Default NamingDefault Stage Names for Parallel Jobs, Server Jobs, and Job Sequences
Duplicate File ReferencesVerifies that a sequential file is…
Duplicate Stage NamesDetect duplicate Stage names in a job.
File Reference Missing Required ParameterEnsures that all File Stages must use variables for determining paths
File Row LimitIdentifies row limits in file-based stages (Sequential File, Complex Flat File).
Flow NamingChecks the Flow name against a list of known prohibited name patterns.
Flow Parameter Missing Default ValueIdentify flow parameters within a default value.
Flow Parameter NamingIdentifies where naming standards for Flow Parameters and Parameter Sets are breached.
Flow Parameter Not In A Parameter SetIdentify Flow Parameters that are not in a Parameter Set.
Flow Using Random FunctionIdentify Transformers (or other stages) using Random functions which produce non-deterministic output.
Flow Using Transformer Surrogate KeyIdentifies flow designs that use NextSurrogateKey() in a Transformer.
Hardcoded DB CredentialsEnsures that all Database Connectors must use variables for location and credentials
Hardcoded File PathsEnsures that all File Stages must use variables for determining paths
Join Partition vs Join KeyReports Join stages where the join key does not match the partitioning of the input links.
Link SortIdentifies link sorts.
Log Column ValuesIdentify Stages configured to Log column values on first row error
Lookup FailureIdentifies Lookup Stages with Lookup set to Fail.
One DataflowVerifies that there is only one data flow in a DataStage Flow.
Oracle Connector Not Using Partitioned ReadIdentify Oracle Stages not configured to use partitioned reads.
Password Parameter Type Not EncryptedFlow parameters with names that suggest they will be used for supplying passwords should be set to use the type “Encrypted”.
Prohibited StagesVerifies that a job does not contain one or more prohibited stages.
Range Lookup Incorrectly ConfiguredChecks that range lookups are correctly configured.
Redundant SortIdentifies unnecessary sort opertions witihn Job designs.
Schema FilesDetect use of Schema Files.
Select All in Custom SQLIdentifies where “select *” syntax has been used in custom SQL code in database Connectors.
Sequential File Read Using Same PartitioningAvoid reading from Sequential Files using the ‘Same’ partitioning method.
Sequential File With Reject Mode Not Set To FailIdentifies Sequential Files with a Reject Mode not set to fail
Sort Post Join StageIdentifies potentially redundant sorting (a sort stage or link sort) situated immediately after a Join stage
SQL in DB ConnectorsIdentifies DB Connectors which use an SQL to filter source data
Stage NamingStage naming standards for DataStage flows and watson pipelines.
System Time DependencyIdentifies the use of system time functions in the job
Too Many StagesIdentify whether a flow has too many stages.
Transformer Uses Abort After RowsDetect an ‘Abort after rows’ greater than 0 setting in a Parallel Transformer.
Transformer With Unreferenced Stage VariableIdentifies Transformer Stage with an unreferenced Stage Variable (including Loop Variables).
Unencrypted DB PasswordsIdentifies connector stages which do not use encrypted passwords
Unique SortIdentifies unique sorts.

Page generated by on Wed Dec 20 12:51:21 AEDT 2023


Back to top

Copyright © 2017-2024 Data Migrators Pty Ltd.