MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

File Operation Programs

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
waves
Beginner


Joined: 09 Nov 2006
Posts: 35
Topics: 12

PostPosted: Tue May 08, 2007 4:42 am    Post subject: File Operation Programs Reply with quote

Please suggest me how to do this one??? Is there any way to do
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Tue May 08, 2007 4:59 am    Post subject: Reply with quote

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


Joined: 09 Nov 2006
Posts: 35
Topics: 12

PostPosted: Tue May 08, 2007 5:18 am    Post subject: Reply with quote

is there any means to do using the cobol??/
Back to top
View user's profile Send private message
waves
Beginner


Joined: 09 Nov 2006
Posts: 35
Topics: 12

PostPosted: Tue May 08, 2007 5:35 am    Post subject: Reply with quote

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


Joined: 20 Oct 2006
Posts: 1411
Topics: 26
Location: germany

PostPosted: Tue May 08, 2007 5:39 am    Post subject: Reply with quote

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


Joined: 09 Nov 2006
Posts: 35
Topics: 12

PostPosted: Wed May 09, 2007 12:30 am    Post subject: Reply with quote

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 Laughing Laughing
Back to top
View user's profile Send private message
Nic Clouston
Advanced


Joined: 01 Feb 2007
Posts: 1075
Topics: 7
Location: At Home

PostPosted: Wed May 09, 2007 2:46 am    Post subject: Reply with quote

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


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Wed May 09, 2007 4:57 am    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
acevedo
Beginner


Joined: 03 Dec 2002
Posts: 127
Topics: 0
Location: Europe

PostPosted: Wed May 09, 2007 5:54 am    Post subject: Reply with quote

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? Question
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group