How do you access a file that had a disposition of KEEP?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / guest
Need to supply Volume Serial Number VOL=SER=xxxx.
| Is This Answer Correct ? | 8 Yes | 0 No |
Answer / amarnadh reddy
Hi,
If KEEP declared in normal disposition. Permanent data set
is to be kept on the volume serial number when job is
executed in successful execution.
If Keep declared in abnormal disposition. Permanent data
set is to be kept on the volume serial number when job is
executed in unsuccessful execution.
Regards,
Amarnadh Reddy.
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the use of ikjeft1b utility in jcl?
what is the purpose of coding class parameter in job statement?
I have multiple jobs ( JCLs with several JOB cards ) in a member. What happens if I submit it?
I have a JCL which 20 steps. How do I execute 17 th step alone (It should execute only 17ths tep.and it should not execute 18,19,20 steps??
9 Answers IBM, Infosys, TCS, Xansa, Xchanging,
How can a jobs execution priority be modified?
What are the parameter we cannot use in procedure? How many instream we can write in single jcl?
How do you override a parameter in Positional parameters?
I've one sequential file, that file size is LREC=100 (File contain Records like 1 to 100). Now I was increase the file size is LREC=102. My question is I want insert 00 (Two Zeros) in to the new file (That output file looks like : 00123 up to 100). How will write the SORT card in JCL. Please let me know.
If a job has 3 steps and step 1 and step 3 should get executed and step 2 should not get executed irrespective of the return code from the previous steps. How can it be done?
If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/
what operation is performed by job statement?
i have 10,000 records in one input file.i want to sort 1 to 5000 records in one outputfile and remaining records sort in another output file write the syntax for this?