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 quality process in development?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
Explain the like inverted list?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain the address converter?
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?
How converted the natural coding for adabas
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain the data storage?
Define cobol coding sheet?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
What is a hyperdescriptor? How does it work?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
What is data trace system 2.0 used for?
How can we see the copy book length using file-aid?