Running TRN

To run your TRN program for changing transaction numbers or Glb.Unique, perform the following:

  1. Take your application out of the mix, ensuring that it goes to normal End-of-Job.

  2. To initiate the TRN program, use one of the following methods:

    • From CANDE, enter:

      RUN $system/TRN
    • From the ODT, enter:

      USER=user/password;
      RUN system/TRN

      The system value gives your built application name in both cases.

  3. To indicate that you want to change the system Glb.Unique value, enter:

    • From CANDE:

      ?AX UNIQUE
    • From an ODT:

                mixAX UNIQUE

    The current file Glb.Unique values is then displayed. Specify the new Glb.Unique value by entering:

    • From CANDE:

      ?AX value
    • From an ODT:

      mixAX value

    Entering a new Glb.Unique value of 999999999999 (all 12 digits are required) terminates the TRN program without updating Glb.Unique.

  4. To change transaction numbers, enter the station name as follows:

    • From CANDE:

      ?AX station
    • From an ODT:

      mixAX station

      The mix value is the mix number of your TRN program. The station value is the name of the station you want to change the transaction number for.

      If you do not want to change a transaction number, but want to take the TRN program to End-of-Job, then (instead of a station name), enter End.

  5. If you entered a valid station name, the current transaction number for that station is displayed, and you are asked to enter a new transaction number.

    • From CANDE, enter:

      ?AX tranno
    • From an ODT, enter:

      mixAX tranno

      The tranno value is your required new 6-digit transaction number in both cases. When you enter this new transaction number, Glb.Unique is also updated.