Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is the difference between specifying DISP=OLD and
DISP=SHR for a dataset?

Answers were Sorted based on User's Feedback



What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?..

Answer / guest

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 ?    29 Yes 3 No

What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?..

Answer / shailendra 2008

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 ?    19 Yes 1 No

What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?..

Answer / ganga

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 ?    9 Yes 2 No

What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?..

Answer / sunil

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 ?    5 Yes 1 No

What is the difference between specifying DISP=OLD and DISP=SHR for a dataset?..

Answer / anurag

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 ?    8 Yes 6 No

Post New Answer

More JCL Interview Questions

Hi, Say I have 10 flat files and I want to copy all these 10 flat files to a GDG versions flat files (I have GDG base: FDWS01.TEST.RESTORE) in one shot. Can we do that in one shot using a JCL. May be by using IEBGENER. It's a bit urgent. So anyone's fast rely would be appreciated.. Thanks in advance.. 10 flat files ----------------------------------- FDWS01.SUB.RESTORE1 FDWS01.SUB.RESTORE2 FDWS01.SUB.RESTORE3 ; ; FDWS01.SUB.RESTORE10 TO GDG versions ----------------------- FDWS01.TEST.RESTORE.G0001V00 FDWS01.TEST.RESTORE.G0002V00 FDWS01.TEST.RESTORE.G0003V00 ; ; FDWS01.TEST.RESTORE.G0010V00

2 Answers  


How to identify where file is empty or not? How many ways are there to identifying?

3 Answers   CTS,


what is the job entry system used in your project?

3 Answers  


Can we give TIME = (1440, 59) also ? or is TIME = (1439, 59) is the last one ?

5 Answers   IBM,


How many types of parameters are used in JCL and what are mandatory parameters of JOB statement.

13 Answers   IBM,


hi in one of the interview one asked me how to submit a job from cobol?as well as how to submit a jcl from CICS? can u pls any one tell me..

1 Answers   CTS,


i have 10steps and i want run step3 and based on step3 i want execute step7,8,9,10?in jcl

1 Answers  


How to print the Output to SPOOL using MSGCLASS and SYSOUT ?

4 Answers   IBM,


GDG Create syntax ?

4 Answers   Xansa,


How does jcl specify the job to the operating system?

0 Answers  


Are there any set of rules for the names of the steps used in a job? What are they?

0 Answers  


do we need to mention the location of catalogued procedure for each it's call in a single job?

1 Answers  


Categories