Denny Davis
I don\'t want to hard code the profile and password in the batch file. How do I just bring up to signon prompt. Passing " " works after you get the error message. Denny
aaronbartell@gmail.com
You should be able to achieve your objective by changing this line: host = new AS400(this.sys, this.usr, this.pw); to be host = new AS400(this.sys); in the RPGToDesktop.java object. Note you will have to rebuild the Java after the change. I use Eclipse for that. HTH, Aaron Bartell http://mowyourlawn.com
Guest.Visitor
I tried to run the Start_RPGToDesktop.bat file , but it never produced the window similar to figure 3 in your article. It did produce a window, but the only thing in the window was the message: Connecting to AS400… connected…. This window stayed on the monitor for a couple seconds and then disappeared off the monitor. After creating and compiling the system i5 command and program and data queue in library BIZON, I then tried to run the RPG2DT command , using the following statement: RPG2DT UNQKEY(00001) PCCMD(’rundll32 url.dll,FileProtocolHandler http://mowyourlawn.com’) DQLIB(BIZON) DQNAM(MYDQ) but I got the following message: Program RPG2DT not found in library *LIBL. The current library is set to BIZON. Nothing seems to work. Have I forgotten something?? Thank You Very Much, Danny
aaronbartell@gmail.com
DBizon, it sounds like this is an object resolution issue (i.e. the program either didn\'t compile or it wasn\'t found given your library list). Please double check the program compiled successfully. Aaron Bartell http://mowyourlawn.com
aaronbartell@gmail.com
This is a question sent to me (the author of this article) that I wanted to share with the rest of the thread in case somebody else makes the same mistake. [quote> I\'m trying to follow the samples in your article "RPG Talks to the Desktop" I don\'t get the expected results when I start the .bat file. My screen flashes the .bat file but I don\'t see the messages you show in the article. This is what is in my .bat file: START javaw -cp jt400.jar;RPG2DT.jar com.mowyourlawn.RPGToDesktop [/quote> The problem here is that the greater than and less than signs were kept in place. I should have declared that those needed to be taken out and were simply used as delimiters. An example of a valid invoking string would be as follows: [code:1>START javaw -cp jt400.jar;RPG2DT.jar com.mowyourlawn.RPGToDesktop 192.168.0.33 JUSTIN DDFF3322 QGPL RTDDQ 00001[/code:1> Let me know if you still have problems. Aaron Bartell [url>http://mowyourlawn.com
Please login to make comments.
User Rating: / 0
PoorBest 
   MC-STORE.COM