Answer Posted / dimpy19
1.The LMOPEN service opens the data set associated with a given data ID so the data set can be either read from, using LMGET, or written to, using LMPUT.
2.The LMINIT service must be completed before LMOPEN can be used.
3.For each LMOPEN invocation, you should invoke a matching LMCLOSE service.
4.The data ID associated with the data set to be opened. The data ID has been generated by the LMINIT service. The maximum length of this parameter is 8 characters.
5.Whether the data set is to be opened for reading or writing. INPUT is the default.
6.INPUT specifies that the dialog invoking the service uses the LMMFIND and LMGET services to read from the data set.
The enqueue value for the LMINIT service can be SHR, EXCLU, or SHRW.
7.OUTPUT specifies that the dialog invoking the service uses LMPUT and either LMMADD or LMMREP to write to the data set, or
uses LMMDEL or LMMREN to change the data set. The enqueue value for the LMINIT service can be EXCLU, SHRW, or MOD
8.
>>-ISPEXEC--LMOPEN--DATAID(data-id)--+----------------------+--->
| .-INPUT--. |
'-OPTION(-+-OUTPUT-+-)-'
>--+------------------+--+------------------+------------------->
'-LRECL(lrecl-var)-' '-RECFM(recfm-var)-'
>--+--------------+--------------------------------------------><
'-ORG(org-var)-'
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is the use of IEBGENER utility?
in a jcl, a large volume dataset is loaded to a table using bmcload in step1 and an image copy of the loaded table is taken using bmccopy in step2. Step2 abends because the image copy dataset cannot hold the volume of the table. How can this be rectified?
What do you understand by the term notcat 2 – gs?
What happens if both JOBLIB & STEPLIB is specified ?
What is the use of disp parameter?
In job processing, what happens in execution stage?
What is the job entry system used in your project? based on what criteria the sequence of jobs are picked if priority is not mentioned in the job card?
In sms datasets, what is the function of the dd avgrec keyword?
how do you access an uncataloged dataset in a jcl?
What statement can be used to send data to another mvs jes3 node?
In job processing, what happens in conversion stage?
What is the significance of addrspc parameter in exec statement?
What is the function of the steplib dd statement?
I want my job (careerride) to be executed in 1 minute and 2 seconds. How do I do that?
How can a stopped job be started again?