Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Creating a pipe delimited file from COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
dmanwi

New User


Joined: 19 Mar 2016
Posts: 1
Location: USA

PostPosted: Sat Mar 19, 2016 10:40 pm    Post subject: Creating a pipe delimited file from COBOL
Reply with quote

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
View user's profile Send private message

Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8519
Location: Dubuque, Iowa, USA

PostPosted: Sun Mar 20, 2016 12:59 am    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Cobol redefines for Signed pictured c... gvvjags COBOL Programming 4 Thu Feb 27, 2020 4:33 pm
No new posts COBOL - Array result in single variab... vinu78 COBOL Programming 3 Thu Feb 20, 2020 5:29 pm
No new posts Dynamic cursor name in Cobol program Jlevine COBOL Programming 1 Fri Feb 14, 2020 2:55 am
No new posts Indent cobol code Renato Zangerolami COBOL Programming 6 Thu Feb 13, 2020 12:53 am
No new posts Eliminating blank space in XML parsed... elixir1986 COBOL Programming 0 Tue Feb 11, 2020 4:41 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us