Couldn't you use the job class's getJobSwitches() method?
Mark Walter
Sr. Programmer/Analyst
Hanover Wire Cloth a div of CCX, Inc.
mwalter@hanoverwire.com
http://www.hanoverwire.com
717.637.3795 Ext.3040
suneethakalapala@lincsoftwar
e.soft.net To:
JAVA400-L@midrange.com
Sent by: cc:
owner-java400-l@midrange.com Subject: Job
switches
07/13/01 08:31 AM
Please respond to JAVA400-L
Hi all,
I have a Java program which calls a CL program which sets the Job switches
(U1-U8) based on certain conditions.
How can I check if these switches are on or off in my Java program.
I am using Jt400 and AS400 Tool Box for Java.
Thanks in advance,
Suneetha.
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---
+---
| This is the JAVA/400 Mailing List!
| To submit a new message, send your mail to JAVA400-L@midrange.com.
| To subscribe to this list send email to JAVA400-L-SUB@midrange.com.
| To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: joe@zappie.net
+---