Discuss (6 posts)
MC Press Web Site Staff
TechTip: RPG Talks to the Desktop
Nov 25 2007 22:16:00
This is a discussion about TechTip: RPG Talks to the Desktop.

Click here for the article.

#145208
Denny Davis
TechTip: RPG Talks to the Desktop
Nov 07 2007 15:24:00
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
#145209
aaronbartell@gmail.com
TechTip: RPG Talks to the Desktop
Nov 07 2007 17:50:00
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
#145210
TechTip: RPG Talks to the Desktop
Nov 20 2007 10:55:00
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
#145211
aaronbartell@gmail.com
TechTip: RPG Talks to the Desktop
Nov 25 2007 22:16:00
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
#145212
aaronbartell@gmail.com
Re:TechTip: RPG Talks to the Desktop
Dec 15 2007 22:30:24
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. 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 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: START javaw -cp jt400.jar;RPG2DT.jar com.mowyourlawn.RPGToDesktop 192.168.0.33 JUSTIN DDFF3322 QGPL RTDDQ 00001 Let me know if you still have problems. Aaron Bartell http://mowyourlawn.com
#151674

Discuss...
User Rating: / 0
PoorBest 
   MC-STORE.COM