DSIYWO3 WOWKACT WORK ACT (3882)    REMOTE PROCEDURE (8994)

Name Value
NAME DSIYWO3 WOWKACT WORK ACT
TAG WOWKACT
ROUTINE DSIYWO3
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY PUBLIC
INACTIVE ACTIVE
WORD WRAP ON TRUE
DESCRIPTION
WOWKACT
 
This RPC returns search values from the Work Action File ^ENG(6920.1)
INPUT PARAMETER
  • MOVE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    MOVE
     
    Not Required
    1 = Move forward
    =1 = Move backwards
    
  • NOREC
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   2
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    NOREC
     
    Not Required, Default = 40
    Number of records to be returned each time
    
  • SCHTERM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    SCHTERM
     
    Not Required, default = ""
    Starting point for the search
    
  • FINITE
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    FINITE
     
    FINITE="Y" if the only answers returned should be those that exactly 
    match the search parameter (or start with the exact match - i.e., TRAIN 
    matches both TRAIN and TRAINING)
     
    FINITE="N" if the search term is a starting point and all items from that 
    point forward should be returned.
    
  • SCHTXT
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    SCHTXT
     
    If flag is set to any positive value, search will loop through all values
    in the "B" & "C" XREF
    and find any strings which contain the SCHTERM - this
    search will take longer to process
    
  • MAP
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   1
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    MAP
     
    MAP="U" - Return all unmapped codes
     
    Used internally - tells the search to find Work Actions based on:
     
    MAP="Y" (default if nothing sent) - find all Work Action codes mapped to 
    a Uniform Work Action group.  This is how a search should be done for the 
    user as they can only use mapped codes
     
    MAP="A" - Return all codes regardless of whether they are mapped or not
    
RETURN PARAMETER DESCRIPTION
RETURN PARAMETER
 
DSIYRET(1)= "-1^Error Message"    if errors
DSIYRET(1)=  "0^Warning Message"  if nothing returned
DSIYRET(#) = IEN ^ WORK ACTION ^ WORK ACTION HISTORY CODE