Path management tasks are available from the Applications page, which is accessed on the Applications page. The Application Directories tree displays on the resources pane. A set of buttons provide the quickest way to initiate path management tasks.
How to: |
Applications are designed to group related components.
Applications can be created and mapped in either the Reporting Server browser interface or the Data Migrator desktop interface.
Application directory names must comply with the following rules:
' ' |
space character |
, |
comma |
|
* |
star character |
. |
dot |
|
? |
question mark |
: |
colon |
|
< |
less than sign |
" |
double quotation mark |
|
> |
greater than sign |
' |
single quotation mark |
|
& |
ampersand |
\t |
tab |
|
\ |
backslash |
\0 |
null terminator character |
|
| |
vertical bar |
/ |
slash |
|
= |
equal sign |
The Create New Application page opens.
Warning: Choosing this option will overwrite the existing application and any content in it.
The application is added to the Application Directories folder.
You can map an application name to a physical directory anywhere in the file system. This application name can be then used in APP commands.
Application mappings can be added and deleted based on profiles from either the Reporting Server browser interface or the Data Migrator desktop interface.
The Create New Application page opens.
For platforms other than z/OS HFS Deployment, in addition to using the selector button, you can enter the full path of the physical directory to be mapped, in the format required on your platform. (If there are spaces in the directory you are mapping, you must enclose the entire path in double quotation marks.)
For z/OS HFS and PDS servers, in addition to using the selector button, you can enter values using the following formats:
ext=//DD:ddname[;ext2=//DD:ddname2][...][;extn=//DD:ddnamen]
where extn are file type extensions.
/dir/subdir
entered manually or using the selector button.
For z/OS PDS servers, you can also inform the high-level qualifiers of the data set collection that comprise this application. Here is an example of the format:
IADMIN.SRV77.MAPAPP
where the user has the following datasets (not in approot):
IADMIN.SRV77.MAPAPP.FOCEXEC.DATA IADMIN.SRV77.MAPAPP.MASTER.DATA IADMIN.SRV77.MAPAPP.ACCESS.DATA
For Server Administrators, the default is edasprof. For all other users, the default is the user profile.
The mapping is added to the Application Directories folder.
Applications and application mappings can be deleted from either the Reporting Server browser interface or the Data Migrator desktop interface.
A confirmation dialog box opens.
Note: Deleting an application mapping will delete it from any APP PATH commands that reference it, if the APP PATH command is in the same profile as APP MAP.
How to: |
In addition to using a physical location, the contents of an application folder can also be stored in an SQL database. To use an SQL database, you must first create a new SQL Repository or link to your WebFOCUS Client repository. After the repository is created, you can create applications mapped to the repository and store files there.
Warning: It is advisable to create a separate SQL Connection to use in creating an SQL Repository. If an existing SQL Connection is used, only Server Administrators or users with WSCFG privileges will be able to use the synonyms from this SQL connection in the application. This provides protection for the SQL Repository, preventing unauthorized users (without administrator privileges) from accessing the contents of the SQL Repository through a synonym.
You must have an adapter connection configured to an SQL database.
The Create New SQL Repository page opens, as shown in the following image.
A warning message is displayed, as shown in the following image.
Two SQL Repository catalog tables are created with this connection, as shown in the following image.
The tables are:
prefixIOHFILETABLE
prefixIOHRECORDTABLE
Two synonyms describing the catalog tables are also created in EDACONF/catalog/IOH.
The Create New Application page opens.
You must have created an SQL Repository.
The Create New Application page opens.
Note: The choices will include the repository, adapter type, and connection name. In this example, they are the repos repository, Adapter for Hyperstage (PG), and CON01 connection.
The application is added to the navigation tree. You can now use this application to store procedures, synonyms, data files, and other content.
Note: Repository procedures can be executed, and Master and Access Files stored in a repository can be accessed, during server, group, and user profile execution after all DBMS connections and an APP MAP command to the repository have been executed.
How to: |
You can map an application directory to access your TIBCO WebFOCUS Client Repository.
In order to map an application to your WebFOCUS Client Repository, you must have the WebFOCUS Client REST Adapter configured, as described in the TIBCO WebFOCUS® Adapter Administration manual.
You can also right-click the Application Directories tree and click Manage, then External Repository, then WebFOCUS Client Repository, then Link to Existing.
The WebFOCUS Client Repository connection page opens, as shown in the following image.
The New Application pane opens with the Application Type set to map to your WebFOCUS Client REST connection, as shown in the following image.
Select Application mapping to hostname - WebFOCUS Client REST (CON01)
Enter an application name for the mapped repository application, or accept the default name.
The default WebFOCUS Repository location will be automatically entered based on your entries on the first connection screen. However, you can click the ellipsis to browse for a location.
Select one of the following mapping selections.
This check box is selected, by default, so the application will show on the Application Directories tree.
By default, the position is Last. You can select First.
Select a profile from the drop-down list. The default is edasprof.
The application is added to the Application Directories tree. You can manage WebFOCUS Client Repository files using this application directory.
You can also right-click the Application Directories tree and click Manage, then External Repository, then WebFOCUS Client Repository, then List and Delete.
A pane opens listing the TIBCO WebFOCUS Client Repositories that are linked as applications.
A dialog box opens asking you to confirm that you want to delete the reference.
The application directory will not be deleted, but the reference to the TIBCO WebFOCUS Repository will no longer be available to the server.
How to: |
A nested application directory is one created within a higher-level application. The server allows five levels of nested application directories by default. The server must be configured for deeper or unlimited levels.
Nested application directories are implicitly added to the application path if the parent directory is on the application path.
The APP PATH command explicitly places ibisamp on the application path:
APP PATH baseapp ibisamp
However, you can test the path to see all of the implicitly added directories by clicking Manage, then Application Path. When the Application Path page opens, click Test in the Application Path pane:
The effective application path includes nested applications such as ibisamp/dimensions:
The Application Settings pane opens.
Note: For z/OS servers, this setting is only applicable to directory-style applications. It is not applicable to PDS-style applications or to applications mapped as a collection of ddnames.
After the server restarts, you can create a new application subdirectory by right-clicking an application folder and selecting New and then Application Directory from the context menu.
Note: Nested applications must be in effect in order to create user home application directories. Some other server features also require nested application directories. For example, when you Upload a data file, the file is initially staged in a temporary upload directory under foccache while you make any edits or enhancements needed to the synonym. Tutorials use nested applications as well.
The Create New Application Directory page opens.
The nested application is added to the application tree under its parent application folder.
How to: |
The server administrator can configure the server to allow each user to have a private application directory. This directory is sometimes referred to as myhome, but is actually a directory under the homeapps directory that is named for the connected user ID (~userid). Providing an application directory for each user ID gives each user a directory where he has full control to create, change, and run his applications.
The user application for any user who is not a server administrator appears in two places on the Reporting Server browser interface application tree. Both of these applications point to the same physical location. The two applications are:
Server administrators can see the home directories of all users. Other users can see only their own home directories (labeled as myhome), unless other users share their home directories with them.
The files created in home applications can be referenced in procedures in the following ways:
APP MAP myhome &APPMYHOME
Then, you can use myhome as an app reference, as in the following:
EX myhome/fexname
You can also use the variable &APPMYHOME as the app reference.
To make this mapping available for all users, you can place it in the edasprof server profile.
Note that the extension (.fex) is optional when executing a procedure.
The syntax includes the security provider name and the user ID, separated by an underscore. For PTH security and user1, issue the following command:
EX ~pth_user1/fexname
EX fexname
Note that if a procedure with the same name exists in multiple applications, you may not be running the one you want.
The first type of reference can be ported easily to any user. It enables you to create a common application that utilizes data stored in the home applications of users as myhome/data, so that each user can run the same procedure but get a report based on the data stored in the home application of that user.
The second type of reference enables you to run applications specific to a user. This type of reference can be used for testing applications before moving them to common application folders.
Home application directories should be enabled only on secured servers. If the server runs with security OFF, all users have total control of files in all applications, and the home directories will not work as designed. Nested applications must be enabled in order to create user home application directories.
The Server Administrator can monitor and manage home application directories for all users and, therefore, all user home directories are visible and in the path on the Reporting Server browser interface application tree when the connected user has Server Administrator privileges.
When the server is enabled for home applications, user home application directories are not created automatically. Users can create them from the Reporting Server browser interface Application page, or ask their server administrator to create them. The ~userid application will be automatically created for a user on the first attempt to write to it, for example, if the user uploads files to the application.
Home applications can also be stored in an SQL Repository. You must first create an SQL Repository and configure the application settings homeapps parameter to point to the SQL Repository, as described in Managing Applications and Paths.
After a home application directory is created for a user:
In order to set up home directories for individual users, nested applications must be enabled. They are enabled to five levels by default. The home directory under which user application directories will be created is set during installation. The default is homeapps. The homeapps directory can be changed to a different physical location on the Application Setting page. All user home directories will be nested under the home directory.
The Application Settings pane opens.
When the server restarts, go to the Applications menu. For a user with Server Administrator privileges, a users home folder will appear on the resources tree and will have all of the user home directories.
Users who do not have server administrator privileges can see their home directory under application myhome, which is prepended to APPPATH.
Server administrator users have the myhome application prepended and the homeapps application appended to APPPATH, The homeapps folder can be expanded to show the home applications for all users.
You must first create an SQL Repository. For information, see How to Create an SQL Repository to Store Applications.
The Application Settings pane opens, as shown in the following image.
The Select physical location dialog box opens.
The subfolder is entered in the homeapps field, as shown in the following image.
Home applications that are created will now be stored in the SQL database.
How to: |
The applications available for inclusion in the search path are identified by name, type, and physical location. If the Add directory to APPPATH check box was selected when the application was created, it was automatically added to the search path. If not, you must explicitly add it to your search path.
Note: You can also create profiles from the Application Path page. Profiles are the locations in which the search path is saved.
You can configure the Application Path to add or remove applications or mappings from either the Reporting Server browser interface or the Data Migrator desktop interface.
The User Interface for configuring the application path uses a double list.
You configure the application path from the Applications page on the Reporting Server browser interface.
The Application Path Configuration page opens as a double-list table. The left pane shows a list of all available applications, the right shows all applications in the active Application Path, as shown in the following image.
You can move applications up or down on the path by dragging them up or down on the list.
On both lists, you can
On the Application Path menu bar, you can:
The navigation pane is updated.
Note: You can create a new profile from the Application Path Configuration - Select Profile dialog box.
The Application Path can be configured from either the Reporting Server browser interface or the Data Migrator desktop interface.
The Application Path page opens.
The options are:
The profile opens in a text editor with its current path displayed.
Tip: You can also edit a profile search path by selecting and saving configuration options. Follow instructions for configuring the application path.
How to: |
Filtering enables you to customize the file listings on the Application tree, displaying only the files you choose. It can be based on file name, location, statistics, type, or any combination of items matching a number of criteria.
You can customize the items that display on the Application Tree by filtering. Your filtering selections apply to all applications displayed in the navigation pane.
Using the File Name section, you can filter by name, extension, description and content, as shown in the following image. To filter the name, you can use the percent sign (%) as a wildcard character. Specifying e% displays all files whose name begins with the letter e.
Using the File Statistics section, you can filter by file size and modified date, as shown in the following image.
Using the File Type section, you can filter by type of file to be included.
When you are finished, click Set Filter. The Filter Status page confirms that the filter was set.
You can click Clear Filter to clear the filter.
When a filter is applied, the Application Directories tree label includes (Filtered).
Note: You can remove the filter by clicking Clear on the Filter menu.
How to: |
The Search tool on the Files page provides a search function on the Application Tree.
The Search tool provides a text box for entering search criteria.
The list is filtered to show the objects matching the search term, with the search term highlighted.
How to: |
Sorting enables you to change the order in which items are listed in an application directory.
The page is sorted in descending order of the values in that column and a down arrow displays. Click again to sort in ascending order. The arrow changes to an up arrow. Click again to return to the original order. The arrow no longer displays.
How to: |
You can copy and paste files between applications, delete them from applications, and refresh synonyms in applications. You can also copy, move, or delete subfolders from one application to another. The subfolders will be copied, moved, or deleted with all of their files and all of their own subfolders.
To select contiguous files, click the first file, hold Shift, and click the last file.
To select discontiguous files, hold Ctrl, and continue clicking the files you want to select.
The file(s) are pasted to the selected application.
The Update Synonyms page opens. You can select the attributes to update. Certain attributes, such as keys, indexes, and formats are selected by default.
A status page opens that reports the result of the update request.