7.97 PERSIST

Note: Usage options

The PERSIST command is used to define the fields and lists whose values are to be stored for the session on the server after the processing of a SRVROUTINE has completed.

Server processing jobs are used as required, so there is no specific job related to the any given session. LANSA maintains persisted data and restores it each time a request is made.

Typically, data such as the USERID is persisted so that it doesn't have to be passed to the server for each request.

Also See

7.97.1 PERSIST Parameters

7.97.2 PERSIST Example

 

                                                           Required       

                                                                           

    PERSIST   >-- FIELDS ----------- field ------------------------------>       

             

              >-- LISTS  ----------- field ------------------------------>