VMS Help  —  SMB Routines, SMB$READ_MESSAGE_ITEM, Codes for Message Items
 SMBMSG$K_ACCOUNT_NAME

    This code identifies a string containing the name of the account
    to be charged for the job, that is, the account of the process
    that submitted the print job.

 SMBMSG$K_AFTER_TIME

    This code identifies a 64-bit, absolute-time value specifying the
    system time after which the job controller can process this job.

 SMBMSG$K_ALIGNMENT_PAGES

    This code identifies a longword specifying the number of
    alignment pages that the symbiont is to print.

 SMBMSG$K_BOTTOM_MARGIN

    This code identifies a longword containing the number of lines to
    be left blank at the bottom of a page.

    The symbiont inserts a form feed character into the output stream
    if it determines that all of the following conditions are true:

    o  The number of lines left at the bottom of the page is equal to
       the value in SMBMSG$K_BOTTOM_MARGIN.

    o  Sending more data to the printer to be output on this page
       would cause characters to be printed within this bottom margin
       of the page.

    o  The /FEED qualifier was specified with the PRINT command that
       caused the symbiont to perform this task.

    (Line feed, form feed, carriage-return, and vertical-tab
    characters in the output stream are collectively known as
    embedded carriage control.)

 SMBMSG$K_CHARACTERISTICS

    This code identifies a 16-byte structure specifying
    characteristics of the job. A detailed description of the format
    of this structure is contained in the description of the QUI$_
    CHARACTERISTICS code in the $GETQUI system service in the HP
    OpenVMS System Services Reference Manual.

 SMBMSG$K_DEVICE_NAME

    This code identifies a string that is the name of the device to
    which the symbiont is to send data. The symbiont interprets this
    information. The name need not be the name of a physical device,
    and the symbiont can interpret this string as something other
    than the name of a device.

 SMBMSG$K_ENTRY_NUMBER

    This code identifies a longword containing the number that the
    job controller assigned to the job.

 SMBMSG$K_EXECUTOR_QUEUE

    This code identifies a string that is the name of the queue on
    which the symbiont stream is to be started.

 SMBMSG$K_FILE_COPIES

    This code identifies a longword containing the number of copies
    of the file that were requested.

 SMBMSG$K_FILE_COUNT

    This code identifies a longword that specifies, out of the number
    of copies requested for this job (SMBMSG$K_FILE_COPIES), the
    number of the copy of the file currently printing.

 SMBMSG$K_FILE_IDENTIFICATION

    This code identifies a 28-byte structure identifying the file
    to be processed. This structure consists of the following three
    file-identification fields in the OpenVMS RMS NAM block:

    1. The 16-byte NAM$T_DVI field

    2. The 6-byte NAM$W_FID field

    3. The 6-byte NAM$W_DID field

    These fields occur consecutively in the NAM block in the order
    listed.

 SMBMSG$K_FILE_SETUP_MODULES

    This code identifies a string specifying the names (separated by
    commas) of one or more text modules that the symbiont should copy
    from the library into the output stream before processing the
    file.

 SMBMSG$K_FILE_SPECIFICATION

    This code identifies a string specifying the name of the file
    that the symbiont is to process. This file name is formatted as a
    standard RMS file specification.

 SMBMSG$K_FIRST_PAGE

    This code identifies a longword containing the number of the page
    at which the symbiont should begin printing. The job controller
    sends this item to the symbiont. When not specified, the symbiont
    begins processing at page 1.

 SMBMSG$K_FORM_LENGTH

    This code identifies a longword value specifying the length (in
    lines) of the physical form (the paper).

 SMBMSG$K_FORM_NAME

    This code identifies a string specifying the name of the form.

 SMBMSG$K_FORM_SETUP_MODULES

    This code identifies a string consisting of the names (separated
    by commas) of one or more modules that the symbiont should copy
    from the device-control library before processing the file.

 SMBMSG$K_FORM_WIDTH

    This code identifies a longword specifying the width (in
    characters) of the print area on the physical form (the paper).

 SMBMSG$K_JOB_COPIES

    This code identifies a longword specifying the requested number
    of copies of the job.

 SMBMSG$K_JOB_COUNT

    This code identifies a longword specifying, out of the number of
    copies requested (SMBMSG$K_JOB_COPIES), the number of the copy of
    the job currently printing.

 SMBMSG$K_JOB_NAME

    This code identifies a string specifying the name of the job.

 SMBMSG$K_JOB_RESET_MODULES

    This code identifies a string specifying a list of one or more
    module names (separated by commas) that the symbiont should copy
    from the device-control library after processing the task. These
    modules can be used to reset programmable devices to a known
    state.

 SMBMSG$K_LAST_PAGE

    This code identifies a longword specifying the number of the
    last page that the symbiont is to print. When not specified, the
    symbiont attempts to print all the pages in the file.

 SMBMSG$K_LEFT_MARGIN

    This code identifies a longword specifying the number of spaces
    to be inserted at the beginning of each line.

 SMBMSG$K_LIBRARY_SPECIFICATION

    This code identifies a string specifying the name of the device-
    control library.

 SMBMSG$K_MESSAGE_VECTOR

    This code identifies a vector of longword condition codes, each
    of which contains information about the job to be printed.

    When LOGINOUT cannot open a log file for a batch job, a code in
    the message vector specifies the reason for the failure. The job
    controller does not send the SMBMSG$K_FILE_IDENTIFICATION item
    if it has detected such a failure but instead sends the message
    vector, which the symbiont prints, along with a message stating
    that there is no file to print.

 SMBMSG$K_NOTE

    This code identifies a user-supplied string that the symbiont is
    to print on the job flag page and on the file flag page.

 SMBMSG$K_PAGE_SETUP_MODULES

    This code identifies a string consisting of the names (separated
    by commas) of one or more modules that the symbiont should copy
    from the device-control library before printing each page.

 SMBMSG$K_PARAMETER_1 through SMBMSG$K_PARAMETER_8

    Each of these eight codes identifies a user-supplied string. Both
    the semantics and syntax of each string are determined by the
    user-defined symbiont. The OpenVMS-supplied symbiont makes no use
    of these eight items.

 SMBMSG$K_PRINT_CONTROL

    This code identifies a longword bit vector, each bit of which
    supplies information that the symbiont is to use in controlling
    the printing of the file.

    Symbol                    Description

    SMBMSG$V_DOUBLE_SPACE     The symbiont uses a double-spaced
                              format; it skips a line after each
                              line it prints.
    SMBMSG$V_NO_INITIAL_FF    The symbiont suppresses the initial
                              form feed if this bit is turned on.
    SMBMSG$V_NORECORD_        The symbiont performs single record
    BLOCKING                  output, issuing a single output record
                              for each input record.
    SMBMSG$V_PAGE_HEADER      The symbiont prints a page header at
                              the top of each page.
    SMBMSG$V_PAGINATE         The symbiont inserts a form feed
                              character when it detects an attempt
                              to print in the bottom margin of the
                              current form.
    SMBMSG$V_PASSALL          The symbiont prints the file without
                              formatting and bypasses all formatting
                              normally performed. Furthermore, the
                              symbiont outputs the file without
                              formatting, by causing the output QIO
                              to suppress formatting by the driver.
    SMBMSG$V_RECORD_BLOCKING  The symbiont performs record blocking,
                              buffering output to the device.
    SMBMSG$V_SEQUENCED        This bit is reserved by HP.
    SMBMSG$V_SHEET_FEED       The symbiont pauses the queue after
                              each page it prints.
    SMBMSG$V_TRUNCATE         The symbiont truncates input lines that
                              exceed the right margin of the current
                              form.
    SMBMSG$V_WRAP             The symbiont wraps input lines that
                              exceed the right margin, printing the
                              additional characters on a new line.

 SMBMSG$K_PRIORITY

    This code identifies a longword specifying the priority this job
    has in the queue in which it is entered.

 SMBMSG$K_QUEUE

    This code identifies a string specifying the name of the queue
    in which this job is entered. When generic queues are used, this
    item specifies the name of the generic queue, and the SMBMSG$K_
    EXECUTOR item specifies the name of the device queue or the
    server queue.

 SMBMSG$K_RELATIVE_PAGE

    This code identifies a signed, longword value specifying the
    number of pages that the symbiont is to move forward (positive
    value) or backward (negative value) from the current position in
    the file.

 SMBMSG$K_REQUEST_CONTROL

    This code identifies a longword bit vector, each bit of which
    specifies information that the symbiont is to use in processing
    the request that the job controller is making.

    Symbol                    Description

    SMBMSG$V_ALIGNMENT_MASK   The symbiont is to replace all
                              alphabetic characters with the
                              letter X, and all numeric characters
                              with the number 9. Other characters
                              (punctuation, carriage control, and
                              so on) are left unchanged. This bit is
                              ordinarily specified in connection with
                              the SMBMSG$K_ALIGNMENT_PAGES item.
    SMBMSG$V_PAUSE_COMPLETE   The symbiont is to pause when it
                              completes the current request.
    SMBMSG$V_RESTARTING       Indicates that this job was previously
                              interrupted and requeued, and is now
                              restarting.
    SMBMSG$V_TOP_OF_FILE      The symbiont is to rewind the input
                              file before it resumes printing.

 SMBMSG$K_RIGHT_MARGIN

    This code identifies a longword specifying the number of
    character positions to be left empty at the end of each line.
    When the right margin is exceeded, the symbiont truncates the
    line, wraps the line, or continues processing, depending on the
    settings of the WRAP and TRUNCATE bits in the SMBMSG$K_PRINT_
    CONTROL item.

 SMBMSG$K_SEARCH_STRING

    This code identifies a string containing the value specified in
    the START/QUEUE/SEARCH command. This string identifies the page
    at which to restart the current printing task on a paused queue.

 SMBMSG$K_SEPARATION_CONTROL

    This code identifies a longword bit vector, each bit of which
    specifies an operation that the symbiont is to perform between
    jobs or between files within a job. The $SMBDEF macro defines the
    following symbols for each bit:

    Symbol                    Description

    SMBMSG$V_FILE_BURST       The symbiont is to print a file burst
                              page.
    SMBMSG$V_FILE_FLAG        The symbiont is to print a file flag
                              page.
    SMBMSG$V_FILE_TRAILER     The symbiont is to print a file trailer
                              page.
    SMBMSG$V_FILE_TRAILER_    The symbiont is to print a file trailer
    ABORT                     page when a task completes abnormally.
    SMBMSG$V_FIRST_FILE_OF_   The current file is the first file of
    JOB                       the job. When specified with SMBMSG$V_
                              LAST_FILE_OF_JOB, the current job
                              contains a single file.
    SMBMSG$V_JOB_FLAG         The symbiont is to print a job flag
                              page.
    SMBMSG$V_JOB_BURST        The symbiont is to print a job burst
                              page.
    SMBMSG$V_JOB_RESET        The symbiont is to execute a job reset
                              sequence when the task completes.
    SMBMSG$V_JOB_RESET_ABORT  The symbiont is to execute a job
                              reset sequence when a task completes
                              abnormally.
    SMBMSG$V_JOB_TRAILER      The symbiont is to print a job trailer
                              page.
    SMBMSG$V_JOB_TRAILER_     The symbiont is to print a job trailer
    ABORT                     page when a task completes abnormally.
    SMBMSG$V_LAST_FILE_OF_    The current file is the last file of
    JOB                       the job. When specified with SMBMSG$V_
                              FIRST_FILE_OF_JOB, the current job
                              contains a single job.

 SMBMSG$K_STOP_CONDITION

    This code identifies a longword containing a condition specifying
    the reason the job controller issued a STOP_TASK request.

 SMBMSG$K_TIME_QUEUED

    This code identifies a quadword specifying the time the file was
    entered into the queue. The time is expressed as 64-bit, absolute
    time.

 SMBMSG$K_TOP_MARGIN

    This code identifies a longword specifying the number of lines
    that the symbiont is to leave blank at the top of each page.
    PRTSMB inserts line feeds into the output stream after every form
    feed until the margin is cleared.

 SMBMSG$K_UIC

    This code identifies a longword specifying the user
    identification code (UIC) of the user who submitted the job.

 SMBMSG$K_USER_NAME

    This code identifies a string specifying the name of the user who
    submitted the job.
Close Help