MD TMDRECORDID (1831)    REMOTE PROCEDURE (8994)

Name Value
NAME MD TMDRECORDID
TAG RPC
ROUTINE MDRPCOR
RETURN VALUE TYPE GLOBAL ARRAY
AVAILABILITY RESTRICTED
WORD WRAP ON TRUE
DESCRIPTION
General RPC for VA Fileman functions.
SAVEFDA:  Saves any data stored in FDA
CLEARFDA: Clears any data in the FDA without saving
GETDATA:  Retrieves a single field value
GETCODES: Retrieves the set of codes for a field
GETLABEL: Retrieves a fields TITLE or LABEL if no Title
GETIDS:   Returns required identifiers for a DD Number
GETHELP:  Returns Fileman help for a field
RENAME:   Validates and renames .01 field if valid
NEWREC:   Creates a new record
CHANGES:  Returns 0/1 if changes exist in FDA
 
CHKVER:   Version check Client <-> Server
LOCK:     Locks a record by DD and IENS
UNLOCK:   Unlocks record locked by LOCK option
Param 1 is passed in as the function to perform and includes the
following:
 
LOOKUP:   Performs very generic file lookup functionality
VALIDATE: Validates input to a fileman field and saves to FDA
DELREC:   Validates ability to delete and if able deletes a record
SETFDA:   Validates input and stores in FDA
INPUT PARAMETER
  • OPTION
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   YES
    SEQUENCE NUMBER:   1
    DESCRIPTION:   
    See description of RPC.
    
  • DDNUM
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   NO
    SEQUENCE NUMBER:   2
    DESCRIPTION:   
    Contains the Data Dictionary number of the item being manipulated.
    
  • IENS
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   20
    REQUIRED:   NO
    SEQUENCE NUMBER:   3
    DESCRIPTION:   
    Contains the IENS of the record being manipulated.
    
  • FLD
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   10
    REQUIRED:   NO
    SEQUENCE NUMBER:   4
    DESCRIPTION:   
    Contains field specifications for the record.
    
  • DATA
    PARAMETER TYPE:   LITERAL
    MAXIMUM DATA LENGTH:   30
    REQUIRED:   NO
    SEQUENCE NUMBER:   5
    DESCRIPTION:   
    Contains any other needed information for the call.
    
RETURN PARAMETER DESCRIPTION
Returns global array of requested data or status.