22 Create a Routing Function

This chapter contains these topics:

22.1 Creating a Routing Function

Navigation

From Electronic Burst and Bind (G98E), choose Maintain EBB Functions

Use the Maintain EBB Functions program (P98E25) to create a routing function. There are two methods for creating a routing function:

  • Creating a Routing Function from an Existing Function

  • Creating a New Routing Function

You can name a routing function anything except PRINT because JD Edwards World reserves this as the default routing function.

When you create a function, determine if you can use an existing function to create a new function. If not, then create a new one.

22.1.1 What You Should Know About

Parameters Description
Parameters limit The system limits the number of parameters for a function to 10. Parameters include banner page, entity/routing ID, output queue, name, and number of copies.
Using & (ampersand) for parameter substitution For parameter substitution, use a word or code rather than an & (ampersand) because the IBM command editor does not allow the & character.

22.2 Creating a Routing Function from an Existing Function

Before you create a routing function, determine if a similar one exists that you can modify. For example, you can create a PRINT1 function from the PRINT function for the purpose of routing output to another out queue. The command is the same, but the out queue and name are different. If you create new functions from an existing one, JD Edwards World recommends that you give each a unique name, such PRINT2, PRINT3, and so forth.

To create a routing function from an existing function

  1. On Maintain EBB Functions, enter 1 in the Option field of the business function on which you want to base a new function.

    Figure 22-1 Maintain EBB Functions screen

    Description of Figure 22-1 follows
    Description of "Figure 22-1 Maintain EBB Functions screen"

  2. On EBB - Maintain Function Description, change one or more of the following fields:

    • `Description

    • `Parameters

    Note:

    For an IBM command, enter the command name in the Command String field and choose Prompt on Command String (F4).

    Figure 22-2 EBB Maintain Function Description screen

    Description of Figure 22-2 follows
    Description of "Figure 22-2 EBB Maintain Function Description screen"

  3. Enter up to 10 parameters.

    EBB Function Description fields are blank for defining additional functions.

  4. Exit (F3) to Maintain EBB Functions.

    The new functions display on Maintain EBB Functions.

22.3 Creating a New Routing Function

Create a new routing function when you cannot use an existing function.

To create a new routing function

  1. On Maintain EBB Functions, choose Add New Function (F6).

  2. On EBB - Maintain Function Description, complete the following fields:

    • `Description

    • `Parameters

    Note:

    For an IBM command, enter the command name in the Command String field and choose Prompt on Command String (F4).
  3. Exit (F3) to Maintain EBB Functions.

    The new functions display on Maintain EBB Functions.