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
Explain how many work file we can code in jcl?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
What is cobol coding sheet?
Define cobol coding sheet?
Explain adabas basic concepts. Like inverted list, address converter ,data storage?
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?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
What is the quality process in development?
The natural file converted to PDF file if Yes then explain ?
Explain how to move cursor to a particular field when position is not known?
In a Natural program i used the below code for report FORMAT LS=132 PS=60 And down the line I want to change either LS/PS like FORMAT LS=120 PS=50, is it possible? How it will work?
Explain the data storage?
How can we see the copy book length using file-aid?
How converted the natural coding for adabas