用途
catds
コマンドは、mkdsコマンドで作成されたデータセット・ファイルのコンテンツをリストする場合に使用します。
前提条件
catds
コマンドを使用するには、管理ドメインの構成の表示(display administrative domain's configuration)権を備えている必要があります。
構文
catds::=
catds dataset-file-name ...
意味
データセット・ファイルの名前を指定します。dataset-file-nameプレースホルダの詳細は、「dataset-file-name」を参照してください。
例
例2-9では、basicsummary.ds
とネーミングされたデータセット・ファイルのコンテンツを表示します。これは、Oracle Secure Backupに付属のデータセット・ファイルのサンプルです。
例2-9 データセットのコンテンツの表示
ob> catds basicsummary.ds # SAMPLES/basicsummary, pfg, 03/01/02 # review of basic dataset statements # This dataset ties together all of the features introduced # thusfar. It describes the root file systems and a couple of # specific directories on the /home file system of each host. # For each directory tree, it excludes any file ending in # ".a" and ".o". include dataset admin/default_rules # get domain defaults from # this file include host sporky # back up these 3 hosts, include host sparky include host spunky include path / # saving these file systems and include path /home/software # directories on each host include path /home/doc include optional pathlist /pl.qr # read additional names from # this pathlist file on each # named host, if it exists exclude name *.a # but in each tree, don't save # files ending exclude name *.o # in these suffixes