NotAsynhronize running UBE from TC via job

Levis

Member
exists job. it job running TC R55SAMPLE on enterprise server.
TC code Event Row Fetched
X0010 - Get Next Number (-->01,-->1, NewAN8<--)
F0101Z2.Insert
CALL(R01010Z, ver) (there not checked checkbox Asynhronously)
F0101.Fetch Single(AN8 = NewAN8)
If File_IO_Status = SUCCESS
THEN OK


and 2 variant
F0101Z2.Insert
CALL(R01010Z, ver) (there not checked checkbox Asynhronously)
F0101Z2.FetchSingle(EDSP)
IF EDSP = Y THEN OK

it's right!?
The TC will be wait while UBE R01010Z finished work and after go to line F0101Z2.Fetch

TC work output table F55SAMPLE is a not F0101Z2

How it do if
UBE running via Interactive Application(IE 7.0) on EnterPrise Server

thank you
 
Levis,

If I understand you question, you are wanting to know

"How can I run a UBE synchronously from a web client application?"

One answer is sorry, but you cannot do this.

Another answer is that you can't do it, but you can put some sort of polling mechanism in your program that continuously checks some status table to see if the UBE has finished before allowing the client program to proceed.

Yet another answer is that you need to change your design. Having a client wait on a server process running in a batch queue and for which no decent inter-process communication method exists, is a terrible design in my opinion. There are many things which may go wrong and cause the client to hang and/or wait for long periods of time.

Good luck,
 
[ QUOTE ]

If I understand you question, you are wanting to know
"How can I run a UBE synchronously from a web client application?"

[/ QUOTE ]

Yes, but it second question. thanks for answer

But first qusetion: Are Wotk synchronously on enterprise server, where running job, where run TC, where run synhro UBE
 
Back
Top