- 论坛徽章:
- 0
|
http://www-900.ibm.com/cn/support/viewdoc/detail?DocId=1322003000014
(转)IBM 技术支持文章
- 发信息到一组指定用户
-
- 环境 产品:OS/400
- 平台:AS/400,iSeries
- 机型:ALL
- 软件版本:ALL
- 问题 发信息到一组指定用户
- 解答 要发送信息到指定的一组用户,实现步骤如下:
- 1。在OS/400命令行上,建立一个distribution表,如:
- 使用命令:CRTDSTL LSTID(TOMLIST1 RCHASBDS) LSTD('Test distribution list for Tom Smith');
- 其中TOMLIST1为要建立的表名:
- Create Distribution List (CRTDSTL)
- Type choices, press Enter.
- List identifier:
- List ID . . . . . . . . . . . > TOMLIST1 Character value
- List ID qualifier . . . . . . > RCHASBDS Character value
- List description . . . . . . . . > 'Test distribution'
- -------------------------------------------------------Bottom
- F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
- F13=How to use this display -F24=More keys
- 2。在OS/400命令行上,使用命令WRKDSTL,会列出所有的表,在TOMLIST1前使用8选择项,用1增加要信息的用户,直到增加所有的用户:
- Work with Distribution List Entries
- List ID . . . . . . . . : TOMLIST1 RCHASBDS
- Description . . . . . . : Test distribution
- Owner . . . . . . . . . : SUNQZ
- Type options, press Enter.
- 1=Add entries 4=Remove entry 5=Display details 6=Print details
- Opt -User ID -Address -Description
- 1 ---USER01 ---ADR01
- (Distribution list has no entries)
- ---------------------------------------------Bottom
- F3=Exit F5=Refresh F12=Cancel F17=Position to
- 需要注意的是要增加的用户必须在系统的DIRE里存在,如果没有需要首先增加此用户到系统DIRE中,使用命令:ADDDIRE USRID(USER01 ADR01) USRD(AAAA) USER(USER01),其中USR01为要增加的用户名,ADR01为系统地址,AAAA为描述,最后的USER01为用户的USER PROFILE名。
- 3。发送信息到这个表中的所有用户,使用类似下面的命令:
- SNDDST TYPE(*MSG) TOUSRID((DAVEBLST RCHASBDS)) DSTD(ANYTHING) MSG('MSAG TO YOU '),如下图:
- Send Distribution (SNDDST)
- Type choices, press Enter.
- Information to be sent . . . . . > *MSG -----*MSG, *DOC, *FILE, *IDP...
- Recipient:
- -User ID . . . . . . . . . . . > --DAVEBLST -Character value
- -Address . . . . . . . . . . . > --RCHASBDS -Character value
- -Recipient type . . . . . . . . ---*PRI -----*PRI, *CC, *BCC
- ---------------+ for more values
- -Description . . . . . . . . . . > ANYTHING
- -Message . . . . . . . . . . . . --MSAG TO YOU
- Confirmation of delivery . . . . --*NO ------*NO, *YES
- Sensitivity . . . . . . . . . . ---*NONE
- Content importance . . . . . . . --*NORMAL --*NORMAL, *LOW, *HIGH
- Priority . . . . . . . . . . . . --*NORMAL --*NORMAL, *HIGH, *LOW
- ----------------------------------------------------------------More...
- F3=Exit F4=Prompt F5=Refresh F10=Additional parameters F12=Cancel
- F13=How to use this display -F24=More keys
-
-
复制代码 |
|