APSPROJ

Controls the output picture of numeric fields.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.

File Contents:

Edit APSPROJ to reverse commas and decimal points in the output picture of numeric fields (such as ZZ.ZZZ.ZZ9,99).

Note: After editing APSPROJ, compile the screen and program.
  • Code the following assignment statements in APSPROJ, where membername is the USERMACS member name that contains the $TP-SPECIAL-NAMES rule definition. AMB includes the member for you. The $TP-SPECIAL-NAMES rule generates the DECIMAL-POINT-IS-COMMA statement.
    % &FE-DECIMAL-POINT-IS-COMMA = "YES"
    
    % &FE-TP-SPECIAL-NAMES-MACMBR = 
    "TPSPEC"|"membername"
    

    Then, copy TPSPEC from &SSMAPS..CNTL to &SSMDSN..USERMACS. Modify the $TP-SPECIAL-NAMES rule as desired to generate statements in the SPECIAL-NAMES paragraph.

  • Code the following statement in APSPROJ. The DC target epilogue rule generates the DECIMAL-POINT-IS-COMMA statement.
    % &FE-DECIMAL-POINT-IS-COMMA = "YES"