IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Allocation of files at runtime


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
venkatm2012

New User


Joined: 14 Aug 2012
Posts: 8
Location: india

PostPosted: Tue Aug 14, 2012 9:03 pm
Reply with quote

Hi,

Is it possible to allocate file's during the runtime of cobol program?

Currently program is writing 10,000 reports to one flat file. I need to introduce parameter ( no of reports ) which will decide to no of reports to be written to each file.

Eg:

1. If parameter is set to 2500, 4 files has to be created (each file contanis 2,500 reports)

2. If parameter is set to 5000, 2 files has to be created (each file contains 5000 reports)

Thank a lot in advance.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1787
Location: Bloomington, IL

PostPosted: Tue Aug 14, 2012 9:10 pm
Reply with quote

Of course. Search on BPXWDYN.
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Joining files with intermittent heade... SYNCSORT 1
No new posts INPFIL FILES, FNAMES examples SYNCSORT 7
No new posts FileAid move data from two files to o... Compuware & Other Tools 5
No new posts Methodic way to address cryptic alloc... ABENDS & Debugging 2
No new posts Any way to prevent dynamic allocation? DFSORT/ICETOOL 6
Search our Forums:


Back to Top