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 |
Describe the COBOL coding sheet
2 Answers Cap Gemini, Royal Infotech,
What is the quality process in development?
How do you pass GDA into a sub program with out PDA?
Explain difference between read(1) and read work file once?
How are you going to remove duplicates from the file that is being read?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Types Of Read , FIND
How to receive data passed through jcl parm parameter in a natural program?
what is the difference between read and find ?
Can we update with histogram?
why do we use file-aid for seqential files?
Explain why do we use file-aid for seqential files?