Application Commands Overview

Reference:

This topic lists the platform-independent application (APP) commands that enable you to control the application environment.

You can use the following wildcard characters in the file name and file type references for the APP commands COPYFILE, MOVEFILE, DELETEFILE, and RENAMEFILE.

Reference: APP Commands Quick Reference

Click any command in the following charts to access detailed information, including the required syntax.

Search Path Management Commands

Command

Description

Search Path Management Commands

Sets or resets the application search path.

Search Path Management Commands

Temporarily adds application names to the beginning of an existing APP PATH search path.

Search Path Management Commands

Temporarily adds application names to the end of an existing APP PATH search path.

Search Path Management Commands

Defines a virtual application that points to a physical location outside of the approot structure or redirects an application to another application. This command makes the virtual or redirected application available for addition to the search path. It does not automatically add it to the APP PATH.

Search Path Management Commands

Indicates whether corresponding Master and Access files must be in the same application directory.

Search Path Management Commands

Retrieves the value of APP SET METALOCATION_SAME.

Search Path Management Commands

Lists all the currently active applications in the search path.

Application Management Commands

Command

Description

Application and File Management Commands

Copies the contents of one application to a second application.

Application and File Management Commands

Creates an application under the approot location.

Application and File Management Commands

Deletes an application.

Application and File Management Commands

Moves the contents of one application to a second application.

Application and File Management Commands

Specifies a code page for files in an application.

Application and File Management Commands

Renames an application.

File Management Commands

Command

Description

Application and File Management Commands

*Copies a single component or component type from one application to another.

Application and File Management Commands

*Moves a single component or component type from one application to another.

Application and File Management Commands

*Renames a single component or component type in an application.

Application and File Management Commands

*Deletes a single component or component type from an application.

* The shortened form of the APP commands is used in the remainder of this document.

Output Redirection Commands

Command

Description

Output Redirection Commands

Controls where output files are created for any HOLD, SAVE, SAVB, CREATE SYNONYM, or APP QUERY HOLD process in the application, unless a FILEDEF command has been used to allocate data files.

Output Redirection Commands

Designates an application as the location for temporary data files created with the HOLD, SAVE, or SAVB command.

Output Redirection Commands

Designates an application as the location for temporary Master and Access Files created with the HOLD command.

Output Redirection Commands

This command has been deprecated and aliased to FILEDEF.

Help Commands

Command

Description

APP HELP

Displays a list of APP commands with a brief description of each.

Reference: Application Metadata Commands and Metadata Tables

Click any command in the following chart to access detailed information, including the required syntax.

Command

Description

Application Metadata Commands and Catalog Metadata app/file.extension

Check file existence

Application Metadata Commands and Catalog Metadata app [HOLD]

Lists the applications under approot.

If the HOLD option is used, it lists the applications under approot and writes the output to a temporary file called focappl.ftm, which you can then use in a report request.

Application Metadata Commands and Catalog Metadata app [HOLD]

Lists all files in the application.

If the HOLD option is used, it lists all files in the application and writes the output to a temporary file called focappq.ftm, which you can then use in a report request.

Application Metadata Commands and Catalog Metadata

Table, list of accessible app name objects on path for a given type (default MASTER).

catalog/sysdirs

Table, recursive list of physical files under a physical directory.

Application Metadata Commands and Catalog Metadata

Table, metadata for physical objects on path.

catalog/systables

Table, app name of tables (and related metadata) on path.

For information about reporting from system tables, see the Developing Reporting Applications manual.


Information Builders