differnce between read work file 1 and read work file once?
why we are using work file once?
Answer Posted / niki
Both used to read sequentila file.
Read work file 1:
1. is a processing loop strating like:
Read work file 1 file1
---
--
--
end- work.
Here ---> file 1 is file name here and 1 is arbitary file
number which is translated into dataset names CMwk01 in jcl.
read work file once:
1. Reads only one reacord is to be read.
2. there is no processing loop
eg. Read work file once
do correct me if i am wrong?
| Is This Answer Correct ? | 8 Yes | 0 No |
Post New Answer View All Answers
What is the quality process in development?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
Explain how to move cursor to a particular field when position is not known?
What is data trace system 2.0 used for?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
How to find occurrence of mu and pe fields in a file?
What is cobol coding sheet?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
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 escape(top or bottom) and escape immediate(top or bottom?
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?
Tell me can we update with histogram?
Explain what happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
How can we see the copy book length using file-aid?
How to receive data passed through jcl parm parameter in a natural program?