PRINT PRINT Use the PRINT command to print a CMS file on the spooled virtual
printer. The format of the PRINT command is: r L
fn
ft
fm
PRint r ,
fn ft I fm I [(options ••• [) ]] 1* , L J r , 2EtiQ!!.§: ICC I l!OCCI L J [UPCASE) r , p.INECOUN fnnl I ! t22! L r , IMEMBER { * }' I membername I [HEX] L .J
is the filename of the file to be printed ..
is the filetype of the file to be printed.
is the filemode of the file to be printed. If this field is
specified as an asterisk (*) , the standard order of search is
followed and the first file found with the given filename and
filetvpe is printed. If fm is not specified, the A-disk and its
extensions are searched.
CC UPCASE UP MEMBER MEM HEX interprets the first character of each record as a carriage
control character. If the filetype is LISTING, the CC
option is assumed. If CC is in effect, the PRINT command
does not perform page ejects nor count the number of lines
per page; these functions are controlled by the carriage
control characters in the file. The LINECOUN option has no
effect if CC is in effect.
does not interpret the first character of each record as a
carriage control character. In this case, the PRINT
command ejects a new page and prints a heading after the
number of lines specified by LINECOUN are printed. If NOCC
is specified, it is in effect even if CC was specified
previously or if the filetype is LISTING.
translates the lowercase
uppercase for printing.
{:embername}
letters in the file to
prints the members of macro or text libraries. This option
rnav be specified if the file is a simulated partitioned
data set (filetype MACLIB or TXTLIB). If an asterisk (*)
is entered, all individual members of that library are
printed. If a membername is specified, only that member is
printed.
prints the file in graphic hexadecimal format. If HEX is
specified, the options CC and UPCASE are ignored, even if
specified, and even if the filetype is LISTING.
Section 2. CMS Commands 139
PRINT LINECOUN LI allows you to set the number of lines to be printed on each
page. nn can be any decimal number from 0 through 99. If a
number is not specified, the default value is 55. If nn is
set to zero, the effect is that of an infinite line count
and page ejection does not occur. This option has no
effect if the CC option is also specified.
1. The file may contain carriage control characters and may have
either fixed-or variable-length records, but no record may exceed
132 characters for a 1403 or 3203 printer or 150 characters for a
3211 printer. There are two exceptions: If the CC option is in effect,
character longer (133 or 151) to
character.
the record length can be one
allow for the carriage control If the HEX option is in effect, a record of any length can be
printed, up to the CMS file system maximum of 65,535 bytes.
2. If you want the first character of each line to be interpreted as a carriage control character, you must use the CC option. When you
use the CC option for files that do not contain carriage control
characters, the first character of each line is stripped off. An attempt is made to interpret the first character for carriage
control purposes, an invalid character produces undesirable
results. CMS does not perform validity checking for carriage
control characters. Piles with a filetype of UPDLOG (produced by the UPDATE command) must be printed with the CC option.
3. One spool printer file is produced for each PRINT command; for
example:
print mylib maclib (member get
prints the member GET from the file MILIB MACLIB. If you want to
print a number of files as a single file (so that you do not get output separator pages, for example), use the CP command SPOOL to
spool your virtual printer with the CONT option.
4. The PRINT command has its own forms control buffer load. The format of the PCB macro used is:
FCB NNNN, 6,66, (1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,10,10,
11,64,12,65,9)
This FCB macro is always loaded by the PRINT command and must be
taken into account when the CC option is used. FCB is a series of
DCs at label CCWLFCB. 5. If the MEMBER option is specified more than once, only the last
member specified is printed. If one MEMBER option is coded with an
asterisk (*), and another MEMBER option is with a member
name, only the specified member is printed, regardless of their order on the command line. For example if you code: print one maclib (member examplel member example2 only EXAMPLE2 is printed. 140 IBM VM/370 CMS Command and Macro Reference
Previous Page Next Page