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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Adding big TEXT lines to each record ... bshkris SYNCSORT 4 Sat May 06, 2017 1:40 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
This topic is locked: you cannot edit posts or make replies. Merge two files and update Trailer re... Yashashri JCL & VSAM 1 Thu May 04, 2017 12:54 pm


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