SDECDEV DEV (3716)    REMOTE PROCEDURE (8994)

Name Value
NAME SDECDEV DEV
TAG DEV
ROUTINE SDECDEV
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
INACTIVE ACTIVE
WORD WRAP ON FALSE
DESCRIPTION
GET devices of the given type.
INPUT PARAMETER
  • TYPE
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    Device type 
      A:All Printers (default) 
      P:Printers only on current namespace
    
  • MAX
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Max records to return.
    
  • LSUB
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Last subscripts used to continue from last call. 
    Use LASTSUB (return piece 3) from previous call.
    
  • PARTIAL
    PARAMETER TYPE:   LITERAL
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Partial device name lookup.
    
RETURN PARAMETER DESCRIPTION
1. DIEN = Device IEN pointer to DEVICE file (#3.5) OR -1 if error 
2. DNAME = Device Name OR message if error 
3. LOCT = Location of Terminal text 
4. LASTSUB = Last subscripts to continue with next call 
             Pass in as LSUB input