z/OS ISPF Reference Summary
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


LMOPEN—open a data set

z/OS ISPF Reference Summary
SC19-3624-00

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--LMOPEN--DATAID(data-id)--+----------------------+--->
                                     |         .-INPUT--.   |   
                                     '-OPTION(-+--------+-)-'   
                                               '-OUTPUT-'       

>--+------------------+--+------------------+------------------->
   '-LRECL(lrecl-var)-'  '-RECFM(recfm-var)-'   

>--+--------------+--------------------------------------------><
   '-ORG(org-var)-'   

Call invocation format

Read syntax diagramSkip visual syntax diagram
                                         .-'INPUTbbb'-.   
>>-CALL--ISPLINK--('LMOPENbb',data-id--,-+------------+--------->
                                         '-'OUTPUTbb'-'   

>--,-+-----------+--,-+-----------+--,-+---------+-);----------><
     '-lrecl-var-'    '-recfm-var-'    '-org-var-'      

OR

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPEXEC--(buf-len,--buffer);--------------------------><

Return codes

 0
Normal completion.
 8
Data set could not be opened.
10
No data set is associated with the given data ID; that is, LMINIT has not been completed.
12
One of these:
  • The parameter value is invalid.
  • Data set is already open.
  • Cannot open concatenated data sets for output.
  • Cannot open a data set allocated SHR for output.
16
Truncation or translation error in accessing dialog variables.
20
Severe error; unable to continue.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014