At 12:51 PM 8/16/2004, you wrote:
>I have a need to convert Excel tab delimited files to fixed format for up loading to mainframe. The .prn format of excel maxes out at about 200 characters and my mainframe program does not handle tabbed or comma delimited files correctly.
>Can Vedit convert an Excel "tabbed" or "comma" delimited file to a fixed format file to a max lrecl of 1000.
We just finished a flat-to-csv file conversion macro (to be released soon), but don't have the opposite.
It is almost trivial to convert a tab-delimited file to flat-file format; simply untab it with {EDIT, Convert, Detab}.
VEDIT has {EDIT, Convert, All lines same length} and {USER, Check lines same length} to help with getting the correct record length.
Note that many mainframes also need four record-length bytes in front of
each record; sometimes they also need tape-blocking.
For more complex conversions, our EBCDIC Level-4 software ($944) can convert from ASCII to EBCDIC with packed fields.
Ted.
|
|