Managed-SAM (SAM in VSAM Space) Data Set Attributes:
The server must KNOW the correct values for the following attributes. Please remember that values derived from SITE commands blindly override and replace values dervied from the view.
















The following attributes (1 through 7) are always required (i.e., needed for both GET & PUT operations).

1) Real Data Set Name:                               to see how to pass the real data set name to the server..

2) TYPE:     Constant character string VSAM

3)
DISP:      GET automatically forces Shr.
                  
PUT, on the other hand requires you to specify either Mod or New:
                      a) 
Mod: extends (i.e., Appends) the file if it exists or creates a NEW one as per next item b. 
                      b) 
New: Creates a new file. Disposition of New, or Mod for non-existing file, requires
                                    attributes 8 through 11 as well.
    
4
) RECFM: F, FB, V, or VB to indicate Fixed, Fixed blocked, Variable, or Variable blocked, respectively.

5
) RECL:     logical record length.

6)
BLKSZ:   block size, if logical records are blocked.

7
) Catalog DLBL: dlbl for the VSAM catalog pointing to the data set. Default is IJSYSUC. 

   
In addition, The following attributes (8 through 11) are required for new output files (i.e., client
    issues a PUT and specifies:
DISP = NEW, or  DISP = MOD for a non-existing file).
   GET, on the other hand, totally ignores these attributes.


8)   VOLSER: The application generates a DLBL with a VOLSER, if provided. Default is blanks.

9
)   EXP:  Expiration date YYYY/ddd, where ddd is julian day,  or number of days. Default is 7 days.

10
) Primary Space Quantity: Primary space quantity. The server provides a default, but do not depend on it.

11) Secondary Space Quantity: Secondary space quantity. Default is none.
      
Please click here...
Equivalent SITE command:

N/A. See item 1 below. 
SITE TYPE = VSAM
SITE DISP =   N, M or S
SITE RECF =  
SITE RECL = 
SITE BLKSIZE =  
SITE CAT =  cat_dlbl            
SITE VOLSER =  vvvvvv     
SITE EXPIRE =                   
SITE SPACE_PRIMARY = 
SITE SPACE_SECONDARY = 
Attribute:          

1.  DS_NAME       
2.  TYPE               
3.  DISP (disposition)  
4.  RECFM (rec format)
5.  RECL (rec length)   
6.  Block Size              
7.  Catalog DLBL         
8.  VOLSER                
9.  EXPiration              
10. Space Prim quantity
11. Space secondary     
View Statement

TGT_FILE      
TGT_TYPE                   
TGT_DISP  
TGT_RECFM 
TGT_RECL    
TGT_Block                
TGT_Catalog         
TGT_VOLSER              
TGT_EXPiration            
TGT_SPACE_PRIM 
TGT_SPACE_SECOND
Please click here
Hosted by www.Geocities.ws

1