LRECL and RECFM for flat file created by VSAM unload

2 posts / 0 new
Last post
Anonymous
LRECL and RECFM for flat file created by VSAM unload

 

 

 

 

 

I have to Unload a VSAM file to a flat file, I think I can do this using
REPRO command of IDCAMS utility, my question is what should be the record length and
record format that I should specify for the flat file to which I am unloading the
contents of VSAM file
 
The delete define parm for the vsam file is shown below:-
 
DELETE (MY.VSAM)   CLUSTER                                   
     SET MAXCC=0                                                  
DEFINE CLUSTER  (NAME (MY.VSAM)                                 - 
                 SPEED                                          - 
                 KEYS (49 0)                                    - 
                 RECSZ (38 800)                                 - 
                 FREESPACE(10 10))                              - 
       DATA     (NAME (MY.VSAM.DATA)                            - 
                 TRK(10 10)                                     - 
                 CISZ(4096) )                                   - 
       INDEX    (NAME (MY.VSAM.INDEX)                           - 
                 TRK (10 1)                                     - 
                 CISZ(512) )     
 
 
Any help would be appreciated
 
G. Rudi
"; ; ; ;
Anonymous
Use a VB file
You can use a variable block file with LRECL 804
Log in or register to post comments
Sponsored Listing