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
I have a COBOL program that ACCEPTs some input data. How do you code the JCL statement for this?
What is the format of comment statement?
How does the jcl specify the job to os?
is there any way to execute more than one proc in the same exec statement at the same time..?
Explain about LMQUERY�give a dialog information about a data set
Is it possible to left uncode disp?
what is the compile process of cobol program expalin with code
Explain how can the submitting users racf authority be overridden in a job stream?
a dd statement has 2 types of parameters. Name them?
What is jcl in mainframe?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
can any one plzzzzzz tell the jcl code for creating ps using idcams
by using cond parameter maximum 8 cond can be coded in single cond means ?explain
In job processing, what happens in execution stage?
How to alter the parameters for the existing gdg?