TRANSACTION的执行过程

Conda更新或安装包时出现Verifying transaction: failed+RemoveError的解决方法 懒人请直接使用下面代码先更新conda,即可。 conda update --force conda 有兴趣看下面求索过程???????????? 为了图方便,想使用conda install nb_conda来让jupyter notebook或jupyter lab自动生成对应所有虚拟环境的Kernal。 conda install nb_conda 不料,懒人没做成,安装失败,最末尾显示: Proceed ([y]/n)? y Preparing transaction: done 阅读详情

                         TRANSACTION的执行过程  

When a TRANSID enters the CICS system

1.       Transaction Manager (XM) search the Program Control Table (PCT) to validate the TRANSID. The PCT contains an entry for each valid TRANSID, as well as the name of program required to process such a transaction.

2.       XM then calls the Storage Manager (SM) to create control block called the Task Control Area (TCA) to keep track of task processing. A separate TCA is associated with each task.. Once a TCA has been create for the task, it is Ready to Execute.

3.       XM selects a task that is Ready to Execute, it sends the task to another CICS component called the Dispatcher. CICS stores a pointer to the TCA of the currently dispatched task in the Common System Area (CSA).

4.       When a task is dispatched for execution, control is passed to the Program Manager (PG). PG searches the Program Processing Table (PPT) for the name of the module to receive control. The PPT contains an entry for each program module and specifies:

l         The name of the module

l         Its virtual storage location, if already loaded

l         Its location in the application program library

If the target application is already loaded into virtual storage, the PG passes control to it and allows it to execute as required. If the program is not already loaded, the PG locates it in the program library and loads it into virtual storage before passing control to it.

5.       When the currently executing program module terminates, the PG again receives control and determines what to do next.

 

Multitasking

During processing, a task alternates among three different states:

l         Ready to Execute

l         Executing

l         Waiting

1.       Once a TCA has been created for the task, it is Ready to Execute. Several tasks may be Ready to Execute at one time, and the XM orders them according to their CICS-assigned priority status.

2.       The task which has the highest priority will execute immediately.

3.       While a task is executing, it has control over the CPU. When the task requires CICS to perform a service on its behalf (e.g. to read in some data), the task give up control of the CPU and waits for the request service to complete. At this stage the task is Waiting.

4.       While the first task is Waiting, the next task that is Ready to Execute can be executed. This is how CICS performs multitasking.

 

 
Binder学习笔记(十二)—— binder_transaction(...)都干了什么? binder_open(…)都干了什么?在回答binder_transaction(…)之前,还有一些基础设施要去探究,比如binder_open(…),binder_mmap(…),这些调用是在打开设备文件/dev/binder之后必须完成的程式化操作,而在它们内部需要做一些数据结构的准备。首先来看binder_open(…) kernel/drivers/staging/android/bin 阅读详情

相关推荐

解决conda install 软件时出现如下错误信息:Preparing transaction: done Verifying transaction: failed

问题描述: 在安装 Pytorch时 开始安装时一直出现以下提示: (base) D:\software\python>conda install pytorch-1.5.1-py3.7_cuda92_cudnn7_0.tar.bz2 Preparing transaction: done Verifying transaction: failed 尝试用其他文章的办法,更改压缩包权限后,发现安装还是有问题 解决方案: 最后,尝试其他方法最终找到解决方案! 使用管理员方式运行.

jesse66666的博客 1万+

创建环境时提示:ERROR conda.core.link:_execute(502)

创建环境最后Executing transaction ,编译提示An error occurred while installing package 'https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge::setuptools-65.5.1-pyhd8ed1ab_0'. 删除conda-forge源,配置mainpytorch源,再次创建环境,成功。

六月闻君 4046

创建虚拟环境时一直出现CondaVerificationError错误解决办法

ps:没解决问题但是意外发现了, conda clean --all是清除conda缓存,他清理了conda缓存目录中下载的包文件、索引文件、和不必要的缓存文件,释放了空间,对于其他已经创建好的环境没有什么直接影响。对于这个问题没用但是可以清除出来好多内存哇,也算是额外收获了。也就是报错中说的那个文件,(还要记得去删envs里面之前尝试创建虚拟环境失败的那个虚拟环境名对应的文件夹),再次运行创建环境的那条指令,问题得以解决,环境创建成功。

weixin_62313700的博客 1598

(2, ‘系统找不到指定的文件。‘, None, 2, None)setuptools-65.5.1-pyhd8ed1ab_0

Preparing transaction: done Verifying transaction: done Executing transaction: failed ERROR conda.core.link:_execute(502): An error occurred while installing package 'http://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge::setuptools-65.5.1-pyhd8ed

m0_59557249的博客 3894

sys.dbms_transaction.local_transaction_id出现的问题

同事反映,删除一条数据总是没有反应,请求协助解决.  问题非常明显,肯定是有某个session在block他的session,导致一直在等待资源的释放.于是很快将问题定位,得到如下数据:  Java代码   SESS    ID1 ID2 LMODE   REQUEST TYPE    CTIME   BLOCK   Holder: 389 17267   0 

欧辰的专栏 1万+

ibatis执行sybase存储过程报错Stored procedure 'proc_acctquery' may be run only in unchained transaction mode

ibatis执行sybase存储过程时报错 Stored procedure 'proc_acctquery' may be run only in unchained transaction mode Caused by: com.sybase.jdbc3.jdbc.SybSQLException: Stored procedure 'proc_acctquery' may be

iailp47的博客 1713

SQL TRANSACTION 事物

1 --SELECT @@error // 全局错误 默认是0 2 3 BEGIN TRANSACTION 4 TRUNCATE TABLE cfb 5 SAVE TRANSACTION a 6 DELETE from ksbmb 7 ROLLBACK TRANSACTION a 返回到a的位置 cfb 清空了 但ksmbm 没有执行 转载于:ht...

weixin_30823683的博客 69

mysqldump单表备份加--single-transaction --master-data=2参数执行过程的内部剖析

开启general_log: mysql(mdba@localhost:(none) 01:08:55)>set global general_log=on; Query OK, 0 rows affected (...

csd753111111的博客 727

ZooKeeper :Java客户端执行批量任务和Transaction API介绍

ZooKeeper :Java客户端执行批量任务和Transaction API介绍 在上一篇博客中,博主介绍了Watcher API的使用: ZooKeeper :Java客户端Watcher API介绍 这篇博客,博主给大家介绍如何执行批量任务和Transaction API的使用。为什么需要执行批量任务的功能?原因也很简单,因为可以有效的降低处理多任务时的耗时,主要是可以减少客户端与服务端的连接、验证以及数据传输等耗时操作的次数,当然批量任务也不能太多,不然数据包太大,可能因为网络问题导致丢包和重

kaven 1915

Winscope中抓取Transaction相关的原理剖析

首先这个service call就是直接调用到SurfaceFlinger这个service的onTransact方法,1041代表是code,i32代表是data的int类型,1和0代表就是值。那么选着Transaction选项后抓取Winscope,看看winscope_proxy.py程序的相关输出,看看有没有线索可以查到是如何获取系统的相关Transaction数据。在使用Winscope过程经常会有如下的一些选项供我们进行选择,不同的选项最后就会展示不同的数据项出来。具体这些数据是哪里来的呢?

learnframework的博客 1458

pragma autonomous_transaction的作用

今天在公司要写一个存储函数,看到以前有人写的存储函数里面包含了这个pragma autonomous_transaction, create or replace function CG_GET_RWH return VARCHAR2 is PRAGMA AUTONOMOUS_TRANSACTION; v_xh number; v_nd varchar2(8):=to_char...

weixin_43997738的博客 1542

EOSIO源码分析 - 交易transaction投递执行流程

带你深入理解eosio合约的执行机制,如果我们自己写个区块链,需要考虑哪些方面

whg1016的专栏 505

Oracle 在存储过程或函数中执行字符串sql

有时,我们需要在存储过程或函数中根据条件拼凑一些sql字符串语句,然后再执行拼凑后的sql字符串,如何做到呢? 参考以下代码: FUNCTION CALCULATE_TARGET_SCORE (CUR_MONTH IN NVARCHAR2) RETURN NCLOB IS PRAGMA AUTONOMOUS_TRANSACTION; TVALUE_SQL ...

weixin_33968104的博客 750

java调用数据库函数传值有误导致Transaction错误

在调用函数时出现Transaction错误,定位了好久,才发现,原来是dlIdToBeIgnored这个值传了个null Map retMap = new HashMap(); CallableStatement callStmt = null; String sql = "{?=call VALIDATION_UTIL.check_data(?,?,?,?,?,?,?,?)}";

zwc_2007的专栏 1205

Oracle Backout Transaction

闪回事务又名撤销事务(Backout Transaction),能够撤销一个或多个事务的修改,其功能由一个名为DBMS_FLASHBACK.TRANSACTION_BACKOUT的存储过程实现。该存储过程的工作原理是自动分析重做日志,挖掘出变更前的值用以构建撤销SQL(Undo SQL),然后执行撤销SQL最后达到撤销事务的目的。为了该功能可以正常使用,至少需要事先启用主键补充日志。另外,为了能够

dba成长之路 1883

C# 执行SQL事务解析

SQL事务的好处,不在多说,重点说下C#下 执行SQL事务 C# 执行SQL事务 又两种方法(本人总结的) 1.通过存储过程。 2.通过C#中提供的 Transaction 。 下面分别说明: 1.通过存储过程。即是把SQL事务的COMMIT TRANSACTION 、ROLLBACK TRAN、写在存储过程中,通过C# 执行存储过程,来执行。如果采用MVC 建议采用此方法。下面给...

weixin_30265171的博客 169
上一篇: CICS Component
下一篇: CICS DB2 Attachment Facility
Mainframer
博客等级 码龄19年 7粉丝 45原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值