%free of all the storage group by batch



Help for IBM's record-oriented filesystem VSAM, ESDS, KSDS, RRDS, LDS and Storage management Subsystems

%free of all the storage group by batch

Postby samb01 » Mon Feb 12, 2018 7:33 pm

Heelo,

i'd like to know how getting the % of free space in all the storage group . I can't find the option of dcollect to know it.

Thank's for your help.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: %free of all the storage group by batch

Postby Robert Sample » Tue Feb 13, 2018 12:33 am

One way would be to summarize the DCVFRESP and DCVVLCAP values for each volume (V records) in the storage group; once totaled the division gives you % free space.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: %free of all the storage group by batch

Postby samb01 » Wed Feb 14, 2018 6:46 pm

Hello, thank's for your help.
I'm looking a documentation about TSO MXI by batch but i can't : PGM=MXI
Do you have e link about it ?

Thank's.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: %free of all the storage group by batch

Postby Robert Sample » Wed Feb 14, 2018 7:25 pm

MXI is not an IBM product. Try http://www.rocketsoftware.com/products/rocket-mainstar/rocket-mainstar-mxi-zos for more information -- Rocket bought MXI a while back.
Robert Sample
Global moderator
 
Posts: 3719
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 279 times

Re: %free of all the storage group by batch

Postby willy jensen » Thu Feb 15, 2018 1:38 pm

MXI at Rocketsoftware is the commercial product. You can find the old, but still mostly functional, freeware version here: http://www.cbttape.org/cbtdowns.htm as files 409 and 410. I just checked that the SMS Storgrp display still works in z/OS 2.3.
MXI is one of the best products I have come across. Well layed out displays and a very good REXX API, which can be used in batch. Unfortunately I could not convince my latest employer to buy the commercial version.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: %free of all the storage group by batch

Postby samb01 » Thu Feb 15, 2018 8:10 pm

Hello, thank's for thee link.
Could you pleause explain me haw can i read the file in the zipe file. I tied with NotePad ++ but i can't read the file.
I would like to have example in jcl batch like this (for example) it displays all the storagegroup :


//MXI01 EXEC PGM=MXI,PARM='BATCH'              
//SYSPRINT DD *
//SYSIN DD *                                  
  SGRP *                                      
/*                                            

 
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: %free of all the storage group by batch

Postby willy jensen » Fri Feb 16, 2018 12:19 am

Newer Windows versions can open a zip file directly. Then you can use drag-and-drop to copy the data file i.e. FILE410.XMI to another directory. Alternatively install an un-zipper, i.e. WINZIP or 7-ZIP. Once you have the unzipped *.XMI file, it can be transferred to your z/OS using whatever file transfer you have available. The transfer must be binary and the target dataset must be FB,lrecl=80 and blkzise=3120. I think that the blksize may be larger, but I would stick with 3120.
Then use the TSO RECEIVE command to generate a library - i.e ISPF 3.4, line command RECEIVE INDA(/) , then reply with the target libraryname.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Re: %free of all the storage group by batch

Postby samb01 » Mon Feb 19, 2018 1:49 pm

Hello,

when i transfet the file, i have an echec in the tranfert but i have the file in ZOS.
Then, i enter : RECEIVE INDA(/) in ISPF in front of the dsname XW40.MXI.FILE410
:


receive inda(/) I.FILE410      
 


Then i have this message :



INMR901I Dataset CBT.V495.FILE410.PDS from SBGOLOB on N1  
INMR906A Enter restore parameters or 'DELETE' or 'END' +  
 


So i enter the library :


xw4040.mxi.jcllib.file410
 


and i have this message :


IKJ56712I INVALID KEYWORD, UT40.MXI.JCLLIB.FILE410
 


So what can i do please? I did something wrong ?
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: %free of all the storage group by batch

Postby samb01 » Mon Feb 19, 2018 2:03 pm

Hello,

now i have this message :


 INMR901I Dataset CBT.V495.FILE410.PDS from SBGOLOB on N1        
 INMR906A Enter restore parameters or 'DELETE' or 'END' +        
da('XW40.MXI.FILE410.jcllib') unit(tso)                          
 INMR108I RECEIVE command terminated.  Trailer record missing    
 ***                                                            

 


and my library : XW0.MXI.FILE410.JCLLIB is empty :?

I think there's a problem in my transfert :
You do not have the required permissions to view the files attached to this post.
samb01
 
Posts: 427
Joined: Mon Nov 16, 2009 7:24 pm
Has thanked: 1 time
Been thanked: 0 time

Re: %free of all the storage group by batch

Postby willy jensen » Mon Feb 19, 2018 2:12 pm

Did you preallocate the transfer dataset in z/OS (you should)? What are the specs for that dataset?
After transfer, browse the dataset, it must start with '&\INMR01' and end with '\INMR06 '.
willy jensen
 
Posts: 455
Joined: Thu Mar 10, 2016 5:03 pm
Has thanked: 0 time
Been thanked: 69 times

Next

Return to VSAM/SMS

 


  • Related topics
    Replies
    Views
    Last post