View previous topic :: View next topic
|
Author |
Message |
dmanwi
New User
Joined: 19 Mar 2016 Posts: 1 Location: USA
|
|
|
|
I need to create a pipe-delimited file as output. The file will be sent to a server. Input is a sequential file. In some cases I have used FOCUS to output the file but I an concerned that FOCUS uses more system resources than COBOL. LRECL will be approx 500 bytes and Record count varies from 100,000-700,000 records.
Is there a COBOL statement or utility that will output a pipe delimited file? Or should I just build an output copybook with pipes between each field?
Thanks. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Quote: |
Or should I just build an output copybook with pipes between each field? |
It's tedious but not a very difficult thing to do. COBOL has no built-in support for pipe-delimited data sets. |
|
Back to top |
|
|
|