3rd Annual Plex/2E Worldwide Users Conference 13A Batch Processing in 2E Jeffrey A. Welsh, STAR BASE Consulting, Inc. September 20, 2007
2January 16, A 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
3January 16, A Batch Processing in 2e Today we are going Try Batch
4January 16, A Batch Processing in 2e This Slide Intentionally Left Blank >Place Holder >Take Notes Here.
5January 16, A 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
6January 16, A Batch Processing in 2e Batch Processing in 2E EDI Exit routine. Program to Conditionally generate records. Review Two Applications
7January 16, A Batch Processing in 2e EDI Exit Routine EDI Data Gentran Mapping Process Application Tables 2E Exit Program Application Fields Passed as Parms
8January 16, A Batch Processing in 2e EDI Exit Routine
9January 16, A Batch Processing in 2e EDI Exit Routine
10January 16, A Batch Processing in 2e EDI Exit Routine Z
11January 16, A Batch Processing in 2e EDI Exit Routine
12January 16, A Batch Processing in 2e EDI Exit Routine
13January 16, A Batch Processing in 2e EDI Exit Routine
14January 16, A Batch Processing in 2e EDI Exit Routine EDI Data Gentran Mapping Process Application Tables 2E Exit Program
15January 16, A 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
16January 16, A 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.
17January 16, A Batch Processing in 2e Generating Records Course Table My Batch Program Horse Table Horse Table
18January 16, A Batch Processing in 2e Generating Records
19January 16, A Batch Processing in 2e Generating Records N
20January 16, A Batch Processing in 2e Generating Records
21January 16, A Batch Processing in 2e Generating Records Z
22January 16, A Batch Processing in 2e Generating Records
23January 16, A Batch Processing in 2e Generating Records
24January 16, A Batch Processing in 2e Generating Records
25January 16, A Batch Processing in 2e Generating Records
26January 16, A 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
27January 16, A Batch Processing in 2e Generating Records
28January 16, A Batch Processing in 2e Generating Records
29January 16, A Batch Processing in 2e Generating Records
30January 16, A Batch Processing in 2e Generating Records Z
31January 16, A Batch Processing in 2e Generating Records
32January 16, A 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
33January 16, A Batch Processing in 2e Generating Records Z
34January 16, A Batch Processing in 2e Generating Records
35January 16, A 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
36January 16, A Batch Processing in 2e Generating Records FF
37January 16, A Batch Processing in 2e Generating Records
38January 16, A Batch Processing in 2e Generating Records Z
39January 16, A Batch Processing in 2e Generating Records
40January 16, A 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
41January 16, A Batch Processing in 2e Generating Records Z
42January 16, A Batch Processing in 2e Generating Records
43January 16, A Batch Processing in 2e Generating Records Did it Work?
44January 16, A Batch Processing in 2e Generating Records 4 Race Courses * 5 Horses Each = 20 Horses
45January 16, A Batch Processing in 2e Generating Records
46January 16, A Batch Processing in 2e Generating Records
47January 16, A 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.
48January 16, A Batch Processing in 2e Generating Records
49January 16, A Batch Processing in 2e Generating Records
50January 16, A Batch Processing in 2e Generating Records
51January 16, A Batch Processing in 2e Generating Records
52January 16, A 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
53January 16, A Batch Processing in 2e External vs. Internal My Logic Execute External Function Execute External Function Print File Execute Internal Function
54January 16, A Batch Processing in 2e Questions