In FOCUS, catalog file names correspond to file types and their extensions. Please correct me if I am wrong:
- Catalog name FOCEXEC refers to *.fex files
- Catalog name MASTER refers to *.mas files
- Catalog name GIF refers to *.gif files
- Catalog name HTML refers to *.html files
and so on... What is the catalog name of comma separated files (*.csv) and for focus data files (*.ftm)?
If possible, please refer me to documentation links or resources for more info.
Your help is greatly appreciated. Thanks and warm regards.
The .ftm files are temporary files or alphanumeric HOLD files, not focus data files. csv files are comma-delimited HOLD or SAVE files.
The Creating Reports with WebFOCUS Language manual (DN4500695.0905) contains the following information:
By default, report output files created with HOLD, SAVE, or SAVB are written to temporary space. When the session ends, these files are no longer available unless you save the output to a specific location.
To save report output files to a specific location, use a FILEDEF or ALLOCATE command. For details, see Saving and Retrieving HOLD Files. In the VM/CMS environment you can use a FILEDEF command to save an output file to a specific location and assign it a file name, file type, and file mode. In MVS, you can dynamically allocate an output file using the DYNAM ALLOCATE or TSO ALLOCATE command. For details, see the Developing Reporting Applications manual (DN4500696.0905).
I hope this helps.
Jenn, thanks for the clarification and for referrng me to the documentation manuals. I know I will be using them extensively.
What motivated the question was my attempt to use the Webfocus Web Services Toolkit. From the docs (WebFOCUS Web Services
Version 5 Release 3, DN4500609.0904, Page 4-62), I was trying to use the 'WebFocusAppDeleteFile' function and needed to figure out 4th parameter, catalog name of the file. I successfully used it for master files (.mas) by using "MASTER" in the parameter, just like the example:
ret = wfs.WebFocusAppDeleteFile(logon, "WebServices", "Car2", "MASTER","EDASERVE")
But I cannot get it to delete any other files from the application. I would like to know if I could use this function to delete *.csv files in the application folder for example.
Thanks and regards
In Developer Studio both .ftm and .csv will appear under the "OTHER" folder but since this folder will display everything that does not fit into the others categories; I'm not sure you can manipulate the files themselves.
You may need to run a WebFOCUS report that performs the function as an OS level command.
Thanks for your reply. As you said, those files do appear as the "OTHER" category. I might have to use OS commands then.
|Powered by Social Strata|