Previous Topic Next topic Print topic


To map report fields

Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and applies only to Windows platforms.
For the applicable report groups, indicate which data items supply values to output fields by typing SOURCE on line 12 of your program. Use the following syntax and guidelines:
           SOURCE [IS] dataname [PIC picclause]
               [BLANK [WHEN] ZERO]
               [JUSTIFIED|JUST [RIGHT]
               [CHANGE INDICATE|GROUP INDICATE]

Follow these rules when coding:

For example:

   01      TYPE IS REPORT HEADING    
               NEXT GROUP IS NEXT PAGE
           MOCKUP LINES 1 THRU 5
           SOURCE IS WS-DATE
   01      TYPE IS PAGE HEADING
               NEXT GROUP PLUS 3
           MOCKUP LINES 6 THRU 8
           SOURCE IS WS-DATE
   01      PART-DETAIL TYPE IS DETAIL 
               NEXT GROUP PLUS 1
           MOCKUP LINE 13
           SOURCE WS-LOCATION-CODE    GROUP INDICATE
           SOURCE WS-LAST-COUNT-MONTH
           SOURCE WS-LAST-COUNT-DAY  
           SOURCE WS-LAST-COUNT-YEAR 
           SOURCE WS-QTY-IN-STOCK
           SOURCE WS-QTY-ISSUED
           SOURCE WS-QTY-RECEIVED
   01      TYPE IS PAGE FOOTING
               LINE PLUS 2
           MOCKUP LINE 24
           SOURCE IS PAGE-COUNTER
Note: For more information, seeReport Mapping Rules.
Previous Topic Next topic Print topic