difference between read(1) and read work file once ?
Answers were Sorted based on User's Feedback
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 |
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 |
What is the difference between read work file 1 and read work file once? Why we are using work file once?
Can we update with histogram?
Can we see the copy book length using file-aid?
difference between read(1) and read work file once ?
What is a hyperdescriptor? How does it work?
What is data trace system 2.0 used for?
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
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?
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?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
A field declared as P8 needs to be redefined as Alphanumeric. What would be its new size?
can i see the copy book length using file-aid ?