You are processing an input file in a Natural program and you
want the program to fail if the file is empty. What command you
use in Natural to force it to fail ?
Answer Posted / manish
Hi Shreyas...You asked for the syntax of Terminate command.
Read work file #WK-Number once #WK-Record
At End of File
Terminate 40
End-Endfile
| Is This Answer Correct ? | 10 Yes | 1 No |
Post New Answer View All Answers
What is the difference between read(1) and read work file once?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain difference between read(1) and read work file once?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Explain the like inverted list?
Explain how are you going to remove duplicates from the file that is being read?
Explain how to move cursor to a particular field when position is not known?
Explain how many work file we can code in jcl?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
Suppose you are processing an input file in a natural program and you want the program to fail if the file is empty. What command you use in natural to force it to fail?
Define cobol coding sheet?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
How are you going to remove duplicates from the file that is being read?
How to find occurrence of mu and pe fields in a file?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?