How many parameters are there to a DISP statement and what
are their uses ?
Answers were Sorted based on User's Feedback
Answer / guest
There are three( parameters. Parameter 1: current data set
disposition(new, shr, old, mod) Parameter 2: normal close
action for data set (catlg, keep, delete) Parameter 3:abend
action for data set (catlg, keep, delete).
| Is This Answer Correct ? | 6 Yes | 2 No |
Answer / neha
Three parameters ont DISP(praa1,para2,para3)
Para1:Current status of Dataset
Para2:what to do with dataset in normal condition
Para3:What to do with dataset ib abnormal termination.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / soni
disp = ( parameter1,parameter2,paramaeter3).
parameter1 : new , mod ,old , shr
parameter 2: delete ,catlg ,uncatlg , keep ,pass
parameter 3 : delete ,catlg , uncatalog , keep
parameter1 indicates current status of the dataset
parameter 2 for normal terminition of job , how the file is
to be handled
parameter3 same as parameter2 upon abnormal terminitation
| Is This Answer Correct ? | 1 Yes | 1 No |
My requirement is : How to populate a empty PS/flat file with ONLY spaces in the first line. You should not use any input dataset to do this. I'm not sure whether you may use any utility for this purpose?
when GDG version number get changed ? bcz always Generations only increasing.
how many members can be created inside a single pds?
Explain about LMPUT-
what's the significance of freespace(0 0) and freespace(100 100)
What you mean by skeleton JCl?
Suppose I have a file with three fields with data in the following format 1. empid - S9(4) COMP 2. empname - X(20) 3. empsal - S9(5)V(2) COMP-3 If I view this file, it will not be in a readable format. How to display the empid and empsal fields in a readable format without using COBOL program? What kind of SORT card will have to be coded?
What is the purpose and meaning of the TIME keyword and what JCL statement is it associated with?
In JCL..for TIME Parameter was specified both JOB & STEP..which one is overrides
I have a cobol db2 program(PGM A) where other program (PGM B) will call this program and passes some 50 fields data to PGM A. PGM A has some layout in which it receives the data from PGM B. And this layout has been copied in the linkage section pf PGM A. After getting the data, PGM A writes the data in a flat file in the same layout which it receives from PGM B. PGM B is a simple COBOL pgm. Please provide a JCL to run these programs.
i need some shortcuts and tso commands can any on ehelp me in these ?
How many steps we can overide in the proc's?