Previous Topic: Step 2: Defining the ColumnsNext Topic: Using a Data Table


Step 3: Generating the Table

When you generate a table through ASF, the table definition is completed and an application that enables you to access the table through ASF is created.

Select the Generate Function

To generate the JOB table, select the Generate function ([PF3]) from the activity selection menu on the Table Definition screen.

Note: There is no screen name associated with the Generate function. This function must be selected from the Table Definition screen.

ASF Generates the Table

The Table Definition screen remains displayed while ASF:

When the generation is complete, the Status field changes from UNGENERATED to GENERATED, and the message TABLE GENERATED SUCCESSFULLY is displayed.

                                            CA   TDEF   CA - Automatic System Facility            ** Table Definition **   DC560005 MODIFY AND/OR SELECT NEXT ACTIVITY          _ PF1 - Help                     _ PF4 - Extended Table Definition          _ PF2 - Define Columns           _ PF5 - Delete Table Definition          x PF3 - Generate                 _ PF6 - Message Screen   Table Name.: JOB   Table Owner: SNELL                                  Defn Number:    127   View/Stored: STORED                                Status.....: UNGENERATED   Comments...:                       CA   TDEF   CA - Automatic System Facility            ** Table Definition **   DC560208 TABLE GENERATED SUCCESSFULLY1          _ PF1 - Help                     _ PF4 - Extended Table Definition          _ PF2 - Define Columns           _ PF5 - Delete Table Definition          _ PF3 - Generate                 _ PF6 - Message Screen   Table Name.: JOB   Table Owner: SNELL                                  Defn Number:    127   View/Stored: STORED                                Status.....: GENERATED2   Comments...:

  1. The message tells you when the table is generated.
  2. The table status changes to GENERATED.

You Can Use the Table

Now that the table is generated, you can use the application that was created for it to load data into the table.

Press [PA1] to return to the Activity Selection screen.