DDM example 2: ORDERENT application
This second example shows how multiple locations in a customer's business can process the same order entry application using DDM.
The first task in this example shows how to use DDM to put copies of the same application program on remote servers with one primary file at a central location. The second task in this example shows how to use DDM to copy a file to a remote server.
- DDM example 2: Central server ORDERENT files
At the central site of Philadelphia, the four files shown in the figure are being used by the ORDERENT application program.
- DDM example 2: Description of ORDERENT program
Initially, the ORDERENT program exists only in library PGMLIB on the central server (in Philadelphia).
- DDM example 2: Remote server ORDERENT files
The ORDERENT program remains the same at all locations, but the CUSTMST2 file is now a copy of the central server's customer primary file CUSTMAST.
- DDM example 2: Transfer a program to a target server
In this task, the central server in the DDM network, located in Philadelphia, sends a program named ORDERENT to a remote System/38™ in Chicago.
- DDM example 2: Copy a file
After performing the first task in Example 2, you decide you want to copy the current level of the CUSTMAST file (in Philadelphia) to the server in Chicago so you can bring the CUSTMST2 file up to date.
Parent topic:
Examples: Code DDM-related tasks