Identifying the Files Being Used

How to:

You can debug your application by identifying the files you are using. You can identify the file name and location of a procedure, data source, Master File, Access File, or StyleSheet. WebFOCUS searches on the path of the WebFOCUS Reporting Sever and identifies the file using the WHENCE command.

The maximum length of the file name is 64 characters when using the WHENCE command.

Syntax: How to Query the Procedure Being Used

WHENCE procedure FOCEXEC

where:

procedure

Is a procedure.

Example: Querying the Procedure Being Used

Issuing the command

WHENCE FINANCE FOCEXEC

produces output similar to the following:

C:\ibi\apps\session\layout.fex 

Syntax: How to Query the TIBCO FOCUS Data Source Being Used

WHENCE focusfile FOCUS

where:

focusfile

Is a FOCUS data source.

Example: Querying the TIBCO FOCUS Data Source Being Used

Issuing the command

WHENCE CENTINV FOCUS

produces output similar to the following:

C:\ibi\apps\session\centinv.foc 

Syntax: How to Query the Master File Being Used

WHENCE masterfile MASTER

where:

masterfile

Is a Master File.

Example: Querying the Master File Being Used

Issuing the command

WHENCE CENTINV MASTER

produces output similar to the following:

C:\ibi\apps\session\centinv.mas 

Syntax: How to Query the Access File Being Used

WHENCE accessfile ACCESS

where:

accessfile

Is an Access File.

Example: Querying the Access File Being Used

Issuing the command

WHENCE GKEIVP ACCESS

produces output similar to the following:

C:\ibi\srv\home\catalog\gkeivp.acx 

Syntax: How to Query the StyleSheet Being Used

WHENCE stylesheet FOCSTYLE

where:

stylesheet

Is a StyleSheet.

Example: Querying the StyleSheet Being Used

Issuing the command

WHENCE GGORDERS FOCSTYLE

produces output similar to the following:

C:\ibi\apps\session\classic.sty