End SVC ASP Session (ENDSVCSSN)
Where allowed to run: All environments (*ALL) Threadsafe: Yes |
Parameters Examples Error messages |
The End Storage Area Network (SAN) Volume Controller Auxiliary Storage Pool Session (ENDSVCSSN) command ends an existing auxiliary storage pool (ASP) session.
Restrictions:
- You must have system configuration (*IOSYSCFG) special authority to use this command and you must have use (*USE) authority to the ASP device descriptions of the session that is being ended.
- If you are ending a FlashCopy session, you must have read authority to the secure shell key file specified in the preferred source and preferred target copy descriptions.
Top |
Parameters
Keyword | Description | Choices | Notes |
---|---|---|---|
SSN | Session | Name | Required, Positional 1 |
DEVDMN | Device domain | Name, * | Optional |
DLTCNSGRP | Delete consistency group | *YES, *NO | Optional |
Top |
Session (SSN)
Specifies the name of the ASP session to be ended.
This is a required parameter.
- name
- Specify the name of an ASP session.
Top |
Device domain (DEVDMN)
Specifies the name of the device domain.
- *
- The device domain that the current node is in.
- name
- Specify the name of the device domain.
Top |
Delete consistency group (DLTCNSGRP)
Specifies whether or not to delete the FlashCopy consistency group when the session is ended.
This value is only used for FlashCopy sessions.
- *YES
- Delete the FlashCopy consistency group.
- *NO
- Do not delete the FlashCopy consistency group.
Top |
Examples
Example 1: Ending an ASP Session
ENDSVCSSN SSN(ORDERCPY)
This command ends the ASP session named ORDERCPY.
Example 2: Ending an ASP Session in the Current Device Domain
ENDSVCSSN SSN(ORDERCPY) DEVDMN(*)
This has the same result as Example 1. The ASP session is ended in the current device domain.
Example 3: Ending an ASP Session in a Named Device Domain
ENDSVCSSN SSN(ORDERCPY) DEVDMN(MYDOMAIN)
This is similar to Example 1, but the ASP session is ended in the device domain named MYDOMAIN.
Top |
Error messages
*ESCAPE Messages
- CPF9801
- Object &2 in library &3 not found.
- CPF9802
- Not authorized to object &2 in &3.
- HAE002B
- &1 command failed.
Top |