IBM CICS的命令就是强大,两个命令就可以完全满足cics region 的定义属性与文件的 导出、导入、备份、恢复、迁移、重建。
如下所示:
###导出region 属性定义文件
[root@ibmtest cics]# cicsexport -r ‘test01’ -o ‘test01bak’
ERZ046338I/0420: Successfully exported region ‘test01’
###导入region 属性定义文件
[root@ibmtest cics]# cicsimport -r ‘test02’ -i ‘test01bak’
ERZ046348I/0427: Creating region ‘test02’ from archive ‘/opt/ibm/cics/test01bak’
ERZ010114I/0728: Creating subsystem ‘cics.test02’ for region ‘test02’
ERZ046339I/0421: Successfully imported region ‘test02’
####冷启动Test02 Region
[root@ibmtest ~]# cicscp -v start region test02 StartType=cold
ERZ058504I/0107: Starting RPC daemon.
ERZ058502I/0101: RPC daemon is already running.
ERZ096122I/0264: Processing the ‘start region’ command.
ERZ096158I/0264: The region ‘test02’ is starting.
ERZ096111I/0224: Processing a start sfs_server command.
ERZ096141I/0224: Starting SFS server ‘/.:/cics/sfs/ibmtest’.
ERZ038214I/0168: Authorization for server ‘/.:/cics/sfs/ibmtest’ has been set to ‘none’
ERZ105102I/0029: Restart files located for server ‘/.:/cics/sfs/ibmtest’
ERZ105107I/0034: Archives directory located for server ‘/.:/cics/sfs/ibmtest’
ERZ038216I/0175: Subsystem ‘cicssfs.Sibmtest’ has been initialized.
ERZ038272I/0157: Waiting for server ‘/.:/cics/sfs/ibmtest’ to initialise.
ERZ038219I/0179: Server ‘/.:/cics/sfs/ibmtest’ is responding to RPCs.
ERZ038228I/0189: Server ‘/.:/cics/sfs/ibmtest’ has been enabled.
ERZ038182I/0182: Server ‘/.:/cics/sfs/ibmtest’ started successfully.
ERZ096113I/0231: SFS server has ‘/.:/cics/sfs/ibmtest’ successfully started.
ERZ038216I/0382: Subsystem ‘test02’ has been initialized.
ERZ038219I/0390: Server ‘test02’ is responding to RPCs.
ERZ096126I/0276: Region ‘test02’ has successfully started.
ERZ096002I/0003: The cicscp command has completed successfully.
[root@ibmtest ~]#
以下文章点击率最高
Loading…