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


Please Help Members By Posting Answers For Below Questions

Explain adabas basic concepts. Like inverted list, address converter ,data storage?

766


Explain why do we use file-aid for seqential files?

780


How to receive data passed through jcl parm parameter in a natural program?

759


Can we see the copy book length using file-aid?

683


How to create 1 ddm that fetches 3 adabas files simultaneously?

715


Define cobol coding sheet?

734


Explain the difference between external subroutine and subprogram?

864


Tell me can we update with histogram?

797


Explain how many work file we can code in jcl?

752


Tell me what type of files we can process thru file-aid?

728


Explain the like inverted list?

727


Explain control variable in online screens?

780


How converted the natural coding for adabas

2920


Can you explain control variable in online screens?

747


What is the difference between read work file 1 and read work file once? Why we are using work file once?

740