IBM Z and LinuxONE Software

  • 1.  File Manager V15 R1 M2 - DEFV Function

    Posted Mon February 26, 2024 04:22 PM

    Hi,

    Is the DEFV function able to return SMS parameters (i.e.: DATACLASS, MANAGEMENTCLASS, STORAGE CLASS)?

    I checked the options but did not find that enable generating them and the DEFV syntax does not have any additional options.

    Thank you.



    ------------------------------
    Girish Sajja
    ------------------------------


  • 2.  RE: File Manager V15 R1 M2 - DEFV Function

    Posted Tue February 27, 2024 09:54 AM

    Girish,

    Isn't the function DEFV just a way to define INPUT VSAM datasets ?  If you want SMS info filtering then probably look at DVT (Display VTOC) function.



    ------------------------------
    Sri Hari Kolusu
    ------------------------------



  • 3.  RE: File Manager V15 R1 M2 - DEFV Function

    Posted Fri March 01, 2024 02:21 PM

    Hi Girish,

         I do not know anything about DEFV, or how it derives the information for the DEFINE CLUSTER. Does it parse a LISTCAT?

        We have the Catalog Search Interface (CSI) documented in the Managing Catalogs manual which we recommend using to get catalog information.   DVT will not work since it queries the VTOC and the SMS class names are stored in ICF Catalogs.  

     



    ------------------------------
    Stephen Branch
    ------------------------------



  • 4.  RE: File Manager V15 R1 M2 - DEFV Function

    Posted Wed February 28, 2024 09:59 AM

    Hi,

    I am trying to use the DEFV function to retrieve the VSAM define statements so as to copy them.  This a batch function.  The following is the JCL and input statement being used but it does not generate the SMS parameters even though the LISTCAT command displays them.

    //JS010    EXEC PGM=FMNMAIN
    //IDIOFF   DD DUMMY
    //FMNCOB   DD DUMMY    Uncomment to force use of FM COBOL Compiler
    //SYSPRINT DD SYSOUT=*
    //SYSOUT   DD SYSOUT=*
    //FMNROPT  DD SYSOUT=*
    //FMNRPRM  DD SYSOUT=*
    //FMNDEFV  DD SYSOUT=*
    //FMNREPT  DD SYSOUT=*
    //FMNRSUM  DD SYSOUT=*
    //SYSTERM  DD SYSOUT=*
    //SYSIN    DD *
    $$FILEM SET HEADERPG=YES,PAGESIZE=999,PRTTRANS=ON
    $$FILEM DEFV DSNLIST=(TSTBT.OS.I2AA.**)
    /*
    **************************** Bottom of Data ****************************

    The following is the output for one of the files:

    DEFINE CLUSTER(NAME(TSTBT.OS.I2AA.BTFACAPS.CLUSTER) -
     NWCK -
     NOERASE -
     SHAREOPTIONS(2 3) -
     INDEXED -
     SPEED -
     BWO(TYPECICS) -
     LOG(NONE) -
     EATTR(OPT) -
     NOREUSE -
    ) DATA( -
     CYLINDERS(1600 600) -
     BUFFERSPACE(33792) -
     CONTROLINTERVALSIZE(16384) -
     FREESPACE(5 5) -
     KEYS(21 0) -
     RECORDSIZE(50 4089) -
     NONSPANNED -
    ) INDEX( -
     CYLINDERS(5 1) -
     CONTROLINTERVALSIZE(1024) -
     VOLUMES( -
     DMD154 -
     * -
     * -
     * -
     * -
    ) -
    )

    The LISTCAT shows the SMS parameters:

    SMSDATA
      STORAGECLASS ---CIVSMRL2     MANAGEMENTCLASS-STDTOTAP
      DATACLASS ------EXTENDED     LBACKUP ---0000.000.0000

    Thank you.



    ------------------------------
    Girish Sajja
    ------------------------------



  • 5.  RE: File Manager V15 R1 M2 - DEFV Function

    Posted Thu February 29, 2024 04:52 AM

    Hello guys,

    You're right, the feature is not there; DEFV doesn't currently include the SMS class parameters.

    If you'd like this feature to be implemented in a future release of FM, please open a request in IBM Ideas against File Manager for z/OS.



    ------------------------------
    Jean-Yves Rigolet
    ------------------------------



  • 6.  RE: File Manager V15 R1 M2 - DEFV Function

    Posted Thu February 29, 2024 10:33 AM

    This option is not currently available - You could raise an RFE to have a keyword added to the function to produce the SMS parameters or alternatively raise a case against FM.



    ------------------------------
    Tyrone Dalais
    ------------------------------



  • 7.  RE: File Manager V15 R1 M2 - DEFV Function

    Posted Fri April 19, 2024 11:58 AM

    Hi,

    Please let me know how to create an RFE or whatever is needed that would be help in creating this option in a future release.

    Thank you.



    ------------------------------
    Girish Sajja
    ------------------------------



  • 8.  RE: File Manager V15 R1 M2 - DEFV Function

    Posted Mon April 22, 2024 05:11 AM

    Hello Girish,

    You can raise a requirement on the IBM Z Software portal for File Manager for z/OS by clicking on "ADD A NEW IDEA" button on the left.



    ------------------------------
    Mark Cocker
    Senior Product Manager, CICS TS, IBM
    ------------------------------