Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HIS LUA Application: WLUALUACTIVE never arrive

Status
Not open for further replies.

aroncal

Programmer
Jul 30, 2003
1
PE
Hi,

I have a C program that uses LUA API for connect to AS/400 where the controler in AS/400 is automatically created but the device never is created. The configuration in the controler allow automatically device creation.

In my program, I issue the RUI function with the LUA_OPCODE_RUI_INIT verb and return inmediatly with the rui_init.common.lua_flag2.async flag is turned to "1", rui_init.common.lua_prim_rc is LUA_IN_PROGRESS and rui_init.common.lua_sec_rc if OK.

Then, the program stand by the WLUALUACTIVE message from the HIS by using the WaitForSingleObject function, but this function just return 2 times with the same message: "RUI Init verb has completed with primary rc of In Progress and secondary rc of OK." Never return again (unless the timeout interval was indicated).

In the SNA Manager, the LU (LUA) status is PENDING and the last entry in the SNA Server's trace shows:

FMI--------------------------------------------------------
FMI 01020402->091D0001 FMIST SESS
FMI Code:NO-SESS Qual:pU-ACT
FMI
FMI ---- Header at address 01194584, 0 elements ----
FMI 05430001 0003305F 4A000000 00000006 <.C....0_J.......>

What's wrong? What's mean of the trace?

Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top