VSAM to PC download VSAM to PC download blueangels (TechnicalUser) (OP) 26 Feb 02 12:34 Does anyone know if any of the PC COBOL software packages allows for downloading VSAM files with Comp-3 fields and then using them as is?Thanks, RE: VSAM to PC download bprange (MIS) 18 Mar 02 13:40 I may be missing something, but it seems that if you want to move some fields as is, you could define them as COMPUTATIONAL fields to the software that does the moving. Unless the numbers are translated from big-endian to little-endian (I hope that's the right direction) in the move, the bits should come out the other end unchanged. Then just tell the recieving process that they really are PACKED-DECIMAL. RE: VSAM to PC download MWRO (Programmer) 23 Jul 03 08:46 There are expensive commercial tools that do this. Another approach is to write a simple conversion program. Create a second layout similar to the original that doesn't have any COMP or COMP-3 data. If its structure is identical, you can use MOVE CORRESPONDING from the original layout to the revised layout. This will give you a layout that is entirely character data. When you download it, it should be converted from EBCDIC to ASCII. Finally, you can run a similar program on the PC to convert the numeric data back into the packed format. This probably won't handle signed numbers correctly. You could process those by including the "SIGN IS LEADING SEPARATE" clause to cause the sign to be stored in a separate character.