Skip to Content
Custom Search

Reply to comment







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


  • Allowed HTML tags:
      1. Lines and paragraphs break automatically.

    More information about formatting options

    This question is for testing whether you are a human visitor and to prevent automated spam submissions.


Click the +1 button  below to share it with your friends and colleagues


Share this if you liked it!



Number of Registered users 713
Theme by Dr. Radut.