Thanks both, but I still have the problem. I am going to explain it. In AIX VSAM are created by COBOL with a binary file with some attributes of the file. Problem appears when you need to manipulate a file with SyncSort (like DFSORT in Mainframe). After the SyncSort step, if you need to process the output file in a COBOL program, you have to generate this binary file ".namefile.DDMEA", so that COBOL can open it. As this file contains attributes you cannot copy from another one you have (what I have been doing until now).
There is a problem with an attributed which tells the COBOL program the size of the file it is going to read. My problem is that COBOL thinks that there are still records to read based on the information in this binary file (copied from another). Question:
¿Does anybody work with this binary files ".namefile.DDMEA"?
¿Does anybody knows what can I do to generate this binary file from a file? ¿Is there any command to do so?