Abend in WAIT4CMD

General discussion on the JZOS batch launcher and toolkit
Post Reply
gehlert
Posts: 7
Joined: Thu Nov 17, 2005 2:00 pm
Location: Frankfurt, Germany

Abend in WAIT4CMD

Post by gehlert »

Finally, I'm ready to try JZOS in the STC environment.

Unfortunately, I get an abend 4039, reason code 0, shortly after registering the MVS command callback (see partial dump below).

Environment is z/OS 1.6.

By the way, I get the same abend when trying to run my test program (which just registers the callback and waits for commands) from an initiator.

Any help very much appreciated...

Thx, Uli

Code: Select all

PROGRAM UNIT  PU OFFSET  ENTRY         E  OFFSET   LOAD MOD  SERVICE  STATUS             
CEEKDUMP      +000010E8  CEEKDUMP      +000010E8   CEEPLPKA  HLE7709  CALL               
CEEVSSFR      +00000012  CEEVSSFR      +00000012   CEEBINIT  HLE7709  CALL               
CEEHDSP       +00003F68  CEEHDSP       +00003F68   CEEPLPKA  UK06547  CALL               
              +000000D2  WAIT4CMD      +000000D2   *PATHNAM           EXCEPTION          
              +000000F0  ZUtilImpl::waitForMvsCommand(char*,long*)                                            
                                       +000000F0   *PATHNAM           CALL               
              +000001A2  Java_com_dovetail_jzos_ZUtil_waitForMvsCommand                                       
                                       +000001A2   *PATHNAM           CALL               
gehlert
Posts: 7
Joined: Thu Nov 17, 2005 2:00 pm
Location: Frankfurt, Germany

Post by gehlert »

I think I figured it out... I thought you had to call ZUtil.establishMvsCommandWaiter() yourself, and that's what I did in my test program. Re-reading the documentation, I found that JZOS does this for you automatically.

Dropped that call to establishMvsCommandWaiter(), and now it runs ok in batch (not sure about STC but can't check until tomorrow).
Post Reply