CONSOLES - working with the console in batch.

It is now possible to associate a B unit with the console in a batch B program. Simply associate a file code with the console in the JCL for the program, then open the file code using the usual "fc*XX" convention. For example, if the console has file code "AB", you can open a B unit on the console by executing OPEN on the file name "fc*ab".

Note that units -2 and -3 still refer to the default console, with file code T*. In this way, you can perform I/O on the default console or on consoles associated with other file codes.

Copyright © 1996, Thinkage Ltd.