Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
overwrite a record in output VSAM file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
szsharma

New User


Joined: 02 Apr 2009
Posts: 1
Location: Singapore

PostPosted: Fri Apr 03, 2009 7:17 am    Post subject: overwrite a record in output VSAM file
Reply with quote

Hi,

My requirement is to copy 2 records from input VSAM file to an outfile VSAM file(based on a selection criteria for example if first 2 bytes of the records contain 01). Please note that these records are already existing in the output VSAM file. So effectively I need to overwrite these records in the output VSAM file.

I have been able to achieve this thing in a number of steps using SORT and REPRO.

But, is it possible to achieve this in one step either by using SORT, IDCAMS etc?

Please help.
Back to top
View user's profile Send private message

dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Apr 03, 2009 7:35 am    Post subject:
Reply with quote

Hello and welcome to the forum,

It would be completely trivial if you were willing to write a bit of actual code. . .
Back to top
View user's profile Send private message
krisprems

Active Member


Joined: 27 Nov 2006
Posts: 649
Location: India

PostPosted: Fri Apr 03, 2009 10:52 am    Post subject:
Reply with quote

szsharma
check the similar topic, http://ibmmainframes.com/viewtopic.php?t=39367
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts VSAM RLS Wait time blayek JCL & VSAM 2 Mon Oct 02, 2017 9:05 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us