Translator output pattern rules

You can modify translator output patterns and variables, but you must follow certain pattern rules.
If you specify a translator output pattern, follow these rules:
  • The pattern must be composed of valid characters used for member names, and can also include an equals sign (=) or an asterisk (*).
  • Use (=) to preserve individual characters.
  • Use (*) to prepend or append a string to the member name.
  • You cannot use (*) and (=) in the same pattern.
  • You can use (*) only once, and it must be the first or last character in a pattern.
  • The pattern length must be the same as the maximum possible member length.
    • z/OS® maximum member length is eight characters.
    • IBM® i maximum member length is 10 characters.
  • You cannot use regular expressions in a pattern.
Tip: Using asterisks and equals signs reduces the likelihood of output name collisions. When two output names collide, one might override the other without any warning, and this can cause dependencies in subsequent builds to fail.
The following are examples of valid translator output patterns:
Table 1. Translator output pattern examples
Name Pattern Result
ORDENTR *1 ORDENTR1
ORDENTR A* AORDENTR
ORDENTR
  • IBM i: = = = = = = 11 = =
  • z/OS: = = = = = = 11
ORDENT11
ORDENTR
  • IBM i: = = = = = = = = = 2
  • z/OS: = = = = = = = 2
ORDENTR2

video icon Video

Jazz.net channel
Software Education channel

learn icon Courses

IoT Academy
Skills Gateway

ask icon Community

Jazz.net
Jazz.net forums
Jazz.net library

support icon Support

IBM Support Community
Deployment wiki