Dynamic transaction routing - IBM
文章推薦指數: 80 %
In this case, the value of the TD Dynamic attribute is yes in the local definition for that transaction. Dynamic transaction routing enables you to define how a ... Dynamictransactionrouting Transactionroutingcanbeeitherstaticordynamic:Withstatictransactionrouting,thetransactionisrouted tothesystemthatisnamedwiththeRemoteSysIdattribute intheTransactionDefinitions(TD)for thattransaction.Inthiscase,thevalueoftheTDDynamicattribute isnointhelocaldefinitionforthattransaction. WithDynamictransactionrouting,thetransactioncanbe dynamicallyroutedtoanyavailablesystem,eitherremoteorlocal, whenthetransactionisstarted.Inthiscase,thevalueoftheTDDynamicattribute isyesinthelocaldefinitionforthattransaction. Dynamictransactionroutingenablesyoutodefinehowatransaction istoberouteddependingonsuchfactorsas:Inputtothetransaction AvailableCICS®systems Relativeloadingoftheavailablesystems Also,aroutingprogramcanperformotherfunctionsbesidesredirecting transactionrequests,suchas:Balancingofworkload.Forexample,inamultiple-CICSenvironment, yourprogramcouldmakeintelligentchoicesbetweenequivalenttransactions onparallelsystems. Handlingtransactionsthatcannotberouted,suchaswhennoremoteCICSregions areavailable. Handlingabendsintherouted-totransaction. Monitoringthenumberofrequeststhatareroutedtoparticular systems. DynamictransactionroutingcannotbeusedtorerouteremoteATI requests. CICSmanagesdynamictransactionroutingthrough theuseoftheCICS-supplieddynamictransactionroutinguserexit. Thisuserexitisinvoked:BeforeroutingatransactionthatisdefinedasDynamic=yes Ifanerroroccursinrouteselection Attheendofaroutedtransactioniftheinitialinvocationrequests reinvocationattermination Ifaroutedtransactionabendsandtheinitialinvocationrequests reinvocationattermination ParametersarepassedinastructurebetweenCICSand thedynamicroutingprogram.Theprogrammightchangesomeofthese parameterstoinfluencesubsequentCICSaction. Theparametersinclude:Thereasonforthecurrentinvocation. Errorinformation. Thenameofthetargetsystem.Initially,thisisthesystemthat isspecifiedwiththeTDRemoteSysIdattribute.Ifissystem isnotspecified,thenamethatispassedisthatofthelocalsystem. Thenameofthetargettransaction.Initially,thisisthename thatisspecifiedwiththeRemoteNameattribute.Ifatarget transactionisnotspecified,thenamethatispassedisthename ofthelocaltransaction. ApointertotheCWA. ApointertotheTCTUA. Auserarea. Adynamictransactionroutingprogrammustfollowstandarduser exitrules. CICSsuppliesasampleprogramthatcanbeinvoked bytheuserexit,butyoucanreplacethiswithoneofyourown.To dothis,defineyourprograminthePDoftheregionandsettheUserExitNumberattribute to25. AlthoughtheRemoteSysIdandRemotenameattributes areusedbythedynamictransactionroutinguserexitforrouting thetransactions,theyareignoredwhenthetransactionsarerunlocally. Ifyousetupthedynamictransactionroutinguserexittoallowa transactiontorunlocally,youneedtodefinethelocalprogram. Thisuserexitisnotinvoked:Whenthetransactionthatisdefinedasdynamicisstartedin anintermediateapplication-owningregion.CICSattempts toabendsuchtransactionsbutcannotdetectallattemptsto“daisy chain”dynamictransactions.Youmustensurethatyourdynamictransaction routingprogramdoesnot“daisychain”dynamictransactions. Whenaproblemoccursbecauseoflackofstoragewhiletheparameter listorstandardheaderfortheuserexitisbeingbuilt.Thiscauses thetransactiontoabend. WhenthedynamictransactionisstartedinaTerminal-OwningRegion byacommandofthefollowingtypethatisissuedinanApplication-Owning Region:EXECCICSSTARTTERM(yyyy)TRAN(xxxx) In thiscase,theuserexitisnotinvokedandthetransactionisrouted backtothesystemwheretherequestwasissued.
延伸文章資訊
- 1Transactions - Dynamics GP | Microsoft Docs
Microsoft Dynamics GP Analytical Accounting Part 2: Transactions ... The Transaction Dimension De...
- 2Dynamic currency conversion - Wikipedia
Dynamic currency conversion (DCC) or cardholder preferred currency (CPC) is a process whereby the...
- 3Dynamic Transaction Definition | Law Insider
Dynamic Transaction means, collectively, the purchase and sale of the Dynamic Shares by Dynamic a...
- 4Dynamic Transactions | Toc - Wiki GeneXus
- 5Dynamic Transaction Costs Definition | Law Insider
Define Dynamic Transaction Costs. means the sum of the Financial Advisory Fee (as defined in the ...