(It's Allan, not Alan. But that is a common mistake.) I changed the Java to /usr/lpp/java/IBM/J7.0 and I also changed the run step to set PATH= (That is, PATH has no members in it when I run the program). And, as luck would have it, my program still works. I also ran the program in a script where first I unset every single environment variable.
Assuming that the COBOL compiler and Java are installed in the standard places, the shell script should look like: #! /bin/bash /usr/lpp/cobol/igy420/bin/cob2 -c -I /usr/lpp/cobol/igy420/include IBMEXAM2.cbl /usr/lpp/cobol/igy420/bin/cob2 -o IBMEXAM2 IBMEXAM2.o /usr/lpp/java/IBM/J7.0/lib/s390/libjava.x /usr/lpp/cobol/igy420/lib/igzcjava.x /usr/lpp/java/IBM/J7.0/bin/javac HelloJ.java /usr/lpp/java/IBM/J7.0/bin/javac IBMExample2.java PATH= _CEE_RUNOPTS="XPLINK(ON)" CLASSPATH=. LIBPATH=/usr/lpp/java/IBM/J7.0/lib/s390:/usr/lpp/java/IBM/J7.0/bin/classic ./IBMEXAM2 Ug... There are five lines of commands but lines 2 and 5 may be wrapped in the text above. One question I have is: what are your LE options? In particular, is XPLINK(ON) specified? ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN