Upload
marissa-lewis
View
212
Download
0
Tags:
Embed Size (px)
Citation preview
3rd Annual Plex/2E Worldwide Users Conference
13A Batch Processing in 2EJeffrey A. Welsh, STAR BASE Consulting, Inc.September 20, 2007
2 April 10, 2023 13A Batch Processing in 2e
Bio
> Jeffrey A. Welsh, President
> STAR BASE Consulting, Inc.
> 27 Years in IT, Worked with 2E since 1989
> From Cincinnati
> Cars, Motorcycles
3 April 10, 2023 13A Batch Processing in 2e
Today we are going Try Batch
4 April 10, 2023 13A Batch Processing in 2e
This Slide Intentionally Left Blank
> Place Holder
> Take Notes Here.
5 April 10, 2023 13A Batch Processing in 2e
Getting Started
> Ultimately need an External Program
> Execute External or a Print file work great
> Usually best to start with an Execute Internal
6 April 10, 2023 13A Batch Processing in 2e
Batch Processing in 2E
EDI Exit routine.
Program to Conditionally generate records.
Review Two Applications
7 April 10, 2023 13A Batch Processing in 2e
EDI Exit Routine
EDI Data
Gentran
Mapping Process
Application
Tables
2E Exit
Program
Application Fields Passed as Parms
8 April 10, 2023 13A Batch Processing in 2e
EDI Exit Routine
9 April 10, 2023 13A Batch Processing in 2e
EDI Exit Routine
10
April 10, 2023 13A Batch Processing in 2e
EDI Exit Routine
Z
11
April 10, 2023 13A Batch Processing in 2e
EDI Exit Routine
12
April 10, 2023 13A Batch Processing in 2e
EDI Exit Routine
13
April 10, 2023 13A Batch Processing in 2e
EDI Exit Routine
14
April 10, 2023 13A Batch Processing in 2e
EDI Exit Routine
EDI Data
Gentran
Mapping Process
Application
Tables
2E Exit
Program
15
April 10, 2023 13A Batch Processing in 2e
Generating Records
> RTVOBJ used to read a set of records.
> RTVOBJ used to return a single record
> Tips to make action diagrams more readable
> Passing parms to a User Source Function
> Using Conditions to specify and document business rules
Techniques to Review
16
April 10, 2023 13A Batch Processing in 2e
Generating Records
The STAR BASE horse racing company wants to make sure it has enough horses on record for each of its race courses. For each race course of record there needs to be at least 5 horses available in the horse pool.
Business Problem
Your Mission
Write a program that will run every day to make sure there are enough horses in the horse table to meet the current business requirement.
17
April 10, 2023 13A Batch Processing in 2e
Generating Records
CourseTable
My Batch
Program
Horse Table
Horse Table
18
April 10, 2023 13A Batch Processing in 2e
Generating Records
19
April 10, 2023 13A Batch Processing in 2e
Generating Records
N
20
April 10, 2023 13A Batch Processing in 2e
Generating Records
21
April 10, 2023 13A Batch Processing in 2e
Generating Records
Z
22
April 10, 2023 13A Batch Processing in 2e
Generating Records
23
April 10, 2023 13A Batch Processing in 2e
Generating Records
24
April 10, 2023 13A Batch Processing in 2e
Generating Records
25
April 10, 2023 13A Batch Processing in 2e
Generating Records
26
April 10, 2023 13A Batch Processing in 2e
Generating Records
> RTVOBJ used to read a set of records.
> RTVOBJ used to return a single record
> Tips to make action diagrams more readable
> Passing parms to a User Source Function
> Using Conditions to specify and document business rules
Techniques to Review
27
April 10, 2023 13A Batch Processing in 2e
Generating Records
28
April 10, 2023 13A Batch Processing in 2e
Generating Records
29
April 10, 2023 13A Batch Processing in 2e
Generating Records
30
April 10, 2023 13A Batch Processing in 2e
Generating Records
Z
31
April 10, 2023 13A Batch Processing in 2e
Generating Records
32
April 10, 2023 13A Batch Processing in 2e
Generating Records
> RTVOBJ used to read a set of records.
> RTVOBJ used to return a single record
> Tips to make action diagrams more readable
> Passing parms to a User Source Function
> Using Conditions to specify and document business rules
Techniques to Review
33
April 10, 2023 13A Batch Processing in 2e
Generating Records
Z
34
April 10, 2023 13A Batch Processing in 2e
Generating Records
35
April 10, 2023 13A Batch Processing in 2e
Generating Records
> RTVOBJ used to read a set of records.
> RTVOBJ used to return a single record
> Tips to make action diagrams more readable
> Passing parms to a User Source Function
> Using Conditions to specify and document business rules
Techniques to Review
36
April 10, 2023 13A Batch Processing in 2e
Generating Records
FF
37
April 10, 2023 13A Batch Processing in 2e
Generating Records
38
April 10, 2023 13A Batch Processing in 2e
Generating Records
Z
39
April 10, 2023 13A Batch Processing in 2e
Generating Records
40
April 10, 2023 13A Batch Processing in 2e
Generating Records
> RTVOBJ used to read a set of records.
> RTVOBJ used to return a single record
> Tips to make action diagrams more readable
> Passing parms to a User Source Function
> Using Conditions to specify and document business rules
Techniques to Review
41
April 10, 2023 13A Batch Processing in 2e
Generating Records
Z
42
April 10, 2023 13A Batch Processing in 2e
Generating Records
43
April 10, 2023 13A Batch Processing in 2e
Generating Records
Did it Work?
44
April 10, 2023 13A Batch Processing in 2e
Generating Records
4 Race Courses * 5 Horses Each = 20 Horses
45
April 10, 2023 13A Batch Processing in 2e
Generating Records
46
April 10, 2023 13A Batch Processing in 2e
Generating Records
47
April 10, 2023 13A Batch Processing in 2e
Generating Records
The STAR BASE horse racing company after implementing the new program has found that 5 horses per course are not enough! It has been determined that 6 horses are needed.
Business Changes
Your Mission
Change the program so 6 horses per course are generated.
48
April 10, 2023 13A Batch Processing in 2e
Generating Records
49
April 10, 2023 13A Batch Processing in 2e
Generating Records
50
April 10, 2023 13A Batch Processing in 2e
Generating Records
51
April 10, 2023 13A Batch Processing in 2e
Generating Records
52
April 10, 2023 13A Batch Processing in 2e
Generating Records
> RTVOBJ used to read a set of records.
> RTVOBJ used to return a single record
> Tips to make action diagrams more readable
> Passing parms to a User Source Function
> Using Conditions to specify and document business rules
Techniques to Review
53
April 10, 2023 13A Batch Processing in 2e
External vs. Internal
My LogicExecute
External Function
Execute External Function
Print File
Execute InternalFunction
54
April 10, 2023 13A Batch Processing in 2e
Questions