SCRP QUERY CHECK NAME (49)    REMOTE PROCEDURE (8994)

Name Value
NAME SCRP QUERY CHECK NAME
TAG NAME
ROUTINE SCRPBK2
RETURN VALUE TYPE ARRAY
AVAILABILITY RESTRICTED
DESCRIPTION
This RPC checks to see if the user already has a query
with the name being passed in as part of the RPC.

If there is already a query with the same name, the RPC
passes back the internal entry number of the RPC, otherwise
the RPC passes back a 0.
INPUT PARAMETER
  • QUERY NAME
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    DESCRIPTION:   
    Name of the query that needs to be checked for existence.
    
  • USER
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    DESCRIPTION:   
    Internal entry number of user that the query name
    will be assoicated with, usually DUZ.
    
RETURN PARAMETER DESCRIPTION
Using SCDATA to represent the return array, the following is
               found for the name passed in for the user.
the definition of the data being passed back via this RPC:

  SCDATA(1) -> 0 means no query with the passed in name was
                 found for the user

                              --- OR ---

               <n> where n is the internal entry number of the RPC