What are INPUT PROCEDURE and OUTPUT PROCEDURE?

devquora
devquora

Posted On: Feb 22, 2018

 

  • INPUT PROCEDURE- It defines the operations where input files are first opened. After opening, records are read, edited and altered. It then goes for sorting operations and finally the files are closed.
    [plain]RELEASE recordname FROM inputrecord [/plain]

  • OUTPUT PROCEDURE- It defines the operations where output file is first opened and it receives the sorted record in output record. Then the file is written and finally closed.

    [plain] RELEASE recordname FROM inputrecord[/plain]

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Cobol interview questions

    What is COBOL?

    In 1959, the US Department of Defence formed CODASYL (Conference on Data Systems Language). CODASYL was formed with the..

    Cobol interview questions

    Write some characteristics of COBOL as means of business language.

    COBOL is a dominant programing language that has aided business users since few decades. Following are the features of..

    Cobol interview questions

    What are different data types in COBOL?

    COBOL supports three data types in it programming structure. They are- Alpha-numeric (X) Alphabetic (A,B,C) Numeric (1,..