You could do this rather easily by having a Java Agent run that uses the
Java Toolbox.  You can have the form take the AS/400 command entered,
pass it to the Java Agent, and then the agent would run the command
'directly'.
This way all the work is done in Notes. Nothing would have to be done in
the back-end or DECS.

--
------------------------------------------------------
Scott P. Johnson
Apps Dev Team Coordinator
IBM Certified Specialist - AS/400 RPG Programmer
Highsmith Inc.
W5527 Hwy 106, PO BOX 800
Fort Atkinson, WI 53538-0800
TEL:  920-563-9571                FAX:  920-563-7395
sjohnson@highsmith.com
www.highsmith.com
------------------------------------------------------




I was wanting to pass a string as a parameter to a RPGIV
program and let RPGIV do all the work.  As it stands right
now, I'm going to use DECS to put it in a database and have
another RPGIV program waiting for this data all the time.
(Theirs only one text box on the form and you have to enter
 an AS/400 command, then I need to the execute command on
 the 400). Now I'm having to write a dataque (on the 400) that
waits for me to enter a command then it executes. I just didn't
know how to kick off the RPG program when a command was entered
(in the Notes form) without having a dataque running all the time
on the AS/400. If you know of a way please let me know.





As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.