Home   Package List   Routine Alphabetical List   Global Alphabetical List   FileMan Files List   FileMan Sub-Files List   Package Component Lists   Package-Namespace Mapping  
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All
Print Page as PDF
Global: ^%ZIS(3.52

Package: Kernel

Global: ^%ZIS(3.52


Information

FileMan FileNo FileMan Filename Package
3.52 PRINT QUEUE JOB Kernel

Description

Directly Accessed By Routines, Total: 2

Package Total Routines
Kernel 2 ZISPQ    ^%ZIS(3.52    

Pointer To FileMan Files, Total: 2

Package Total FileMan Files
Kernel 2 DEVICE(#3.5)[.01]    NEW PERSON(#200)[.04]    

Fields, Total: 9

Field # Name Loc Type Details
.01 DEVICE 0;1 POINTER TO DEVICE FILE (#3.5)
************************REQUIRED FIELD************************
DEVICE(#3.5)

  • INPUT TRANSFORM:  S DIC("S")="I $P(^%ZIS(1,Y,""TYPE""),""^"")=""PQ""" D ^DIC K DIC S DIC=$G(DIE),X=+Y K:Y<0 X
  • LAST EDITED:  NOV 07, 2011
  • HELP-PROMPT:  Select the device which controls the print queue.
  • DESCRIPTION:  Identifies the device that the user selected when the print request was made.
  • SCREEN:  S DIC("S")="I $P(^%ZIS(1,Y,""TYPE""),""^"")=""PQ"""
  • EXPLANATION:  Allows only PRINT QUEUE type devices to be selected.
    UNEDITABLE
  • CROSS-REFERENCE:  3.52^B
    1)= S ^%ZIS(3.52,"B",$E(X,1,30),DA)=""
    2)= K ^%ZIS(3.52,"B",$E(X,1,30),DA)
  • RECORD INDEXES:  E (#314)
.02 DT/TM HOST FILE CREATED 0;2 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  NOV 23, 2011
  • HELP-PROMPT:  Enter the date and time that the host file was created.
  • DESCRIPTION:  This is the date/time that the host file was created.
  • CROSS-REFERENCE:  3.52^H
    1)= S ^%ZIS(3.52,"H",$E(X,1,30),DA)=""
    2)= K ^%ZIS(3.52,"H",$E(X,1,30),DA)
    This cross-referene is used to find print jobs by the date/time that the host file was created.
  • RECORD INDEXES:  E (#314)
.03 DT/TM PASSED TO PRINT SERVER 0;3 DATE
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  S %DT="ESTXR" D ^%DT S X=Y K:X<1 X
  • LAST EDITED:  NOV 07, 2011
  • HELP-PROMPT:  Enter the date and time that the host file was passed to the print server.
  • DESCRIPTION:  This is the date and time that the host file was passed to the print server. No value indicates that the file was not yet passed to the print server.
  • TECHNICAL DESCR:  
    UNEDITABLE
.04 OWNER 0;4 POINTER TO NEW PERSON FILE (#200)
************************REQUIRED FIELD************************
NEW PERSON(#200)

  • LAST EDITED:  NOV 02, 2011
  • HELP-PROMPT:  Select the user who initiated the print job.
  • DESCRIPTION:  This field indicates the user that made the print request.
  • TECHNICAL DESCR:  
    UNEDITABLE
  • FIELD INDEX:  C (#180) REGULAR IR LOOKUP & SORTING
    Short Descr: Used to find the print jobs belonging to a specific individual.
    Description: This index is on the owner of the print job, i.e., the person who requested to print the document.
    Set Logic: S ^%ZIS(3.52,"C",X,DA)=""
    Kill Logic: K ^%ZIS(3.52,"C",X,DA)
    Whole Kill: K ^%ZIS(3.52,"C")
    X(1): OWNER (3.52,.04) (Subscr 1) (forwards)
.05 OS PRINT QUEUE 0;5 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>31!($L(X)<1) X
  • LAST EDITED:  OCT 25, 2011
  • HELP-PROMPT:  Answer must be 1-31 characters in length.
  • DESCRIPTION:  This is the name of the print queue that the print job should be submitted to. The print queue is created within the host operating system.
  • FIELD INDEX:  F (#315) REGULAR IR LOOKUP & SORTING
    Short Descr: Used to find jobs for a specific print queue.
    Description: This index cross-references the print job to the queue that it was placed on.
    Set Logic: S ^%ZIS(3.52,"F",$E(X,1,31),DA)=""
    Kill Logic: K ^%ZIS(3.52,"F",$E(X,1,31),DA)
    Whole Kill: K ^%ZIS(3.52,"F")
    X(1): OS PRINT QUEUE (3.52,.05) (Subscr 1) (Len 31) (forwards)
.06 HOST FILE 0;6 FREE TEXT
************************REQUIRED FIELD************************

  • INPUT TRANSFORM:  K:$L(X)>20!($L(X)<3) X
  • LAST EDITED:  NOV 02, 2011
  • HELP-PROMPT:  Enter a unique name (3-20 characters) for the host file.
  • DESCRIPTION:  The unique name of the host file. The name will have the following format:
    PQ$JOB_.TXT
  • FIELD INDEX:  D (#313) REGULAR IR LOOKUP & SORTING
    Short Descr: Used to do a lookup based on the name of the host file.
    Description: This index cross-references the name of the host file to the print job that it was created for.
    Set Logic: S ^%ZIS(3.52,"D",$E(X,1,30),DA)=""
    Kill Logic: K ^%ZIS(3.52,"D",$E(X,1,30),DA)
    Whole Kill: K ^%ZIS(3.52,"D")
    X(1): HOST FILE (3.52,.06) (Subscr 1) (Len 30) (forwards)
.07 STATUS 0;7 SET
************************REQUIRED FIELD************************
  • 'O' FOR FILE OPENED;
  • 'OE' FOR ERROR OPENING FILE;
  • 'AE' FOR APPLICATION ERROR BEFORE CLOSING FILE;
  • 'Q' FOR PRINT JOB QUEUED;
  • 'QE' FOR ERROR SUBMITTING JOB TO QUEUE;
  • 'P' FOR FILE PRINTED, DELETED;
  • 'D' FOR FILE DELETED, NOT PRINTED;

  • LAST EDITED:  NOV 02, 2011
  • HELP-PROMPT:  Enter the status of the host file.
  • DESCRIPTION:  The current status of the host file.
  • RECORD INDEXES:  E (#314)
.08 OS JOB ID 0;8 FREE TEXT

  • INPUT TRANSFORM:  K:$L(X)>30!($L(X)<3) X
  • LAST EDITED:  NOV 02, 2011
  • HELP-PROMPT:  Enter the job identifier (3-30 characters) that was assigned when the host file was submitted for printing.
  • DESCRIPTION:  This is the identifier assigned by the OS to the print job. The format is system dependent.
  • FIELD INDEX:  G (#316) REGULAR IR LOOKUP & SORTING
    Short Descr: Used to find the entry matching the job id returned by the os.
    Description: This index cross-references the job identifier provided by the operating system when the job was submitted to the job record in the Kernel PRINT QUEUE JOBS file.
    Set Logic: S ^%ZIS(3.52,"G",$E(X,1,30),DA)=""
    Kill Logic: K ^%ZIS(3.52,"G",$E(X,1,30),DA)
    Whole Kill: K ^%ZIS(3.52,"G")
    X(1): OS JOB ID (3.52,.08) (Subscr 1) (Len 30) (forwards)
.09 HFS DIRECTORY 0;9 SET
  • '1' FOR PRIMARY;
  • '2' FOR SECONDARY;

  • LAST EDITED:  NOV 02, 2011
  • HELP-PROMPT:  Is the print queue on the primary system or the secondary system?
  • DESCRIPTION:  This describes the system on which the print queue is located. This field is important in mixed OS environments. The print queues and host files are accessible only on the system that they were created on.
  • RECORD INDEXES:  E (#314)

External References

Name Field # of Occurrence
^%DT .02+1, .03+1
^DIC .01+1
ID^ZISPQ IDWRITE+1

Global Variables Directly Accessed

Name Line Occurrences  (* Changed,  ! Killed)
^%ZIS(3.52 - [#3.52] IXCSL+1*, IXCKL+1!, IXCKEIC+1!, IXDSL+1*, IXDKL+1!, IXDKEIC+1!, IXESL+1*, IXEKL+1!, IXEKEIC+1!, IXFSL+1*
, IXFKL+1!, IXFKEIC+1!, IXGSL+1*, IXGKL+1!, IXGKEIC+1!, .01(XREF 1S), .01(XREF 1K), .02(XREF 1S), .02(XREF 1K)

Local Variables

Legend:

>> Not killed explicitly
* Changed
! Killed
~ Newed

Name Field # of Occurrence
>> %DT .02+1*, .03+1*
>> DA IXCSL+1, IXCKL+1, IXDSL+1, IXDKL+1, IXESL+1, IXEKL+1, IXFSL+1, IXFKL+1, IXGSL+1, IXGKL+1
.01(XREF 1S), .01(XREF 1K), .02(XREF 1S), .02(XREF 1K)
DIC .01+1!*
DIC("S" .01+1*, .01SCR+1*
>> DIE .01+1
X IXCSL+1, IXCKL+1, IXDSL+1, IXDKL+1, IXFSL+1, IXFKL+1, IXGSL+1, IXGKL+1, .01+1*!, .01(XREF 1S)
.01(XREF 1K), .02+1*!, .02(XREF 1S), .02(XREF 1K), .03+1*!, .05+1!, .06+1!, .08+1!
X(1 IXESL+1, IXEKL+1
X(2 IXESL+1, IXEKL+1
X(3 IXESL+1, IXEKL+1
X(4 IXESL+1, IXEKL+1
>> Y .01+1, .02+1, .03+1
Info |  Desc |  Directly Accessed By Routines |  Pointer To FileMan Files |  Fields |  External References |  Global Variables Directly Accessed |  Local Variables  | All