首页 > 其他分享 >autosys set global viriables

autosys set global viriables

时间:2023-07-02 13:08:36浏览次数:46  
标签:DATEVAR do end name global dat viriables variable autosys


http://www.unix.com/unix-advanced-expert-users/70182-autosys-variable.html

Hi All,

I need to load a file which has a date in the name. Sort of like this:
filename.20080619.dat
I created an autosys variable that has that date as the value 20080619 which name is DATEVAR
When I use that variable in the 'command' part of the job, I need to append the ".dat" next to the variable like:
command: load.sh filename.$$DATEVAR.dat

What happens? Autosys thinks my variable name is DATEVAR.dat and not DATEVAR, so the command calls the worng file name.

My question is, how do I append a text at the end of the variable? Separate the variable with quotes? double quotes?

There is a quick workaround which is adding the .dat at the end of the value, so the variable would be DATEVAR=20080619.dat , but I want to do it the other way.

 

 

sendevent -E SET_GLOBAL -G DATEVAR=20060617

I already did that. Now, how do I append a string at the end of the "calling" of the variable?

If I do this

command: touch filename.$$DATEVAR.tag
autosys will think the name of the variable is DATEVAR.tag
I want to add text at the end of the variable so that I can construct a name ... like an email, for instance:
sendevent -E SET_GLOBAL -G NAME=fabian
sendevent -E SET_GLOBAL -G [email protected]

how to I call those variables together in job so that the result is

 

标签:DATEVAR,do,end,name,global,dat,viriables,variable,autosys
From: https://blog.51cto.com/u_16174476/6604395

相关文章

  • autosys document
    http://support.ca.com/phpdocs/0/common/impcd/r11/troubleshooting/doc/autsys_diag_tips_110607.pdf autsys_diag_tips_110607.pdf http://writetrends.files.wordpress.com/2009/09/autosys-edk2uaj45cie.pdfUnicenterAutoSysJobManagementTableofContentsIntrodu......
  • VS2022 - 取消global using
    如何取消globalusing?最近下载最新版VS之后,会自动生成GlobalUsings.g.cs,每次都想删除掉,但是都不好用,查了官网,需要手动添加如下配置:<ImplicitUsings>disable</ImplicitUsings>在csproj文件,也就是双击项目名,可以打开<ProjectSdk="Microsoft.NET.Sdk.Web"><PropertyGroup>......
  • GlobalMapper教程(DSM转点云)
    1.GlobalMapper将dsm先转点云分类树木房屋后生成等高线:https://www.bilibili.com/video/BV1V5411Q7Fv/2.35_Globalmapper专业版GlobalMapper_从入门到入土教程_用GM分类Lidar点云提取...:https://www.bilibili.com/video/BV16u411r76M/3.GlobalMapper1—点云分类-提取地面点......
  • GlobalProtect配合privacyIDEA对接ldap做二步验证
    #Authorhttps://cnblogs.com/id404GlobalProtect的和privacyIDEA的安装部署及基础设置可参考前一篇博文https://www.cnblogs.com/id404/p/17484847.html PaloAlto设备在前一篇文章的基础不需要修改,本文重点在privacyIDEA的配置上 一、对接ldap   点击TestLDAP......
  • LEARNING TO SAMPLE WITH LOCAL AND GLOBAL CONTEXTS FROM EXPERIENCE REPLAY BUFFERS
    发表时间:2021(ICLR2021)文章要点:这篇文章想说,之前的experiencereplay的priority比如PER,都是单个transition独立设置的,并没有考虑transition之间的关系。这篇文章提出了一个叫NeuralExperienceReplaySampler(NERS)的learning-basedsamplingmethod。这个方法用强化的方式来......
  • MySQL的wait_timeout 参数 set global 设置不生效
    MySQL服务连接数突然暴增,登录服务查看大都是sleep进程,并且1分钟会启用一个新的连接,紧急处理方案是需要手动去释放连接数。登录服务器查看当前超时时间mysql>showvariableslike'%timeout%';+-----------------------------+----------+|Variable_name|Valu......
  • 全局过滤器------GlobalFilter
    前言SpringCloud的网关提供了31中过滤器,但这些过滤器作用都是固定的。如果我们希望拦截请求,做自己的业务逻辑就需要用到全局过滤器。全局过滤器作用全局过滤器的作用也是处理一切进入网关的请求和微服务响应,与GatewayFilter的作用一样。区别在于GatewayFilter通过配置定义,处理......
  • GlobalProtect 客户端证书认证
    GlobalProtect客户端证书认证 GlobalProtect的基本配置可参考博文https://www.cnblogs.com/id404/p/17465413.html 本文不再叙述最终效果是客户端未安装客户端证书时无法登陆,每个客户端可安装各自证书 一、证书配置文件新建证书配置文件,一定要选择右下角的阻止具有过......
  • GlobalProtect配合privacyIDEA做邮箱二步验证
    一、privacyIDEA安装先安装好ubuntu22.04.2LTS #下载签名密钥wgethttps://lancelot.netknights.it/NetKnights-Release.asc#确认指纹gpg--import--import-optionsshow-only--with-fingerprintNetKnights-Release.asc#添加签名密钥mvNetKnights-Re......
  • Tigers Global Logistics EDI 需求及SaaS解决方案
    TigersGlobalLogistics是一家国际物流公司,总部位于香港,成立于1998年。该公司提供全球物流服务,包括仓储、运输、海关通关、电商物流等。TigersGlobalLogistics在全球范围内拥有超过70个仓库和物流中心,并在美国、欧洲、亚洲、澳大利亚和拉丁美洲等地设有分支机构。TigersGlo......