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 to move cursor to a particular field when position is not known?

3 Answers  


Explain how many work file we can code in jcl?

0 Answers  


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

0 Answers  


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

0 Answers  


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

0 Answers  


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

0 Answers  


what type of files we use in file-aid

1 Answers   Tech Mahindra,


What exactly is a hyperdescriptor? How does it work?

3 Answers  


can i see the copy book length using file-aid ?

2 Answers   TCS,


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

0 Answers  


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?

0 Answers  


what type of files we can process thru file-aid

1 Answers   Tech Mahindra,


Categories