ALLInterview.com :: Home Page            
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
Google
   
 
Categories >> Software >> MainFrame >> IBM MainFrame >> JCL
 
 


 

 
 COBOL interview questions  COBOL Interview Questions (847)
 JCL interview questions  JCL Interview Questions (700)
 CICS interview questions  CICS Interview Questions (447)
 DB2 interview questions  DB2 Interview Questions (667)
 IMS interview questions  IMS Interview Questions (79)
 IDMS interview questions  IDMS Interview Questions (6)
 Natural interview questions  Natural Interview Questions (39)
 ADABAS interview questions  ADABAS Interview Questions (7)
 REXX interview questions  REXX Interview Questions (21)
 Assembler interview questions  Assembler Interview Questions (29)
 CLIST interview questions  CLIST Interview Questions (1)
 QMF interview questions  QMF Interview Questions (4)
 MVS interview questions  MVS Interview Questions (11)
 OS390 interview questions  OS390 Interview Questions (9)
 OS 2 interview questions  OS 2 Interview Questions (0)
 VSAM interview questions  VSAM Interview Questions (177)
 QSAM interview questions  QSAM Interview Questions (3)
 Sysplex interview questions  Sysplex Interview Questions (5)
 IBM MainFrame AllOther interview questions  IBM MainFrame AllOther Interview Questions (128)
Question
What is the difference between specifying DISP=OLD and
DISP=SHR for a dataset?
 Question Submitted By :: Guest
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
Answer
# 1
OLD specifies exclusive use of a dataset, SHR allows
multiple jobs to concurrently access the dataset Note: When
updating a dataset, you would normally use OLD.
 
Is This Answer Correct ?    25 Yes 2 No
Guest
 
  Re: What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
Answer
# 2
Generally DISP = OLD is used when a Dataset is generated in
a step of job and then subsequently used in the next up
coming steps of the same job ,
DISP=SHR signifies that the dataset is can be shared by the
multiple jobs.
 
Is This Answer Correct ?    7 Yes 5 No
Anurag
 
 
 
  Re: What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
Answer
# 3
disp=old means at the time of execution another job can't
use that file.after completion of job another job can use.

disp=shr at the timeof exection many user can use in read
mode.
 
Is This Answer Correct ?    12 Yes 0 No
Shailendra 2008
 
  Re: What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
Answer
# 4
Read from beginning of dataset. But if u write, then it
will overwrite on existing data. i.e old data is lost.
 
Is This Answer Correct ?    5 Yes 2 No
Ganga
 
  Re: What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?
Answer
# 5
disp= old ...it will give exclusive use of dataset.
disp= shr....multiple job can use the dataset concurrently..
but in both case, while writing , it will overwrite to old
dataset..i.e, old data will be lost.
 
Is This Answer Correct ?    0 Yes 0 No
Sunil
 

 
 
 
Other JCL Interview Questions
 
  Question Asked @ Answers
 
Are all (i), (ii), (iii), (iv) of the below are VALID to reference a temporary dataset ? STEP2 DD1 DD DSN = &&TEMP STEP3 DD2 DD (i) DSN = TEMP (ii) DSN = *.TEMP (iii) DSN = *.STEP1.DD1 (iv) DSN = *.STEP1.DD1.ONE IBM 8
1.How to check for the errors using TYPRUN=SCAN?What will be the output if we give TYPRUN=SCAN?   11
How do you restart a step in JCL? HSBC 12
Suppose i have 2 steps in my pgm. Step1- creates a file, Step2 - generates report from file in step1, What changes have to be made in Step2, so that if the file in Step1 is empty Step2 should not be executed? No changes to be made to Step1. TCS 4
How are GDGs concatenated?   1
Name the system library from which modules are retrieved at execution   2
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?   1
What are the parameter in the job card wihtout which job won't run........ IBM 10
What is the purpose of include statement in a JCL?   2
Suppose a proc step has a DD statement like //ABC DD DSN=TEST.FILE1,DISP=SHR DSN=TEST.FILE2,DISP=SHR and the above DD name is overridden from the JCL as given below //procstepname.ABC DD DSN=TEST.FILE3 - Will the DD statement now have just TEST.FILE3 or it will be TEST.FILE3 and TEST.FILE2? Suppose if it is overridden twice like //procstepname.ABC DD DSN=TEST.FILE3 //procstepname.ABC DD DSN=TEST.FILE4 Will this give a JCL error? If not, what will be final output?   2
How do you designate a comment in JCL?   1
What u mean by include statement in JCL ?   2
 
For more JCL Interview Questions Click Here 
 
 
 
 
 


   
Copyright Policy  |  Terms of Service  |  Articles  |  Site Map  |  RSS Site Map  |  Contact Us
   
Copyright 2013  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  KalAajKal.com