LMINIT—generate a data ID for a data set

Command invocation format

Read syntax diagramSkip visual syntax diagramISPEXECLMINITDATAID( data-id-var)PROJECT optionsDATASET( dsname)DDNAME( ddname)VOLUME( serial)PASSWORD( password)ENQ(SHR)ENQ(EXCLU)ENQ(SHRW)ENQ(MOD)ORG( org-var)
PROJECT options
Read syntax diagramSkip visual syntax diagramPROJECT( project)GROUP1( group1)TYPE( type)GROUP2( group2)GROUP3( group3)GROUP4( group4)

Call invocation format

Read syntax diagramSkip visual syntax diagramCALLISPLINK('LMINITbb',data-id-var'b','b','b','b','b','b','b',ddname'b','b','b','b','b','b',, dsname,'b', project, group1,group2'b',group3'b',group4'b', type,'b','b',serial'b',password'b','SHRbbbbb''b''EXCLUbbb''SHRWbbbb''MODbbbbb',org-var'b');

OR

Read syntax diagramSkip visual syntax diagramCALLISPEXEC( buf-len, buffer);

Return codes

These return codes are possible:

 0
Normal completion.
 8
Data ID not created; for more information about the error condition, see System variables used to format error messagesin ISPF Services Guide.
12
The parameter value is invalid.
16
Truncation or translation error in accessing dialog variables.
20
Severe error; unable to continue.

For more information about dialog variables, see System variables used to format error messagesin ISPF Services Guide.

Note: Data sets allocated with an XTIOT will return a DDNAME Not Found message and set RC=8 if XTIOT support is not fully enabled.
Note: Data sets allocated with an XTIOT will return a DDNAME Not Found message and set RC=8 if XTIOT support is not fully enabled.