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
 

 

Records in output file gets appended/overwritten if DISP=SHR

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

New User


Joined: 22 Feb 2005
Posts: 11
Location: chennai

PostPosted: Mon Aug 01, 2005 9:06 pm    Post subject: Records in output file gets appended/overwritten if DISP=SHR
Reply with quote

Hi forum,

IF we copy a file into another file having DISP=SHR.whether the records in output file gets appended/overwritten/it throughs error?
Back to top
View user's profile Send private message

thanooz

New User


Joined: 28 Jun 2005
Posts: 99

PostPosted: Mon Aug 01, 2005 9:48 pm    Post subject:
Reply with quote

hi

its appended record
Back to top
View user's profile Send private message
shobam

New User


Joined: 18 Jul 2005
Posts: 34
Location: CN

PostPosted: Tue Aug 02, 2005 3:05 pm    Post subject:
Reply with quote

If you copy an file from one to another with DISP=SHR , the output file will be having the all the records of Input file where the previous contents of the output file will be overridden.

Please correct me , If I am wrong.
Back to top
View user's profile Send private message
Pk

New User


Joined: 23 Jul 2005
Posts: 1

PostPosted: Tue Aug 02, 2005 3:34 pm    Post subject: Re: dispositin
Reply with quote

Hi,

If a file is copied to another file and the destination file is

DISP=SHR , then the destination file would be overwritten
DISP=OLD , then the destination file would be overwritten
DISP=MOD , then the destination file would be appended.

Hope this helps...
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 Incorrect output when trying to add n... monica1 PL/I & Assembler 9 Fri Jan 13, 2017 5:02 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts Removing Duplicates based on certain ... chandracdac DFSORT/ICETOOL 8 Fri Dec 09, 2016 4:40 am
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts File Aid to File Manager conversion murali3955 IBM Tools 4 Thu Nov 24, 2016 3:41 pm


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