It is a sore point with me that the File Manager template workbench doesn't generate ISPF statistics on the templates it creates. It will /maintain/ statistics if they already exist, but it won't create them.
Just like the IBM Fault Analyzer IDILANGX utility* won't create ISPF stats on sidefiles it creates. I had to write an assembler program that copies an input member or flat file to a PDS member, creating ISPF stats as it saves it. *Any* utility that creates a PDS member, that isn't a module, should be creating ISPF-format statistics. It /at least/ should be an option. I mean where what's provided in input or a DD is a library, not a library(member). So DFSORT sorting to a library(member) wouldn't create stats. For the OP question, I think the respondents have hit all the options to create ISPF stats... * ISPF 3.5 (usually the best method in ISPF) * ISPF Edit, save (but this uses up PDS space) * FM DSC (and maybe other functions) * PDS utility * ISPF services from a REXX exec or program * Assembler program * yeah I know it isn't actually IDILANGX anymore, but part of ADFzCC (Application Delivery Foundation for z Systems Common Components). -----Original Message----- From: IBM Mainframe Discussion List <[email protected]> On Behalf Of Paul Gilmartin Sent: Tuesday, June 25, 2024 10:28 AM To: [email protected] Subject: Re: DFSORT Question regarding SORTOUT Library Member Statistics On Tue, 25 Jun 2024 15:01:20 +0000, Sri Hari Kolusu wrote: > >Unfortunately, ... > <https://en.wikipedia.org/wiki/Conway%27s_law> >DFSORT does NOT copy/generate member statistics when copying. However, if >your shop has FILE-MANAGER, then you can use the following. > >//STEP0100 EXEC PGM=FILEMGR >//SYSPRINT DD SYSOUT=* >//DDIN DD DISP=SHR,DSN=Your.input >//DDOUT DD DISP=OLD,DSN=your.output.pds(memname) >//SYSIN DD * >$$FILEM DSC STATS=ON >/* -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
