OPS/MVS

 View Only
  • 1.  CA OPSMVS : DUMP GLV's

    Posted Jun 20, 2018 11:33 AM

    I had a rexx or rule that listed all your global variables, like a tree directory, but i can't find it ...Does anybody remember how this is done?



  • 2.  Re: CA OPSMVS : DUMP GLV's

    Posted Jun 20, 2018 01:16 PM

    Are you talking about CCLXEXEC(OPGVBK) - which backs up the globals in a rexx cmd format so you can run and add them back??  That is the only thing I am aware of - not really a tree structure.

     

    Sal



  • 3.  Re: CA OPSMVS : DUMP GLV's

    Posted Jun 20, 2018 03:27 PM

    Hello Sal,

    No that is not what I'm thinking of, I may have seen/heard about it at the Pittsburgh Conference.  Basically I would dump your Global Variables and write it out to a file.  

     

    Example 

     

    GLOBAL.EXAMPLE

    GLOBAL.EXAMPLE.TEST

    GLOBAL.EXAMPLE.TEST.1

    GLOBAL.EXAMPLE.TEST.2

     

    Thanks for the comment!

     

    Randy



  • 4.  Re: CA OPSMVS : DUMP GLV's

    Posted Jun 20, 2018 03:45 PM

    I think something like this will work ..... looking for something that I can see to clean up SYSCHK1.

     

    RTVL = OPSVALUE(GLOBAL,'S')
    do queued()
    pull line
    parse var line word1 .
    say word1
    end



  • 5.  Re: CA OPSMVS : DUMP GLV's
    Best Answer

    Broadcom Employee
    Posted Jun 21, 2018 10:49 AM

    Hello Randy,

     

    Your REXX program looks correct to me and will produce a list of global variables. As an additional recommendation, make sure you check the RDF tables in the OPSVIEW panel 2.6. RDF tables also consume space in the SYSCHK1 dataset. 

    Please, review this old post in this community where the clean up of the SYSCHK1 dataset is discussed:

     

    CA OPS/MVS Tuesday Tip: Spring Cleaning 

     

    Regards,

    Mario

    Carlos Mario Filho
    Principal Support Engineer