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
What is notcat 2 - gs?
How to resolve the error "WER488A JOIN CAPACITY EXCEEDED" I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem? I am using SYNCSORT with JOINKEYS to compare 2 files. I am Getting error - > WER488A JOIN CAPACITY EXCEEDED There are 2 files to be compared with about 2 million records each. LRECL is 3665. Can somebody give a pointer as to how to resolve this problem?
which utility is used to sort a file in jcl?
What is the maximum length of a single line of jcl?
I want to join to input files and write the matching fields on to an output file but i dont want the output file a sorted one
what is use of dsn parameter in dd statement?
In job processing, what happens in execution stage?
Is it possible to left uncode disp?
Differentiate between addressing mode and run mode.
how you will the direct the data to spool using sysout option?
I need exexution process for JCL programs
Can anybody tell what is tool used to generate the list of PROCS used in JCL to generate a PROCTREE
Explain about LMFREE�free data set from its association with data ID
How to execute 2nd and 4th steps among 5 steps in jcl proc?
write a jcl to execute a job by 7:00 am on jan 20,1986?