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

Answers were Sorted based on User's Feedback



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

Answer / niki

Read(1) file1 in physical sequence:
1. Used to raed adabas file.
2. here (1 ) represents the number of record to be read
its a processing loop eg

Read(1) file1 in physical sequence
--
---
---
end-read

read work file :
1. Used to read flate file.
2. Once option is used to read only one record
3. its not a processing loop

Is This Answer Correct ?    5 Yes 3 No

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

Answer / akansha

First answer is absolutely correct.

Is This Answer Correct ?    0 Yes 1 No

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

Answer / dd

Basically no difference.

Both of the statements are used for reading a single record
from the work file.So both will give only one record.

Is This Answer Correct ?    0 Yes 13 No

Post New Answer

More Natural Interview Questions

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

1 Answers  


What is the difference between escape(top or bottom) and escape immediate(top or bottom?

1 Answers  


Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?

2 Answers   Hexaware,


Explain how are you going to remove duplicates from the file that is being read?

1 Answers  


What is the difference between read(1) and read work file once?

1 Answers  


What is STACK in Natural? How we can use it in Program? Give me Eg.?

2 Answers   IBM,


What is a hyperdescriptor?

1 Answers  


Can you explain control variable in online screens?

1 Answers  


Would like to know if have an expecific command that returns a code or something about the execution of a CALLNAT. For example ... CALLNAT 'SUBPRG' [parameter] [parameter] ... [here comes a code or command that checks if the CALLNAT was successful]

1 Answers  


Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?

1 Answers  


What is cobol coding sheet?

1 Answers  


how to ftp the natural program to desktop? (from mainframe to pc), is it possible?

2 Answers  


Categories