Show TOC

Create Sequential Dataset for Batch Input: Purchase Requisition

Description

This report serves as an example of how to use a batch input program to create sessions in order to create and change purchase requisitions in the system. On the basis of the example report, you can note the structure of the required sequential file.

The program reads the sequential file specified in it as parameter, and generates one or more batch input sessions from this file.

Requirement

Before you generate the session, you must extract the data to be adopted from the source system and write it to a sequential file using a program you have written yourself.

The data is expected on the sequential file in the following sequence:

Procedure

1. Extract the data that is to be transferred with the relevant program, in the process writing the data to the sequential file.
2. Generate a session with the batch input program.
At this stage your data will be checked for the first time. Errors will be logged.
3. Run the session. The data will be adopted in the system and saved.

Note