Options
All
  • Public
  • Public/Protected
  • All
Menu

This interface defines the options that can be sent into the copy data set function.

Hierarchy

Index

Properties

Optional enq

enq: string

Enq option Allow values are: SHR, SHRW, EXCLU.

from-dataset

from-dataset: IDataSet

The dataset to copy from.

Optional overwrite

overwrite: boolean

Overwrite option

Optional progress

Apis to create and destroy progress bars during the command.

memberof

IHandlerResponseApi

Optional promptFn

promptFn: (targetDSN: string) => Promise<boolean>

Prompt callback that will be invoked before overwiting a data set.

param

Name of data set that already exists

returns

True if target data set should be overwritten

Type declaration

    • (targetDSN: string): Promise<boolean>
    • Parameters

      • targetDSN: string

      Returns Promise<boolean>

Optional promptForIdenticalNamedMembers

promptForIdenticalNamedMembers: () => Promise<boolean>

Prompt for duplicates

returns

True if the copy operation will overwrite an existing member; false otherwise

Type declaration

Optional replace

replace: boolean

Replace option

Optional responseTimeout

responseTimeout: number

The maximum amount of time for the TSO servlet to wait for a response before returning an error

Optional safeReplace

safeReplace: boolean

Safe replace option

Optional task

Task status object used by CLI handlers to create progress bars Optional

Generated using TypeDoc