Using API / Subprogram USR1051N

With this subprogram you can perform the follwing tasks:

  • Read/write extended description or abstract of any Predict predefined or user-defined object

  • Select any predefined or user-defined object

  • Read field objects

This section covers the following topics:


Calling the Subprogram

Enter command SYSEXT at the Natural prompt. This command invokes the library SYSEXT, which contains various Natural user exits. The following is provided for each user exit:

  • a user exit subprogram (in object form)

  • a sample program (in source form) of how to invoke the subprogram

  • a text member explaining the function of the user exit.

A screen similar to the one below will appear. Page to subprogram USR1051N if necessary.

15:29:10              ***** NATURAL SYSEXT UTILITY *****             2007-05-31
User HNO                            - Menu -                   Library SYSEXT  
                                                                               
Cmd  Source    Interface  Comment                                          Prod
 _   USR1038P  USR1038N   Retrieve characteristica of the current platform  NAT
 _   USR1040P  USR1040N   Get or set the UDB Parameter                      NAT
 _   USR1041P  USR1041N   Install Error Transaction (*ERROR-TA)             NAT
 _   USR1042P  USR1042N   Get or set the value of the UPDATE command        NAT
 _   USR1043P  USR1043N   Perform Adabas direct calls                       NAT
 _   USR1047P  USR1047N   Dynamic switch of file name                       NVS
 _   USR1048P  USR1048N   Modify PF-key labels                              NAT
 _   USR1050P  USR1050N   Get or set a work file name                       NAT
 _   USR1051P  USR1051N   Interface to various PRD data                     PRD

 

Enter a question mark in the Cmd column to display a list of possible actions. Enter D in this column to display a description of this subprogram.

When you add an extended description, specify a negative value in SL-NUM after the last line you passed.