How to allocate a zFS aggregate on a z/OS system?

Document ID : KB000052220
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

One of the things that need to be done before really starting to install CA Mainframe Software Manager - MVS is the need of a zFS aggregate.

In this document is provided sample JCL to create such an aggregate.

Solution:

Please change the JCL according you jobcard, datasetname and other JCL requirements and submit to job to create a zFS aggregate.

//  Insert Jobcard 
//*          
//********************************************************************  
//* Allocate a zFS aggregate (actually a VSAM linear dataset with 8     
//* KB blocks).                                                         
//* Notes: - There are 6 8 KB per track -> 90 8 KB per cyl.             
//*        - When the total size of a file is greater than 4 GB         
//*          (extended format) the DFSMS DATACLASS must provide         
//*          extended addressability. Add DATACLASS(LSEXT).             
//********************************************************************  
//STEP1   EXEC PGM=IDCAMS                                               
//SYSPRINT  DD SYSOUT=*                                                 
//DISK      DD DISP=OLD,UNIT=3390,VOL=SER=volser                        
//SYSIN     DD *                                                        
  DEFINE CLUSTER (NAME(datasetname) VOL(volser) -                  
                 LINEAR CYL(600 100) SHAREOPTIONS(2))  -                
         DATA (CISZ(4096))                                              
/*
//********************************************************************  
//* Format the zFS as a compatibility mode aggregate. The zFS           
//* aggregate contains 1 zFS file system. The zFS file system has the   
//* same name as the zFS aggregate (and the VSAM LDS).  
//* Specify the datasetname of the CLUSTER NAME defined in the 
//* previous step in the PARM field below.                
//********************************************************************  
//STEP2   EXEC PGM=IOEAGFMT,                                            
//             PARM=('-aggregate datasetname -compat ')            
//STDOUT    DD SYSOUT=*                                                 
//STDERR    DD SYSOUT=*                                                 
//SYSPRINT  DD SYSOUT=*                                                 
//CEEDUMP   DD SYSOUT=*                                                 
//SYSUDUMP  DD SYSOUT=*                                                 
//