difference between read(1) and read work file once ?
Answer Posted / 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 |
Post New Answer View All Answers
Explain how to find occurrence of mu and pe fields in a file?
Explain how to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
How are you going to remove duplicates from the file that is being read?
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?
What is a hyperdescriptor? How does it work?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
What is the quality process in development?
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?
How to receive data passed through jcl parm parameter in a natural program?
What is a hyperdescriptor?
Explain how many work file we can code in jcl?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
Tell me what type of files we can process thru file-aid?