Answer Posted / muttaiah
Hi,
One difference is how we process the records.
In flat file we can process records only sequentially where
as in Vsam we can process sequentially(ESDS), random(KSDS)
or dynamic(RRDS).
That's why most of them prefer vsam. since we can access in
all modes.
| Is This Answer Correct ? | 25 Yes | 1 No |
Post New Answer View All Answers
1) SORT FIELDS=(20,4,CH,D,10,3,CH,D) OUTREC FIELDS=(7:20,4,C' FUTURE ',20,2,10,3,1Z,1,9,13,7, 24,57,TRAN=LTOU,6X'FF') This example illustrates how a fixed-length input data set can be sorted and reformatted for output. The SORTIN LRECL is 80 bytes. The reformatted output records are fixed length with a record size of 103 bytes. SOLRF (the IBM-supplied default) is in effect, so unless the SORTOUT LRECL is specified or available, it will automatically be set to the reformatted record length of 103. in the above example i have some doubts that a) sort fields=(20,4,CH,D,10,3,CH,D) -what exactly it does and this fields related to output record fields or input record fields b)outrec used to refprmat the records after sorting that means could please reply me as soon as possible Thanks. Venkat
When space is allocated for an output dataset, what units can be used?
What is the function of dd disp parameter?
What are s0c1, s0c4, s0c5, s0c7 and socb?
What are the parameters that are used in creating a gdg?
I have a job called careerride and some steps in it as step1,step2. But I want to execute step2 before step1 ? How do I do that?
what is DD statement is used in JCL?
how to compare two datasets without using superce because output is limited to 133 bytes
What is the function of job statement in jcl?
What do you understand by the term notcat 2 – gs?
How to find the UNIT and VOLUME of a (a) KEPT (b) UNCATALOGED and (c) CATALOGED dataset - using (i) JCL and using (ii) ISPF ?
Explain the function of dd name parameter with a 2 part structure; audit.report?
Explain how can values be passed from the job stream to an executable program?
Can we call instream to catalog and catalog to instream?
How does jcl act on a cobol code?