Previous topic |
Next topic |
Contents |
Contact z/OS |
Library |
PDF
TBSAVE—save a table z/OS ISPF Services Guide SC19-3626-00 |
|
The TBSAVE service writes the specified table from virtual storage to the table output library. The table output library must be allocated to a ddname of ISPTABL, or specified by using the LIBDEF service before invoking this service. The table must be open in WRITE mode. When storing a table in an output file, the user can give it a new name. The table name used in the output library must not be an alias name. TBSAVE does not delete the virtual storage copy of the table; the table is still open and available for further processing. Table output can be directed to a table output library other than the library specified on the table output ISPTABL DD statement or LIBDEF service request. The library to be used must be allocated before table services receives control. Thus, an application can update a specific table library. This is particularly useful for applications that need to maintain a common set of tables containing their data. Command invocation formatCall invocation format>>-CALL--ISPEXEC--(buf-len,--buffer);-------------------------->< or >>-CALL--ISPLINK--('TBSAVEbb'--,--table-name,-------------------> .-'REPLCOPY'-. >--,-+-'b'--------+--,-+-alt-name-+--,-+-percentage-+-----------> '-'NEWCOPYb'-' '-'b'------' '-'b'--------' >--,-+-library-+-);-------------------------------------------->< '-'b'-----' Parameters
Return codesThese return codes are possible:
ExampleWrite a table, TELBOOK, previously opened and currently in virtual storage, to the
table library. Retain the copy in virtual storage for further processing.
Do not close the table.
Set
the program variable BUFFER to contain:
Set
program variable BUFLEN to the length of the variable BUFFER. Issue
the following command:
or alternately
|
Copyright IBM Corporation 1990, 2014
|