Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

A HOLD file is valuable when you want to do the following:

  • Extract fields from a large data source for faster and more efficient retrieval in subsequent requests. This reduces processing time, enabling you to create reports and charts rapidly against a smaller, more specialized data set. This improves efficiency while giving you the flexibility that you need when working with smaller subsets of your data.

  • Store virtual field values or summary values calculated in one request for further processing in another request. This allows you to reuse calculated values, decreasing the effort required to recreate certain scenarios.

HOLD files can be created for immediate use and saved temporarily or they can be stored for future and repeated use. This gives you the flexibility to use and store HOLD files, as needed, based on how you want to use the files that you create.

Creating Temporary HOLD Files 

Info

See Creating Basic Reports for more information on creating, /wiki/spaces/IKB/pages/10883138204, adding fields, filtering, and saving reports.

  1. Navigate to your saved report and right-click.  

  2. From the right-click menu, select Edit With.., and then click InfoAssist.

    Right-click Edit With... then InfoAssist Image RemovedClick edit with infoassistImage Added
  3. On the ribbon, select the Home tab, and click File from the Format group

    of the Home tab on the ribbon

    .

    Click File (from the Design group on the ribbon)  Image Removed  Click File (from the Design group on the ribbon)  Image Added
  4. From the Temporary hold dialog box,

    notice the options to rename the file, modify the file format, as well as options to select a desired location when saving. 
    Temporary Hold dialog box Image RemovedClick the file type dropdown to modify the file format to Focus(*.foc).
    Select FOCUS as file format Image Removed

    confirm Temporary is selected above the left navigation pane. 

    Temporary above left navigation pane Image Added
  5. Enter text into the Title field.

    Title field Image Added
  6. Confirm Binary (*.ftm) is the selected file format. 

    Binary file format Image Added
  7. Once a file name and file format is identified, click Save.

     

    The Temporary File dialog box will close.

  8. Notice how this changes the format of your work area and the different options that are now available. The PRINT/SUM work area and the SORT work area are now gone and the Files section appears in their place. Also note the “Create Report” drop down box at the screen bottom center. Opening that will enable working with the held data file.
    Image Removed

  9. The output from the first query has been held in the filename provided and now that file appears as our source for report, file, or chart creation. The first query shows up in the QUERY block to the left side, listed under files. If you wish to navigate back to the first query that created the hold file highlight it and click Edit.
    Image Removed

  10. Expand the hold file to display the fields that you held by clicking on the plus signs to the left of the file name and then to the left of SEG01. SEG01 is the temporary name given to the file by WebFOCUS. Notice the appearance of the field called FOCLIST. That is an internal index created by WebFOCUS and used as a key field and also to differentiate like records in this case.
    Image Removed

  11. The output created from the hold file can be format as report output or sent to another hold file for further processing.

...

iconfalse

...

  1. You should now see a Query pane (top center) as well the Create Report function (bottom right). 

  2. Note that the hold file has been created; see the name in the Query pane. 
    Hold File name in Query PaneImage Added

  3. Click Create Report at the bottom right to use the Hold file to create a report to join the Hold file to another UC_SADM data table. 

    Click Create Report Image Added
  4. Notice that the workspace changes again. The system assumes you want to create a report using data from that Hold File. To join the Hold file to another table, click the Data tab and then click Join. 

    data and join buttonsImage Added
  5. Notice that the Hold file displays in the join dialog box. Click the Add New drop-down and then click Existing.

    Click Add new and then Existing Image Added
  6. Navigate to rec_student_groups_dim from the dialog box that displays. 

    Navigate to data file Image Added
  7. Click Open.  

  8. Notice that a second table displays in the Join dialog box. Join the tables together. Refer to the Basic Table Joins article for more instruction.

    basic table joinImage Added
  9. Click OK.  

  10. Now create the report, pulling in fields from the Hold file, as well as from the additional table that we just added. 

    1. In this example, the fields are added under the By header, within the Query pane.

      add fields under the By header in the Query Pne Image Added
  11. Add new filters specific to the new table that was just joined. See Filtering a Report for additional instruction.  

  12. Click OK to confirm.  

  13. Click Run to view the output of the report.  

  14. Complete the info within the Parameters dialog box.  

  15. Click Run. 

  16. Review the output. 

Info

See WebFOCUS InfoAssist Manual 8.2.06 for  for additional information, as desired.

Filter by label (Content by label)
showLabelsfalse
max

...

10
spacesIKB
showSpacefalse

...

typepage
cqllabel

...

in ( "infoassist" , "file" , "file-storage" , "file_storage" , "info_assist" ) and space = currentSpace ( )
labelskb-how-to-article
Page Properties
hiddentrue

Related issues