Saving the data for later use
CMFMON allows you to save any screen for later use by exporting the screen to an ISPF data set. You can then include the data in another report, download the data for use in a PC spreadsheet program, and so on.
To export a screen
On the COMMAND line, type EXPORT.The entire screen is replaced by the Screen Export Information panel.
CMFMON ------------------ Screen Export Information for ASRM -----------------
COMMAND ===>
ISPF LIBRARY:
PROJECT ===>
GROUP ===>
TYPE ===>
MEMBER ===> (Blank or pattern for member selection list)
OTHER PARTITIONED OR SEQUENTIAL DATA SET:
DATA SET NAME ===>
VOLUME SERIAL ===> (If not cataloged)
EXPORT OPTIONS:
Disposition ===> REPLACE (Replace or append)
Edit after export ===> NO (Yes or No)
Output format ===> ASIS (CSV or ASIS)
Rows ===> ALL (All or Filtered)
Press ENTER to continue export or END to abort.In the ISPF LIBRARY field or OTHER PARTITIONED OR SEQUENTIAL DATA SET field, type the name of the data set and member to which you want to export the screen.The EXPORT OPTIONS fields are as follows:
Disposition
indicates whether you want to replace an existing data set (REPLACE) or append the screen to the bottom of the member (APPEND)
Edit after export
indicates whether you want to be placed in an edit session for the data set after export:
- If you specify YES, CMFMON transfers you to the specified data set and member in standard ISPF edit mode by using an ISPF edit profile called CDUDAM when you press Enter.
- For performance reasons, CDUDAM sets the RECOVERY parameter to OFF.
- If you specify NO, the data is transferred to the specified data set when you press Enter, and you are returned to CMFMON screen that was exported.
Output format
indicates whether you want the exported data to be in Comma Separated Value (CSV) format or in the format as it appears online (ASIS)
Rows
indicates whether you want to ignore any filters that might be in effect and export all the data (ALL), or just export the data displayed on the screen (FILTERED)
The amount of data that CMFMON exports is determined by the size of the data set to which you export, not the size of your terminal display. For example, suppose you have an 80-byte terminal monitor and must scroll to the right to see all the fields on a particular screen. When you export that screen--for example, to a 121-character data set--CMFMON exports the full 121 characters worth of data, not just the 80 bytes that are currently visible.
If you are planning to create a data set expressly to export CMFMON screens, BMC recommends that the data set be at least 132 characters wide.
- To return to the CMFMON display, press PF3 to end the session and save the data, or on the COMMAND line, type CANCEL to quit without saving.
Related topic