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 splitting a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm
No new posts Problem reading GTF trace output danik56 ABENDS & Debugging 7 Thu Mar 16, 2017 1:02 pm


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