can internal sort be applied to sort ksds files?



can internal sort be applied to sort ksds files?..

Answer / suersh ramaiyan

There are four types of VSAM files.. They are
ESDS (Entry sequential Data Set)
KSDS (Key sequential Data Set)
RRDS (Relative Record Data Set)
LDS (Linear Data Set)

The KSDS vsam file will be in the sorting order of the key fields, while insert the record. So there is no need of sorting a KSDS file.

Please let me know if I'm wrong.

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More COBOL Interview Questions

What is the difference between CONTINUE & NEXT SENTENCE ?

2 Answers  


I have program P1 which calls file F1 which has 100 records and following structure 001 .................. 002 .................. 003 .................. 098 .................... 099 ................... 100 .................... Now I want to read these files and write these records in file F2 in following manner. 001 ...... 051 ..... 002 ...... 052 ..... 003 ...... 053 ..... .......... ....... .......... ....... .......... ....... 048 ........ 098 ...... 049 .......... 099 ....... 050 .... 100 ......

4 Answers   Accenture,


diffrence between renames and redifnes with examples

3 Answers   IBM,


Why did you choose to work with ibm mainframe cobol programming?

0 Answers  


How can you pass values from COBOL program to non-COBOL programs?

2 Answers  






how will you define vsam file in select clause?

3 Answers   Patni,


How you can read the file from bottom?

0 Answers  


If we use GO BACK instead of STOP RUN in cobol?

2 Answers   Temenos,


IF I mention stop run in CICS what happens?

0 Answers   IBM,


how the control comes back from subprogram to mainprogram

3 Answers   IBM,


Can you please let me know the centre name of INS certification in Kolkata.

0 Answers  


how to pass 100 to s9(4) how r they inserted ?

3 Answers   TCS,


Categories