SBMJOB 命令的定时参数SCDDATE和SCDTIME[SBMJOB]

时间:2016-11-17 ┊ 阅读:4,574 次 ┊ 标签: 开发 , 系统 , 命令

sbmjob时有个定时参数,可以用来指定提交的作业在指定的日期指定的时间开始跑,这个比较方便我们来计划安排作业的运行,类似模拟了原来的jobscd或现在新的jobscde功能,执行一次生效。

不过当我们指定的时间里系统down机如IPL了,job还没跑怎么办?我们知道在jobscde里有个recovery action的参数用来指定当系统IPL或受限制状态情况下导致job不能按时运行时来保证job能在ipl后或受限制状态还原时补充运行。

实际上sbmjob模拟了这一参数,默认sbmrls,即是在系统恢复时job会被补充提交了跑起来。这一点我们要注意,我们需要在用这个参数时考虑到这个问题,如果出现这种情况我们是不是还需要job继续运行,及时的调整作业。

英文版本:
Q. If I use the scheduling parameters (SCDDATE and SCDTIME) on the SBMJOB command, and the system is down during the scheduled time (power failure, IPL, etc), will the job automatically run when the system comes up?

I know there is a RCYACN parm on the job scheduler’s ADDJOBSCDE command to handle this type of situation, but this parameter isn’t on the SBMJOB command, so I wasn’t sure if it just doesn’t run at all or if it will be submitted immediately.

A. The job will be submitted when the system recovers. The default for the ADDJOBSCDE command is RCYACN(*SBMRLS); the SBMJOB command emulates this default action.

sbmjob的scddate和scdtime参数:
SBMJOB SCDDATE和SCDTIME参数

SBMJOB SCDDATE详细说明p1
SBMJOB SCDDATE详细说明
SBMJOB SCDDATE详细说明p2
SBMJOB SCDDATE详细说明
SBMJOB SCDDATE详细说明p3
SBMJOB SCDDATE详细说明

SBMJOB SCDTIME详细说明p1
SBMJOB SCDTIME详细说明
SBMJOB SCDTIME详细说明p2
SBMJOB SCDTIME详细说明

附录:
ADDJOBSCDE的RCYACN参数p1
ADDJOBSCDE的RCYACN参数
ADDJOBSCDE的RCYACN参数p2
ADDJOBSCDE的RCYACN参数
ADDJOBSCDE的RCYACN参数p3
ADDJOBSCDE的RCYACN参数
ADDJOBSCDE的RCYACN参数p4
ADDJOBSCDE的RCYACN参数

文章评论

添加新评论

温馨提醒:如果您是第一次在本站留言,需要审核后才能显示哦!

相关文章

Introduction to ILE RPG Activation Groups

Introduction to ILE RPG Activation Groups

Learn how activation groups can help your ILE RPG programs run more efficiently, how to specify the type of group to use, and closing and reclaimin...
阅读全文>>
T480自动关机无法启动(解决办法)

T480自动关机无法启动(解决办法)

周五升级更新后,用一会就关机,还开不了,怎么按开机键也没有反应。 周六折腾一上午,拔电源,断电,20秒复位,把电池都拿下来了。都不行。 下午实在没办法了,给售后打电话让拿去检测一下。 然后拿售后去了,给检测一会没问题,说内存不干净给擦一下好了,开机正常了。 付款50块检测费,开心的拿回家,一...
阅读全文>>
Office 2016 Client Software License Management Tool

Office 2016 Client Software License Management Tool

Office 2016 Client Software License Management Tool Usage cscript ospp.vbs /Option:Value ComputerName User Password ComputerName: Name of remote c...
阅读全文>>
office2016 产品已激活 却同时显示需要激活(解决办法)

office2016 产品已激活 却同时显示需要激活(解决办法)

直接上命令吧: c:\Program Files\Microsoft Office\Office16>cscript.exe ospp.vbs /dstatus Microsoft (R) Windows Script Host Version 5.812 版权所有(C) Microso...
阅读全文>>
去除开始菜单ms-resource:appname/text幽灵快捷方式

去除开始菜单ms-resource:appname/text幽灵快捷方式

之前发现电脑菜单出现了这个无效的快捷方式没当回事,后来发现一直在,还没有用。尝试了各种方法,都无法删除掉。 最后终于找到了终极方法: 方法一: 以管理员模式运行PowerShell 然后在PowerShell粘上如下命令并回车: Get-AppxPackage -all Holographi...
阅读全文>>