Getting Started with TRANSACT (32247-90007)
Figures
5
Figure 1-1. . Compiling and Executing a TRANSACT Program . . . . . . . . . . . . . . . . . . . . 15
Figure 1-2. . Program to Display a Dataset. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
Figure 1-3. . Report from a Single Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
Figure 1-4. . Program to Sort and Report Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
Figure 1-5. . Program to Sort Data and Use FORMAT for Reporting . . . . . . . . . . . . . . . . 19
Figure 1-6. . The Sorted Report on Customers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
Figure 1-7. . Options for FORMAT. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
Figure 1-8. . Report Produced by FORMAT Options. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
Figure 1-9. . Program to Select Data for Reporting. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
Figure 1-10. . Report of Selected Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Figure 1-11. . Program to Select Data by Key Value. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
Figure 1-12. . Program to Let User Set Selection Criteria . . . . . . . . . . . . . . . . . . . . . . . . . 25
Figure 1-13. . User-Entered Selection Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25
Figure 1-14. . More User-Entered Selection Criteria . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
Figure 1-15. . Program to Report from Two Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
Figure 1-16. . Report from Two Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28
Figure 1-17. . Program to Report from Three Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . 29
Figure 1-18. . Report from Three Datasets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31
Figure 1-19. . Program to Create a Report with DISPLAY(TABLE) . . . . . . . . . . . . . . . . . 32
Figure 1-20. . Report created by DISPLAY(TABLE). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Figure 1-21. . Program to Select Data by the Conditional Verb IF . . . . . . . . . . . . . . . . . . 34
Figure 1-22. . Data Selected with Conditional Verb IF. . . . . . . . . . . . . . . . . . . . . . . . . . . . 35
Figure 2-1. . Program to Add Data to a Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Figure 2-2. . Interactive Data Entry to a Dataset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39
Figure 2-3. . Changing the Default Input Field Delimiter . . . . . . . . . . . . . . . . . . . . . . . . . 39
Figure 2-4. . Using a Programmer-Defined Field Delimiter. . . . . . . . . . . . . . . . . . . . . . . . 40
Figure 2-5. . Automatic Error Handling for a Duplicate Record . . . . . . . . . . . . . . . . . . . . 40
Figure 2-6. . Program to Check Item Entered by User . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Figure 2-7. . User Interaction with Early Error Checking . . . . . . . . . . . . . . . . . . . . . . . . . 41