如下所示:
###从源机器导出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 ~]#
#创建sfs服务器
cicscp -v create sfs_server /.:/cics/sfs/evantest
# 启动sfs服务器
cicscp -v start sfs_server evantest
# 停止sfs服务器
cicscp -v stop sfs_server evantest
#冷启动sfs服务器
cicscp -v start sfs_server evantest StartType=cold
#新建region
cicscp -v create region evan001 DefaultFileServer=/.:/cics/sfs/evantest
#冷启动region
cicscp -v start region evan001 StartType=cold
#停止region
cicscp -v stop region evan001
#创建qm 队列管理器
crtmqm qm
#查看mq 队列管理器运行状态
dspmq
#如果MQ队列管理器没有运行,启动MQ队列管理器
strmqm qm
#停止qm 队列管理器
endmqm qm
#删除qm队列管理器
dltmqm qm
#运行 队列管理器命令操作界面
runmqsc qm
#创建本地队列Q
DEFINE QLOCAL (Q)
# 显示本地队列Q 属性
display qlocal (Q) all
#将本地队列Q 的最大深度设置为5
ALTER QLOCAL (Q) MAXDEPTH(5)
#重新创建本地队列Q 如果Q已经存在,则将其全部属性重置为缺省属性
以下文章点击率最高
Loading…