Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Unknown number of output files

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

New User


Joined: 18 Jun 2008
Posts: 2
Location: Alabama

PostPosted: Tue Aug 05, 2008 1:13 am    Post subject: Unknown number of output files
Reply with quote

I have written a COBOL program to write out a single batch file of HIPAA 270 transactions. The single file contains multiple ISA/IEA segments. This has been fine in the past, but last year it created 48 ISA/IEA segments. My problem is that when the program finishes, I'm having to break out each ISA/IEA segment into its own file for further processing. I'm doing this manually. Without creating enough FDs to handle an unknown number of output files, and I'm not an assembler programmer, but many years ago I worked in a shop that used a called assembler routine that could have named and created output files within a COBOL program so in situations like this no further manipulation was needed. Can anybody help me with how this could be done? Or maybe provide me with an assembler routine that can do this kind of thing?
Thanks.
- John
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Tue Aug 05, 2008 1:38 am    Post subject: Reply to: Unknown number of output files
Reply with quote

Start with this previous topic.
Back to top
View user's profile Send private message
John Monse

New User


Joined: 18 Jun 2008
Posts: 2
Location: Alabama

PostPosted: Tue Aug 05, 2008 8:44 pm    Post subject:
Reply with quote

Thanks Kevin. Have to see if I can make sense out of all the information.
- John
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 Compare two PS files using ICE TOOL f... SENTHIL MURUGAAN DFSORT/ICETOOL 5 Sun Dec 24, 2017 1:26 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am
No new posts Split files upto certain limit based ... bubbu75 DFSORT/ICETOOL 5 Tue Nov 14, 2017 11:11 pm
No new posts VBS and VB, COBOL syntax is the same ... natt.sut COBOL Programming 3 Sun Nov 12, 2017 6:36 am
No new posts Increment number for every group of r... srajendran2 DFSORT/ICETOOL 7 Thu Nov 09, 2017 10:31 pm

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