What are all the ways we can create datasets?
Answers were Sorted based on User's Feedback
Answer / guest
Dataset can be created using the following ways :
1) Submitting a JCL
//ddname dd dsn=<dataset name to be created>,
// disp=(new,catlg,del)
........................
2) Using the option 3.2
3) Using FileAid 3.5
Is This Answer Correct ? | 15 Yes | 0 No |
Answer / guest
vsam DATASETS can be created using IDCAMS utility in JCL
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / sap
Create PDS dataset
1, Use utility IEFBR14 disp=(new,catlg,delete)
2, Use utility IDCAMS
Create VSAM dataset
1. Use utility IDCAMS.
The sample you can refer to the Utility book.
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / j.mathavan
1. By submitting JCL (IEFBR14 utility)
2. TSO command - 3.2
3. By using File-Aid
Is This Answer Correct ? | 0 Yes | 0 No |
What is the VSAM-code field?
explain in brief what are the 3 types of vsam files?
On which dataset you can have alt index?
By looking into JCL can we identify the dataset is VSAM (VSAM dataset supposed to be a input dataset).In this scenerio how will we identify the dataset is VSAM ?
5 Answers Cognizant, EDS, Shridhar,
how to see the last records in vsam dataset??
what is a base cluster in vsam?
explain in brief how are different versions of gdg named?
What are the advantages of vsam over isam?
how many buffers are allocated to vsam ksds and esds?
what parameter in the define aix option is used to determine the maximum number of duplicate keys allowable ?
Yes. Because the alternate key would first locate the primary key, which in turn locates the actual record. Needs twice the number of I/Os.
OPEN INPUT StudentFile READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ PERFORM UNTIL EndOfStudentFile DISPLAY StudentId SPACE StudentName SPACE CourseCode SPACE YOBirth READ StudentFile AT END SET EndOfStudentFile TO TRUE END-READ END-PERFORM CLOSE StudentFile STOP RUN what will be output