Answered Questions

  • Comp and Comp-3

    In real time in which situations we can use comp-3 and comp. What is the major difference between these two?

  • How do you delete specific record using COBOL

    i want delete one record from the file that is50 th record how can we delete ...?

    Hussain

    • Jan 25th, 2012

    In normal dasds the data cant be deleted where we like for that ksds vsam files are used there we have option of index and randomly picking of data we want.So by file handling we can delete the 50th r...

    Madhavi Chava

    • Jan 19th, 2012

    It is NOT possible to delete records of a seq file. If you do not want a specific record to be kept in a seq file any more, all you can do is to modify the contents of the record so that it contains s...

  • Explain the difference between an internal and an external sort, the pros and cons, internal sort syntax etc?

    An external sort is not COBOL; it is performed through JCL and PGM=SORT. It is understandable without any code reference. An internal sort can use two different syntaxes: 1.) USING, GIVING sorts are comparable to external sorts with no extra file processing; 2) INPUT PROCEDURE, OUTPUT PROCEDURE sorts allow for data manipulation before and/or after the sort.

    Kirk

    • Aug 8th, 2015

    Internal sort uses the compilers internal sort features. External sort calls 3rd party utility sort feature.
    External sort feature is usually used for LARGE volume of data.

    rahul

    • Dec 7th, 2014

    Internal sorting is used to arrange a certain order in RAM or else we can say primary memory while external sorting is to sort order of external memory for huge data