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
In sms datasets, what is the function of the dd mgmtclas keyword?
Brief description of inline procedure of jcl.
what disp parameter we mention for creation of temporary dataset so that we can use it in later steps?
I HAVE A VB BLOCK WHICH IS USED AS INPUT IN COBOL CONATINING SOME RECORDS CAN I CHANGE THE FILE FROM VB TO FB?
We can use PASS with permanent datasets also. THEN Which is the condition in which we may use PASS (instead of KEEP) with permanent data sets, while there is no need to specify UNIT and VOL for them like temporary data sets (in cas we use KEEP for permanent data sets) ?
How does jcl act on code(if you take a cobol program)?
Suppose I have a program in cobol name ”careerride” and want to execute the program by jcl. Specify the process?
how can you check if a file is empty using jcl?
Explain how can the disposition of sysout datasets be set for an entire jobstream?
what are the types of abends that occur on job failure? And explain the possible causes of these
How does jcl specify the job to the operating system?
How do you submit a job for execution?
What is the syntax of JCL statement?
what is SOC4 error?
What is the function of a dd statement?