How do you access a file that had a disposition of KEEP?

Answer Posted / shivanadri naveen kumar

when ever we create a dataset by using the disposational
parameter is as a KEEP then the data set is not in the
catalog list. But it is kept in the DASD volumes.So, for the
retrieving that data set. if we are not supliying vol serial
number the OS search the data set in catalog list and raise
the error dataset not available....for avaiding this problem
we need to suply the vol serial number to jcl...


Ex

VOL=SER=xxxx------->here xxxx is the vol serial number...

Is This Answer Correct ?    11 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is it possible to code instream data in a PROC?

748


How to compare two files in SYNCSORT and on the mismatch record should be deleted from second file.

5058


What are the parameters that are used in creating a gdg?

737


how to do automated restart when a job abends?

843


Explain dfsort utility?

665






when does a dataset go uncataloged?

828


what is a jcl?

685


What are some jcl statements that are not allowed in procedures?

724


Suppose there are 2 Input files Infile-1 and Infile-2. Both the Files contain Employee Records. You need to compare both the files and Write the Common Records in third file named Outfile. How can we do this using File-Aid?

2218


What is the maximum length of a single line of jcl?

825


IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C

1625


What is the function of the dd dcb keyword?

821


Where can program checkpoints be stored for use in a restart?

843


what is the use of JCL?

660


What do you understand by the terms: joblib and steplib?

626