Enabling chart support in TSO and ISPF
From a single report, users can specify different chart formats, such as scatter charts, pie charts, and bar charts.
About this task
Users can use default chart formats or create their own. In addition, they can save newly created chart formats if they have libraries in which to store them.
To create a library to hold a user's saved chart formats:
- Create the library with a DD statement:
//DSQUCFRM DD DSN=aaaaaaaa,DISP=(NEW,CATLG), // UNIT=xxxx,VOL=SER=yyyy, // SPACE=(400,(200,50,25)), // DCB=(LRECL=400,BLKSIZE=400,RECFM=F)Provide the DSN, UNIT, VOL, and SPACE parameters, but do not change the DCB parameters.
- Allocate the library for the user's QMF sessions, and use the ddname DSQUCFRM.
You can allocate the data set through the user's TSO logon procedure, or you can allocate it through a CLIST that the user calls to reach QMF.For example:
ALLOC DSNAME(aaaaaaaa) DDNAME(DSQUCFRM) SHR
What to do next
The default chart formats are in the library QMF1310.SDSQCHRT by default. Allocate this library to the ddname ADMCFORM. Both this library and the user's library are searched for user-specified chart formats, but the new library is searched first. When the user saves a chart format, it always goes into the new library, never into QMF1310.SDSQCHRT.
This arrangement gives each user access to both the default chart formats and formats that the user saved. It also prevents replacement of the default chart formats.