View previous topic :: View next topic |
Author |
Message |
waves Beginner
Joined: 09 Nov 2006 Posts: 35 Topics: 12
|
Posted: Tue May 08, 2007 4:42 am Post subject: File Operation Programs |
|
|
Please suggest me how to do this one??? Is there any way to do |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Tue May 08, 2007 4:59 am Post subject: |
|
|
you could overlay define the record layouts on a common area and process according to some record identifier.
You could probably use Easytrieve or SAS or possibly even ice/synctool.
Really depends on what else they do.
On the other hand - if it ain't broke, don't fix it. And the code as-is is simpler and thus easier to maintain. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
waves Beginner
Joined: 09 Nov 2006 Posts: 35 Topics: 12
|
Posted: Tue May 08, 2007 5:18 am Post subject: |
|
|
is there any means to do using the cobol??/ |
|
Back to top |
|
 |
waves Beginner
Joined: 09 Nov 2006 Posts: 35 Topics: 12
|
Posted: Tue May 08, 2007 5:35 am Post subject: |
|
|
can we use VB file description in a separate copybook so that it can be accessed everytime if FB is going to be a problem. please correct me if i'm wrong. |
|
Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Tue May 08, 2007 5:39 am Post subject: |
|
|
sure you can!
do you mean each file would have its own FD or would you dynamically allocate each file?
are you capable of writing the code to keep track of what you are doing if you where to use dynamic allocation? like, what file is this?, what fields (for the appliaction) to populate with what.
by the way, why do you want to replace modular programming techniques with this kind of out-dated silliness? Big modules are a thing of the past. each program should perform only one function - to write one module to process 22 files is not good programming practice. not only will the load module be very large, any change to one file's logic will require recomp/link of the complete module - and if you are a static link shop, you have just increased you error possibility by a gazillion.
you should learn about good programming practices before you start this kind of stuff. you are lucky that your shop seems to have a base start on modular techniques - I doubt if they will allow you to drag them back into the dark ages........... _________________ Dick Brenholtz
American living in Varel, Germany |
|
Back to top |
|
 |
waves Beginner
Joined: 09 Nov 2006 Posts: 35 Topics: 12
|
Posted: Wed May 09, 2007 12:30 am Post subject: |
|
|
the functionality of all the programs is just read a file, write a file and closing the file.
just to know is there any possibility of doing that... its nothing that we should learn about good programming practice. if u know u can suggest some things but not to give comments like this...
anyway i understood that u r a greatttttt programmer  |
|
Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Wed May 09, 2007 2:46 am Post subject: |
|
|
You could probably use ICETOOL but without knowing what processing is going on inside each program it is hard to say. If the only processing is as you say then IEBGENER/ICEGENER/ICETOOL could do the job. _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12378 Topics: 75 Location: San Jose
|
Posted: Wed May 09, 2007 4:57 am Post subject: |
|
|
waves, Quote: |
just to know is there any possibility of doing that... its nothing that we should learn about good programming practice. if u know u can suggest some things but not to give comments like this...
anyway i understood that u r a greatttttt programmer
|
If you keep up the sarcasm then you will loose the privileges to post on the board. You don't pay a single penny and yet you are ready to take a dig at people who try to help you. It ain't that easy answering questions. Try it and see if you can do it.Treat this as your first warning.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
 |
acevedo Beginner

Joined: 03 Dec 2002 Posts: 127 Topics: 0 Location: Europe
|
Posted: Wed May 09, 2007 5:54 am Post subject: |
|
|
waves wrote: | the functionality of all the programs is just read a file, write a file and closing the file.
|
is this the only thing those programs do? SURE?  |
|
Back to top |
|
 |
|
|