× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hello Patrik

We have been saving user options for commonly used programs for years.

It started out with a file per application and a character field hard
coded with the options. The file had User, Program and Options.

We then consolidated this information to a single file adding additional
identifiers like company, screen id etcetera.

A few years back we changed the history detail to be json which made it
much more readable and made it variable length.

There was significant improvement from a user perspective when say going
from a order inquiry to an account enquiry and the company and account
number were pre-populated based on the previous selected.

My 2 cents

cheers

Don





From: "Patrik Schindler" <poc@xxxxxxxxxx>
To: "Midrange Systems Technical Discussion"
<midrange-l@xxxxxxxxxxxxxxxxxx>
Date: 23/03/2021 08:48 PM
Subject: Application Specific User Settings: How to?
Sent by: "MIDRANGE-L" <midrange-l-bounces@xxxxxxxxxxxxxxxxxx>



Hello,

sometimes, it's desirable that users on an IBM i system can modify and
persistently save individual settings of applications. Example: A default
sorting order for some table view. But not necessarily limited to that.

Not every user necessarily has a personal library to create a PF for
saving things there. And, this approach unnecessarily clutters libraries.

Not every user necessarily has a home folder to create a file for saving
things there.

What's more, depending on how a user accesses the data, these approaches
might lack authority to access or update the files. AFAIK, the web server
runs with a separate user profile. This is less of an issue with "local"
(5250) users.

A central, application specific file would accumulate old entries (when
user profiles are deleted from the system, for example).

What is the best way to save local user preferences (mainly for 5250 users
of applications)? Any thoughts from the group on this topic?

Thanks!

:wq! PoC


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.