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 (849)
 JCL interview questions  JCL Interview Questions (700)
 CICS interview questions  CICS Interview Questions (448)
 DB2 interview questions  DB2 Interview Questions (668)
 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 :: JCL
I also faced this Question!!     Answer Posted By  
 
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
 
Answer
# 2
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 ?    13 Yes 0 No
Shailendra 2008
 
 
 
Answer
# 3
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
 
Answer
# 4
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 6 No
Anurag
 
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 ?    1 Yes 0 No
Sunil
 

 
 
 
Other JCL Interview Questions
 
  Question Asked @ Answers
 
i have a jcl calling proc which has 10 steps, i want to execute from step5 to step10, where can i code RESTART and COND parameter? IBM 4
There are 2PROCS in a JCL. I want following conditions to be carried out 1) 1st PROC should be executed as such In second PROC 2) First 4steps should not be executed 3) 5th step should not be executed 4) 6th and 7th step should be executed The change should be done only in the JCL and PROC should be untouched ? ADP 2
can we write a proc with in a proc IBM 3
how to identify the file used in the JCL is an VSAM file. Just seeing the JCL code how can we track the file as VSAM file? CSC 5
i have 10 steps in my jcl. -->if i want to execute my program from 5th step what i have to do? don't give //* in ur previous steps --> if i want to execute my program from 1to 5 steps only what i have to do?   2
Can we write same stepname for one or more steps in on job ?   2
what is the resolution for sb37 error TCS 2
What is order of searching of the libraries in a JCL?   4
What are the parameter in the job card wihtout which job won't run........ IBM 10
how to allocate a dynamic dataset in jcl ? Patni 3
hi,i have joined in mainframe course recently. ihave a doubt ragarding restart parameter.what is d use of it. and what is d syntax for it. any one give me d answer pls.   2
once we submitted the job to the operating system, how can we cancel the job before execution?   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