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 are the parameters that are used in creating a gdg?
what is DSN parameter and DISP parameter is used for?
How to remove the spaces at end of each record in the output file Via COBOL program? note: The file has a VB length ----TRY
What is the significance of addrspc parameter in the exec statement?
What is job control language?
how do you access an uncataloged dataset in a jcl?
which utility is used to run a cobol-db2 program?
Explain the function of //jcllib statement?
What is timing concept in mainframe?
List the different components of jcl statement?
What methodology can be adapted to transfer data to a program that is coded using the exec statement?
What statement marks the beginning of an in-stream or cataloged procedure in jcl and assigns default values to parameters defined in the procedure?
IIN APITUDE THEY GAVE ONLY 10 QUESTIONS.. THEY ARE SIMPLE ONE FROM NUMBER SERIES,BOATS,TIME & DISTANCE,PROFIT &LOSS,FIND OUT THE NUMBER ? 9 25 4 36 81 64 49 AND surveillance SPELLINGS E.T.C
What are the rules employed while naming the steps in a job?
Name what parameter directs the output of the job log dataset?