Standard reports store control information in the ROC database and output in separate files. The ROC output file is generated in XML format so that it can store printing attributes.
Location of Standard Report Output
The default location for Standard (ROC) output files is the <AB Suite Data folder>\private\Reports folder. At runtime, you may redirect the output to other devices. However, there is a copy in the ROC database which can be used to browse or reprint the report output from within the ROC system.
The location of the report output files is determined by the value specified in the ROC Output Location property in the Runtime Options section of the segment build and deployment configuration properties. The default value (which is <AB Suite Data folder>\private\Reports) can be changed by setting a ROC Output Location to override the default value.
The destination for standard report output depends on the value of the GLB.Device, Glb.Stn, and Glb.Title. This is summarized in the following table:
Glb.Device | Glb.Stn | Glb.Title | Destination |
---|---|---|---|
Default | As Developer setting | ||
LP | Physical printer name (ROC not installed) | n/a | Physical printer = GLB.STN value |
Logical printer name (as defined in ALIAS table in ROC system) | n/a | Physical printer = ROC.ALIAS[GLB.STN] value | |
VD | n/a | n/a | Report Output dialog (Winforms only) & ROC database |
TP | Define key to ALIAS value for LPR command | n/a | ROC.ALIAS[GLB.STN] as “linclp S <Server> -P <PrinterName>” |
EX | File Path (if provided) | File name | Path provided in Glb.Stn |
<spaces> | File name | Default value: ~\Data\private\Temp\ The location of this folder can be defined for each system in the Admin tool. |
Note: For shadow reports, the equivalent of Glb.Stn and Glb.Title is <shadow name>.Station and <shadow name>.Title (where <shadow name> is the name of the Glb.OutputStream object defined in the report).
There are two types of report output files that can be produced by Standard ROC reports:
XML files which are used by the ROC system for browsing report output and redirecting output to printers.
Text file versions of report output. These are produced by reports with Device=EX or if ROC is not installed.
For standard (ROC) reports, the XML output files are stored in the <AB Suite Data folder>\Private\Reports folder (or in the folder specified in the ROC Output Location Segment configuration property if defined).
Text file versions of report output (for example, for EX reports or if ROC is not installed) are stored by default in the <AB Suite Data folder>\Private\Temp folder. The Administration tool includes an option to change this location of the text file version of report output for each system.
From the Administration tool,
Right-click the system, select All Tasks.
Select Configure.
Select the Print tab.
Click Configure Text Report Output Location.
Specify the path in the Configure Text Report Output Location dialog box where the report output must be stored.
Click OK.
If a report sets a value to Glb.Title, a text version of the report output is stored by default in the <AB Suite Data folder>\Private\Temp folder with the filename set to the value in Glb.Title. If the report output location has been changed using the admin tool, then the text version of the report output is stored in the user configured location.
Note: Path specified in "Configure Text Report Output Location" overrides the default path <AB Suite Data folder>\Private\Temp folder for the report output.
Security of Standard Report Output
Security for standard report output is based on the setting of the built-in attribute Glb.User in the logic of the report. Output from reports that set Glb.User cannot be viewed by users signed on with different user accounts. The text files containing the output can, however, be deleted by any user.
If Glb.User is not set, all users have access to the output.
The user accounts with which a user is signed on to ROC can be changed by using the ROC Options screen.