Alternate Entry Name: .GOTOS
B: gotoss([subsys,] format, a1, a2, a3, ... );
C: void gotoss([const char *subsys,] const char *format, ...);
GOTOSS operates in a manner similar to SYSTEM, causing a command line to be executed by TSS. Unlike the SYSTEM function however, there is no return from GOTOSS.
Before executing the command line, GOTOSS invokes the user-specified wrapup routine .WRAP and closes all open files.
The sequence
name = "/blat"; maxsize = 20; gotoss("access cf,%s,mode/random/,b/1,%d/*n", name, maxsize);
has the same effect as if the user had typed the system command
access cf,/blat,mode/random/,b/1,20/
Copyright © 1996, Thinkage Ltd.