The SOCKSEND macro sends data (via the established socket connection) to an IP application. It is used to determine the health of an application.
Parameters: SOCKSEND Macro
Specifies the format in which you want to send the data. You can choose either ASCII or EBCDIC.
Specifies the data you want to send.
Unprintable characters, for example hexadecimal, can be entered by preceding the command with x' and ending it with '. For example, x’456703’. The data must also be separated from text with a semicolon (;).
Example: SOCKSEND Macro
In the following example, the SOCKSEND macro sends the data ’This is a test’ in ASCII format to the IP address with the open socket connection.
--------- Automation Services : SOCKSEND Macro Parameter Definition ----------- Command ===> Function=UPDATE . Data to Send ---------------------------------------------------------------. | To specify HEX data use x'cccccc'. Use semi-colon to delimit HEX and CHAR. | | For example, abcDEFghi;x'F140F24BF3' results in abcDEFghi1 2.3 | | | | Data Format ......... ASCII_ (ASCII or EBCDIC) | | This is a test_____________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | | ___________________________________________________________________________ | '-----------------------------------------------------------------------------' F1=Help F2=Split F3=OK F9=Swap F12=Cancel
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |