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...

Explain about LMGET�read a logical record from a data set

Answer Posted / dimpy19

1.The LMGET service reads one logical record from the data set associated with the given data ID.
2.Completion of the LMINIT and LMOPEN services for the data set is required before LMGET is invoked.
3.If the data to be processed is a sequential data set, the first LMGET reads the first logical record. Later invocations read successive logical records
4.If the data is an ISPF library or MVS� partitioned data set, previous completion of the LMMFIND service is required in addition to completion of LMINIT and LMOPEN.
The LMGET service reads from the last member referred to by the LMMFIND service in the data sets being processed. Thus, if LMMFIND is issued referencing member A,
LMGET reads from member A. If another LMMFIND is issued referencing member B, LMGET reads from member B, not member A.

>>-ISPEXEC--LMGET--DATAID(data-id)--MODE(-+-MOVE---+-)---------->
+-LOCATE-+
+-INVAR--+
'-MULTX--'

>--DATALOC(dataloc-var)--DATALEN(datalen-var)------------------->

>--MAXLEN(max-length)------------------------------------------><

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How jcl is used for testing batch programs?

1241


why should SYSIN DD * statement should not be included inside a PROCedure snippet??? please answer this.. i need to know.

2414


How does jcl act on a cobol code?

1136


What is the maximum length of a single line of jcl?

1306


For what purpose steplib and joblib are used ?

1095


Name a few IBM utility programs, and explain its function.

4921


if we want to use a gdg which is already created by some job, then how to use the reference of the last generation in a jcl?

2243


Explain the purpose of dd * statement in jcl?

1029


Does jcl support automatic restart?

1196


What is the purpose of dd * statement in jcl?

1243


How can return codes be tested before execution of a job step?

1450


Is condition checking possible in jcl? If yes, how?

1238


what is the use of JCL?

1124


What are the difference between jcl and jes?

1561


Explain how can the attributes of one sms dataset be copied to another dataset?

1174