source


Name

source — read and process commands from a file

Synopsis

Supported for RTserver, RTclient, RTmon, RTgms, and RTacl:

source filename 

Description

The source command reads the RTprocess commands from a file.

Caution

To prevent irreversible damage to your SmartSockets system, this command should not be specified with the Enable_Control_Msgs option without careful supervision.

See Also

sh

Examples

UNIX Examples:

PROMPT> sh cat aliases 
sh command executing with string: cat aliases 
alias q quit force 
alias reconnect "disconnect; connect" 
alias date sh date 
PROMPT> source aliases 
Executing source command with file aliases 
Alias q installed 
Alias reconnect installed 
Alias date installed 
PROMPT> alias 
exit   quit force 
ls     sh ls 
pwd    sh pwd 
q      quit force 
reconnect       disconnect; connect 
PROMPT> date 
sh command executing with string: date 
Wed Jul 28 14:01:24 PST 1999 

OpenVMS Examples:

PROMPT> sh type aliases 
sh command executing with string: type aliases 
alias q quit force 
alias reconnect "disconnect; connect" 
alias date sh show time 
PROMPT> source aliases 
Executing source command with file aliases 
Alias q installed 
Alias reconnect installed 
Alias date installed 
PROMPT> alias 
exit   quit force 
ls     sh directory 
pwd    sh show default 
q      quit force 
reconnect      disconnect; connect 
PROMPT> date 
sh command executing with string: date 
28-JUL-1999 13:16:25 

Windows Examples:

PROMPT> sh type aliases 
sh command executing with string: type aliases 
alias q quit force 
alias reconnect "disconnect; connect" 
alias date sh date 
PROMPT> source aliases 
Executing source command with file aliases 
Alias q installed 
Alias reconnect installed 
Alias date installed 
PROMPT> alias 
exit   quit force 
ls     sh dir 
pwd    sh cd 
q      quit force 
reconnect       disconnect; connect 
PROMPT> date 
sh command executing with string: date 
The current date is: Wed 07/28/1999 
Enter the new date: (mm-dd-yy) 

TIBCO SmartSockets™ User’s Guide
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com