Rules for user-defined batch variables

These rules apply when you create your own variables in a batch report layout file. (Other rules apply when you use the API to create variables for batches See "UserDefinedVariable object" topic in API help.)

  • Each variable begins with a name of up to 10 characters, preceded by the batch variable character "#".
  • The format is specified by 1 to 40 format characters: N for numeric or X for alphanumeric characters. You cannot mix N and X.
  • You can write several batch variables on the same line. Example:

    #MyVar1 NNNN #MyVar2 XXX #MyVar3 NN

Additional examples of user-defined batch variables:


#MyCode  XXX