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


TBCREATE—create a new table

z/OS ISPF Reference Summary
SC19-3624-00

Command invocation format

Read syntax diagramSkip visual syntax diagram
>>-ISPEXEC--TBCREATE--table-name--+---------------------+------->
                                  '-KEYS(key-name-list)-'   

                         .-WRITE---.                
>--+------------------+--+---------+--+---------+--------------->
   '-NAMES(name-list)-'  '-NOWRITE-'  '-REPLACE-'   

>--+------------------+--+-------+-----------------------------><
   '-LIBRARY(library)-'  '-SHARE-'   

Call invocation format

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

OR

Read syntax diagramSkip visual syntax diagram
>>-CALL--ISPLINK--('TBCREATE',--table-name---------------------->

                                           .-'WRITEbbb'-.   
>--,-+---------------+--,-+-----------+--,-+------------+------->
     '-key-name-list-'    '-name-list-'    '-'NOWRITEb'-'   

>--,-+------------+--,-+---------+--,-+------------+-);--------><
     '-'REPLACEb'-'    '-library-'    '-'SHAREbbb'-'      

Return codes

 0
Normal completion.
 4
Normal completion—a duplicate table exists but REPLACE was specified.
 8
Either the table already exists and REPLACE was not specified, or REPLACE was specified and the table is in SHARE mode.
12
Table in use; ENQ failed.
16
WRITE mode specified and alternate table input library not allocated. TBCREATE checks the input library to determine if a duplicate table exists. See return code 8.
20
Severe error.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014