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


Please Help Members By Posting Answers For Below Questions

What is the quality process in development?

569


Explain how many work file we can code in jcl?

568


What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

547


Explain difference between read work file 1 and read work file once? Why we are using work file once?

556


What is data trace system 2.0 used for?

5149






Explain difference between read(1) and read work file once?

555


How to create 1 ddm that fetches 3 adabas files simultaneously?

535


Explain control variable in online screens?

554


What is the difference between read work file 1 and read work file once? Why we are using work file once?

528


How to find occurrence of mu and pe fields in a file?

485


Tell me can we update with histogram?

607


Tell me what type of files we can process thru file-aid?

532


Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

564


Define cobol coding sheet?

565


How can we see the copy book length using file-aid?

545