Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

Same file for input and output

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CA Products
View previous topic :: :: View next topic  
Author Message
roy_robi

New User


Joined: 25 Dec 2006
Posts: 4
Location: chicago

PostPosted: Sat Jan 27, 2007 12:37 am    Post subject: Same file for input and output
Reply with quote

Hi,
I am working on a Easytrieve program. Here I will read one input field and based on my logic I want to update the same file.

In everywhere I see I can take the input file for input only. Is there anyway I can update the input file also?

If not how can I do this ?

Thanks a lot,
Robi
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Sat Jan 27, 2007 1:12 am    Post subject: Re: Same file for input and output
Reply with quote

roy_robi wrote:
I am working on a Easytrieve program. Here I will read one input field and based on my logic I want to update the same file.

In everywhere I see I can take the input file for input only. Is there anyway I can update the input file also?

If not how can I do this ?
It doesn't look like it can be done against a SAM file. First off, why not just create a second file and rename after processing?
One way you might do what you want is for the first JOB to input the file to a virtual file and the second JOB read that virtual file and output it back to the original dsn - externally it will look like an update in place....
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 -> CA Products All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 5 Wed Jul 26, 2017 7:35 pm
No new posts Extra character appears in file when ... Balu5491 All Other Mainframe Topics 1 Wed Jul 26, 2017 2:39 pm
No new posts SSH - known_hosts file configuration vasanthz All Other Mainframe Topics 2 Wed Jul 26, 2017 2:10 am
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm
No new posts Write out NODUPS but just from one file Jay Villaverde DFSORT/ICETOOL 8 Fri Jul 14, 2017 12:44 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us