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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 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 Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am


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