Allocate file cobol program




















Already a member? Close this window and log in. Join Us Close. Join Tek-Tips Forums! Join Us! By joining you are opting in to receive e-mail. Promoting, selling, recruiting, coursework and thesis posting is forbidden. Students Click Here. Hello, I need an example of how to dynamically allocate several files using a cobol program. I need to allocate the files and then write records to them.

Can anyone help? Hi apctaz, I've not ahd need to do this, but beleive it's done by calling a routine called 'setenv'. You can Google that, or have a look here Hope this helps. Quick References. View previous topic :: View next topic. Posted: Wed Jan 11, am. These records need to be output in to another system. The Backend system, to which my program exports the file, can take in a file of max capacity , Now as I pointed out, the input can vary between 2 million and 3 million, so I can have 10 - 15 files after every run.

Now, I cannot send them a Blank file, they say its gonna kill them? Is there any way to code this in cobol, dyanamic FD statements? Or some utility in the IBM mainframe that can sync up with my Cobol Pgm to create these files dynamically? Back to top. I think you can use GDG with the limit as You can use a counter and as it reaches ,, the program must terminate and you can again submit the job and start from the ,th record.

To start from this new record position you can accept the starting record position at run time and for that you don't have to change the program every time. For e. Big heads I confess that I used a 4 letter word in my response: "work". Best practice means getting paid at the end of the day.

Then you move on to the next customer that your sales team talked into signing a contract. Think of fountain pens. It was made to last. If there was something wrong with it, you could actually take it to a craftsman and they would repair it. They work for a few weeks and you toss them out. That's what people want these days. They don't care about the difference in quality. So if you make disposable pens, would you spend the time to make it "right" or would you just get them made?

Posted: Fri Nov 18, am. I don't think anyone used a 4 letter word on you - OK perhaps 'work'. Posted: Fri Dec 09, am.



0コメント

  • 1000 / 1000