WHAT WILL HAPPEN TO A FILE IF DISP=(MOD,DELETE,DELETE)

Answer Posted / geetanjali

DISP=(MOD,DELETE,DELETE)

The current status of the dataset is MOD i.e. Append data to the file if it already exists and create new if it dosen't.

On normal disposition i.e. successful execution of job the dataset is deleted.

On Abnormal disposition i.e. in case of job abend, the dataset is deleted.

Is This Answer Correct ?    12 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

a set statement is used to define commonly used symbolic across job steps or procedures. It initializes the previous values in the symbolic names. It has to be defined before the first use of the symbolic names in the jcl. State whether true or false?

832


which utility is used a dummy utility?

1100


How jcl is used for testing batch programs?

971


We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?

1994


I have many files which i am receiving from client everyday. I have one step for every file to check for empty or not. Here client gives 30 files i need to check for every file for empty or not and i need to perform 30 steps. Can I do it in single step. Dynamically i need to change the File name in my step.

967


What is the function of job statement in jcl?

845


How to submit jcl through a cobol program?

902


What do you understand by the term “keyword” with respect to jcl and what is the opposite of the term?

887


what JCL Procedures?

974


What is the function of the dd dcb keyword?

1058


what is “Cond= even” and “Cond=only”?

986


How to run cobol program using jcl?

913


what happens in conversion stage in job processing?

953


Explain about ISPF/TSO Commands

1596


can any one plzzzzzz tell the jcl code for creating ps using idcams

11120