Specification Parameters

You can use the Transform-Browse model using the NCSTG command.

The Transform-Browse model has one specification panel: Standard Parameters.


Standard Parameters Panel

CUTRMA                     TRANSFORM-BROWSE Program                    CUTRMA0 
Nov 07                       Standard Parameters                        1 of 1 
                                                                               
 Module ............. ACUSTN__                                                 
 System ............. CXT341S_________________________                         
                                                                               
 Title .............. Transform browse module__                                
 Description ........ This model is used to transform a browse into__________  
                      client server modules__________________________________  
                      _______________________________________________________  
                      _______________________________________________________  
                                                                               
 Browse .................... ________ *    Field heading lines. 2              
 Transformed module library. ________      Replace existing modules .. _       
 Archived module library ... ________      Display lines per row 1             
                                                                               
 Object browse subp ........ ________                                          
 Object browse dialog ...... ________                                          
 Object PDA ................ ________                                          
 Key PDA ................... ________                                          
 Restricted PDA ............ ________                                          
Enter-PF1---PF2---PF3---PF4---PF5---PF6---PF7---PF8---PF9---PF10--PF11--PF12---
main  help  retrn quit                                                  main   

The fields in the upper portion of this panel are similar for all models. For a description of these fields, see Common Fields on the Standard Parameters Panel.

The fields in the lower portion of this panel are:

Field Description
Browse Name of the browse module you want to transform into object browse modules. Field-level help is available to select a module.
Field heading lines Number of lines reserved for field (column) headings. The default is two lines.

Tip:
Ensure that the correct number of lines is entered in this field. Although the transformation will not fail if the number is inaccurate, problems will become apparent at runtime. For example, if too many data rows are available for a screen, the input line and a data line can overlap at runtime. For more information, see Display Correct Number of Rows.

Transformed module library Name of the library in which the transformed object browse modules are moved. By default, this name is B + the first seven characters in the current library name.
Replace existing modules Indicates whether to replace modules with the same name in the libraries shown.
Archived module library Name of the library in which the original browse module is moved before the transformation process begins. By default, this name is T + the first seven characters in the current library name.
Display lines per row Number of lines reserved per row of data. The default is one line.

Tip:
If a browse module can have more than one line per record, but the number of lines per record can vary based on user input, do not change the default for this field and define the AFTER-INPUT user exit for the Object-Browse-Dialog model. For information, see Display a Variable Number of Lines per Record.

Object browse subp Name of the transformed object browse subprogram module.
Object browse dialog Name of the transformed object browse dialog module.
Object PDA Name of the transformed object browse parameter data area module. The object PDA contains one field for each field defined in the specified Predict view. These fields are defined within a 1:V structure so the object browse subprogram can support an arbitrary number of return rows.
Key PDA Name of the transformed object browse key (search) parameter data area module. The key PDA defines the union of all fields that are components of a logical key. Additionally, the generated key PDA contains a field that can be used to begin the browse at a specific record.
Restricted PDA Name of the transformed object browse restricted parameter data area module. The restricted PDA stores data, such as the last sort key, the last starting value, the last row returned, etc. so that the next set of consecutive records is returned to the caller. The contents of this data area should not be altered by the calling module.

After selecting the browse module and entering your specifications on this panel, press Enter to return to the Generation main menu and generate the modules.