Explain about LMGET�read a logical record from a data set
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 |
which utility is used to run a cobol-db2 program?
How do you access an uncatalogued dataset in a jcl?
What is the purpose of the dd keylen parameter?
We are using 2 files , file one has data, file two is empty.Using jcl how can we find the other file is empty?
I have 2 steps in my exec statement , in first step I am creating a gdg, and the output of this step is going into second step as a input, and this second step is abended , now how could i approach in this case.
What is a procedure?
how do you code a null statement?
If we have 100 job steps in JCL and we want to excute steps only starting from 43 to 50, then how it can be coded in JCL/
What is S322 abend ?
Which is the most widely used batch performance monitor for DB2?
What is COND=EVEN ?
Explain about LMOPEN -