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 |
Is it possible to declare a GDA for an external subroutine?
What is the difference between External subroutine and subprogram?
Explain the data storage?
What is the difference between escape(top or bottom) and escape immediate(top or bottom?
syntax for all WRITE COMMAND in natural language
Explain difference between read work file 1 and read work file once? Why we are using work file once?
What is a hyperdescriptor? How does it work?
how to ftp the natural program to desktop? (from mainframe to pc), is it possible?
Explain difference between read(1) and read work file once?
Which is more efficient - the external subroutine or a copycode coded in to a NATURAL program? And Why?
Does Natural online require CICS or other TP systems to function? How does Natural interact with CICS? Thanks.
The natural file converted to PDF file if Yes then explain ?