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
 

 

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 Fail to change physical VSAM filename... jacobdng CICS 6 Fri Jan 20, 2017 12:36 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Incorrect output when trying to add n... monica1 PL/I & Assembler 10 Fri Jan 13, 2017 5:02 pm
No new posts how to recover an uncataloged VSAM da... archanamuthukrishnan All Other Mainframe Topics 3 Wed Jan 11, 2017 6:18 pm
No new posts Underlying DB2 VSAM LDS - SMF recording vasanthz All Other Mainframe Topics 6 Thu Jan 05, 2017 4:20 am


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