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 / sathish

STOP command used to end the program, TERMINATE used to end
the natural session.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

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

554


Define cobol coding sheet?

568


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?

1447


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

557


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?

578






Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?

598


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

534


Explain adabas basic concepts. Like inverted list, address converter ,data storage?

562


Explain the like inverted list?

541


Explain why do we use file-aid for seqential files?

584


Explain difference between escape(top or bottom) and escape immediate(top or bottom?

627


Explain the difference between external subroutine and subprogram?

616


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

488


Can we see the copy book length using file-aid?

500


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

499