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 |
how to execute the last 5 steps in jcl
How jcl is used for testing batch programs?
What is catelog procedure and how many catelog procedure to use in one job?
In how ways you can pass the data from Jcl to cobol ?
I am having one step in my jcl.in that step,i am calling one proc.In that proc,i have 10 steps.i want to call a particular step in that proc without writing any new jcl ike iebedit utility...
Name a few IBM utility programs, and explain its function.
when can a job time-out occur? How to overcome that?
I have 20 steps in a job... step01, 02....step17...step20. For some reason I want to execute step17 only if the return code for all the previous steps are less than or equal to 4. otherwise if return code for any of the previous 16 steps is greater than 4, then step17 should be bypassed. How do I do that ?? how and in which step should i formulate COND parameter
A statement about PROCs is " In PROCs, Symbolic Parameters can be assigned on PROC and EXEC", BUT On which EXEC, (i) On the JCL's EXEC which is calling to PROC1. (Inside JCL, EXEC PROC1) (ii) or On the PROC's EXEC where it calls the PGM1. (Inside PROC, EXEC PGM=PGM1)
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
what happens in execution stage in job processing?
What is a GDG