SAP-File Transfer Techniques-Interview Questions With Answers - 2.
6. What Are The Various Opening Modes In OPEN DATASET Statement/Syntax? The various opening modes in OPEN DATASET Statement are: Use the ‘FOR’ options to specify the access mode. FOR INPUT (Default) – Opens an existing file for reading. FOR OUTPUT – Opens a file for writing. If the file does not exist, it is created. If the file already exists, its contents are deleted. FOR APPENDING – Opens a file for writing. If the file does not exist, it is created. If the file already exists, the system goes to the end of the file to add to it. Use the ‘IN’ options to specify the structure of the file. IN BINARY MODE (Default) – Indicates that the file is not structured in lines (i.e., it is set up byte-by-byte). IN TEXT MODE – Indicates that the file is structured in lines. AT POSITION - To open a file at specific position. 7. What Is The Difference Between Opening A Sequential File In Text Mode & Binary Mode In Application Server? To determ...