Processing


ImsQueryTask>>processAction 
"We invoke the IMS query txn and process txns till done. The doImsLogon can fail 
if we encounter an error. If it works we queue the work then clear/PA1 the screen to get 
the next screen image til we get an error or see the quit message. Note we pause if the 
Sybase receive process is down to prevent flooding the queue. note the pauselong to slow 
the rate we issue lpcLogon" 

| screenQueue | 
    [XyzGlobal global sqlRecvIsActive] 
        whileFalse: [self pauseLong]. 
    screenQueue := ImsQuery new. 
    screenQueue doImsLogon. 
    [screenQueue notDone] whileTrue: 
        [self processScreen: screenQueue screen. 
        screenQueue doClearPA1Screen]. 
    self pauseLong

 

Previous slide Next slide Back to first slide View graphic version

Notes: