Rocket® Enterprise Developer (formerly a product of Micro Focus or formerly a product of Open Text) documentation, created before Rocket Software acquired certain products from OpenText, may include outdated references to "Micro Focus" or "OpenText", both of which are trademarks of OpenText or its affiliates. Rocket Software is not affiliated with Micro Focus or OpenText and has since rebranded these products as Rocket® products. You may also encounter outdated links in this documentation. If you do, please contact Rocket Support (support@rocketsoftware.com) for assistance.
% SET LOCATION structure
Establish a location in a single output file where the MFG should place subsequent
output lines. %SET-LOCATION can establish a new section in an output file, as well
as reposition subsequent output lines at the end of a previously established section.
Restriction: This topic applies only when the AppMaster Builder AddPack has been installed, and
applies only to Windows platforms.
Syntax:
% SET LOCATION locationname
Parameters:
| locationname | Name of location. Locations are set on a per-file basis. The same location can appear in many output files. |
Example:
Establish and save the current output location so that it can be reset at the end of a macro.
%* SAVE THE NAME OF THE CURRENT LOCATION
% &SAVE-LOCATION = &APS-OUTPUT-LOCATION
% SET LOCATION MYSECTION
.
.
.
%* RESTORE WHERE WE WERE OUTPUTTING LINES TO PREVIOUSLY
% SET LOCATION &SAVE-LOCATION
Comments:
Use &APS-OUTPUT-LOCATION to determine the current output location.