PA API (8.5)

PA API (8.5)

PA: Profile Access

This API can be used to retrieve or update an individual field from a configuration file such as EL850S.CFG or EL850U.CFG.

Screen Parameters: PA,FN,Section

Input:

FN = RD to read, UP to update

Section = Configuration file section (required) -- Note: You must include path information.

Screen-Menu = file, e.g., M:\Elliott8\Bin85\EL850.CFG (required - maximum of 80 characters)

Screen-Literal = Key name for the section (required)

Screen-Alpha-Field = update value (for FN=UP only)

Output:

Screen-Alpha-Field = Key value if successful 

Screen-Answer = “Y” if successful, “N” if not

If not successful, Screen-Alpha-Field will contain spaces.

Note:  The file name must include path information, even if it is just ".\filename.ext".  This is because the Windows APIs used will read from and write to a system directory (instead of the current directory) if the filename does not include any path information.


JEG




    • Related Articles

    • FA API Changes (V9.0)

      FA: File Access (Without File Handling) This API can be used to retrieve an individual field from a specific record in a file without specifying the file in the program and without opening and closing the file. In its simplest form, one can, for ...
    • Programming API Codes

      This document is provided for Elliott software developers. If you are not an Elliott software developer, this document is not meaningful for you. AP: Get SMA Values This API returns various values from the Shared Memory Area. For example: Move ‘AP’ ...
    • Sequential File Access Status Code

      Q - After the recent update, a user had a problem adding ship-to in Order Entry. The user got the error Error 3/005 on Company File. This may indicate a network problem. Then the following message appeared: Company file not found. Only SUPERVISOR can ...
    • DD API Changes (V9.0)

      DD: Drill Down The Drill Down API allows the developer to drill down to another Elliott application. The information provided in SCREEN-PARAMETERS will give the system the correct information to determine if the user has rights to the application ...
    • VA API Changes (V9.0)

      VA: Verify Access Elliott V9.0 supports a series of 999 security flags to control access by users to specific features in the software. At runtime, the VA,nnn API is sent (where nnn is a number identifying the security flag) and either “Y” or “N” is ...