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
How to find occurrence of mu and pe fields in a file?
What is a hyperdescriptor? How does it work?
What is the difference between read work file 1 and read work file once? Why we are using work file once?
How converted the natural coding for adabas
The natural file converted to PDF file if Yes then explain ?
Explain how to move cursor to a particular field when position is not known?
Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?
What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?
How to receive data passed through jcl parm parameter in a natural program?
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?
Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?
Explain difference between read work file 1 and read work file once? Why we are using work file once?
Can you explain control variable in online screens?
How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?
What is the difference between read(1) and read work file once?