X25AM Management Programming Manual

Commands and Responses
X25AM Management Programming Manual528037-001
6-150
Examples of Commands and Responses
! ***************************************************************
! * Sample program to demonstrate giving commands and
! * receiving responses.
! ***************************************************************
?symbols, inspect
?nocode, nomap, nolmap
! The SPI standard definitions
?nolist, source $system.zspidef.zspital
?list
! The data communications standard definitions
?nolist, source $system.zspidef.zcomtal
?list
! The X25AM subsystem standard definitions
?nolist,source $system.zspidef.zx25tal
?list
! Global declarations
INT scp^file^num, ! scp file number
.tkn^value[0:(zx25^val^buflen/2)-1], ! a token value
manager^name[0:15], ! the manager name
sub^value, ! value of sub token
net^id, ! network identification
calling^address, ! which address is used in
! outgoing call requests
char^set, ! character set of a line
frame^mode, ! frame mode of a line
syncs, ! syncs value of a line
threshold; ! threshold for line-quality
! checking
STRUCT .buffer(zx25^ddl^msg^buffer^def), ! request/reply buffer
.zx25^val^ssid(zx25^val^ssid^def); ! subsystem ID
! External declarations for GUARDIAN procedures
?nolist, source $system.system.extdecs(OPEN, CLOSE, WRITEREAD,