|
Not sure this belongs here, but it's sort of qshell, environment, java ... I need to know the OS/400 limits on environment variables. Is there a maximum number of variables, length of a single variable, and/or total size of all environment variables? I seem to be running into some limitations. I am on V5R2. Simplified story: We have a shell script that calls another shell script that calls some java programs. Both shell scripts set environment variables, at least one of which is very large, over 4KB. The environment has grown as the related software has grown. Now the java program has started failing with an error ./my.sh: 001-0078 Process ended by signal 5. which I see on the qsh terminal screen (or in a QPRINT file if I run qsh in batch). I have discovered via testing that if I do not set the large environment variable, the error does not occur. Unfortunately, the large variable is a java classpath and it is necessary for other parts of the product to work. Many of these environment variables are also exported. Perhaps there is some limitation on that as well? Anybody know about these limits and if/how I can control them? THANK YOU, -Marty
As an Amazon Associate we earn from qualifying purchases.
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.