Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

How to find occurrence of mu and pe fields in a file?

892


What is a hyperdescriptor? How does it work?

1118


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

965


How converted the natural coding for adabas

3279


The natural file converted to PDF file if Yes then explain ?

3150


Explain how to move cursor to a particular field when position is not known?

1002


Explain is it possible to code goto statement in natural? If yes please provide the syntax of the same?

978


What happens when you issue a escape routine in a program? Will there be any compilation /run time erro?

1007


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

972


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?

1933


Explain how to ftp the natural program to desktop? (From mainframe to pc), is it possible?

1065


Explain difference between read work file 1 and read work file once? Why we are using work file once?

965


Can you explain control variable in online screens?

983


How to receive data passed through jcl parm parameter in a natural program? How data definition is defined in the program?

1084


What is the difference between read(1) and read work file once?

1040