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

If the number of parameter is more than the expected then NAT0919 error is displayed. How many parameter are allowed in a CALL and CALLNAT statement?

3 Answers   JPMorgan Chase,


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

2 Answers   IBM,


Explain how to move cursor to a particular field when position is not known?

0 Answers  


what type of files we use in file-aid

1 Answers   Tech Mahindra,


How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

0 Answers  






What is the difference between External subroutine and subprogram?

3 Answers  


COuld you please let me know along with a sample on how are you going to remove duplicates from the file that is being read. Thanks Sam

2 Answers   TCS,


Explain the like inverted list?

0 Answers  


Explain the address converter?

0 Answers  


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

0 Answers  


What exactly is a hyperdescriptor? How does it work?

3 Answers  


what r the quality process in development

1 Answers  


Categories