PDA

View Full Version : [CLOSED]Data not in Valence Libr.


rodiusd
03-08-2010, 09:08 AM
Hello,

our application depend on data been separated from pgm's. So in different libraries.

We created a enviroment with libs DATA, PGM, VALENCE21.

So when selecting this environment and try to start the "Autocode" feature it dont find the file.

In the environment settings, we can select the library where the RPG objects and sources will be placed, but are not able to indicate the place of the data files.

Has someone an idea ??

robert.swanson
03-08-2010, 09:27 AM
Hi,

In order to minimize database I/O on the back-end, the Valence CGI jobs load the environment library lists into memory. This way when the CGI jobs switch between environments they don't require the overhead of loading the lib lists from disk over and over.

So if you make a change to an environment library list, you must stop and restart the Valence server instance in order for it to take effect:

ENDTCPSVR SERVER(*HTTP) HTTPSVR(VALENCE21)
STRTCPSVR SERVER(*HTTP) HTTPSVR(VALENCE21)

You should also ensure any sessions already using the changed environment log off and on again.

-Rob

sean.lanktree
03-08-2010, 09:29 AM
Additionally, you must log out and then log back in too....

rodiusd
03-08-2010, 10:42 AM
Thanks a lot.

The restart did the trick.