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

Same file for input and output


IBM Mainframe Forums -> CA Products
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Sat Jan 27, 2007 1:12 am
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CA Products

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 2
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
Search our Forums:

Back to Top