CoolInterview.com - World's Largest Collection of Interview Questions
Send Free SMS
 Interview Questions  
 Our Services  


INTERVIEW QUESTIONS MAINFRAME JCL DETAILS
Question :
What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?


Category JCL Interview Questions
Rating (5.0) By 10 users
Added on 7/22/2006
Views 1053
Rate it!
Answers:

DISP=OLD --> Exclusive HOLD. Read from beginning of dataset. But if u write, then it will overwrite on existing data. i.e old data is lost.

DISP=MOD --> Exclusive HOLD. You can write to the end of the file without loosing your old data (i.e append the data to the existing file).

DISP=SHR --> multiple user can share the data. Its read-only file.

With Regards to COBOL:

DISP=SHR and OPEN EXTEND in-file => will append the file at the end. Used mainly for line-sequntial file (i.e notepad with extension .TXT or .DAT)

DISP=MOD and OPEN I-O => will also append the file at the end. (not used for line sequantial file)





If you have the better answer, then send it to us. We will display your answer after the approval.
Name :*
Email Id :*
Answer :*
Verification Code Code Image - Please contact webmaster if you have problems seeing this image code Not readable? Load New Code
Process Verification  Enter the above shown code:*
Inform me about updated answers to this question

   
Related Questions
View Answer
Explain concatenating datasets.

View Answer
What is RESTART? How is it invoked?

View Answer
What is a PROC? What is the difference between an instream and a catalogued PROC?

View Answer
Describe the DD statement, its meaning, syntax and keywords
View Answer
Describe the EXEC statement, its meaning, syntax and keywords.

View Answer
What is the meaning of keyword in JCL? What is its opposite?

View Answer
What are the kinds of job control statements?

View Answer
What is a GDG? How is it referenced? How is it defined? What is a MODELDSCB? GDG stands for generation data group. It is a dataset with versions that can be referenced absolutely or relatively. It is defined by an IDCAMS define generation datagroup execution.

View Answer
Describe the JOB statement, its meaning, syntax and significant keywords.

View Answer
How will you call the return code of JCL ?

View Answer

Please Note: We keep on updating better answers to this site. Subscribe to our newsletter to get notified when better answer is posted.

Notify me when better answer is posted!
Email:

View ALL JCL Interview Questions

User Options
Sponsored Links


Copyright ©2003-2010 CoolInterview.com, All Rights Reserved.
Privacy Policy | Terms and Conditions
Page URL: http://www.coolinterview.com/interview/7113/default.asp?cachecommand=bypass


Download Yahoo Messenger | Placement Papers| FREE SMS | ASP .Net Tutorial | Web Hosting | Free SMS | Dedicated Servers | Joke of the Day

1.03