zos

Triggering jenkins build over ssh?

倾然丶 夕夏残阳落幕 提交于 2021-02-19 04:50:26
问题 I'm trying to trigger a Jenkins build from a USS (unix on z/os) git repository. The jenkins server is running in tomcat on my local windows machine. Most examples on the web describe a solution like this: http://www.andyfrench.info/2015/03/automatically-triggering-jenkins-build.html and I managed to get that working on my home pc from a local windows-based git repo to my locally running jenkins server. Basically, this involves creating a post-commit hook and invoking a special Jenkins git

Convert Java Timestamp in TOD Format (Time of Day) on z/os

倾然丶 夕夏残阳落幕 提交于 2021-01-28 05:28:44
问题 As the Search Method "readSearch" of the ZLogstream class needs the Timestamp in TOD format, I've to convert the JAVA Timestamp in TOD (Time of Date) format. I couldn't find any class (wrapper), which does that for me. Only the getTodClock of the ZUtil class give me the current TOD (Time of Date),but I couldn't convert any timestamp in the right format. Could anybody help me? Thanks in advance. 回答1: This works for me in a Rexx procedure: Tod = (epoc*4096000000)+9048018124800000000 TOD (Time

关于java调用浏览器下载sqllite db文件的后续及zip压缩代码

試著忘記壹切 提交于 2020-10-26 05:13:36
说明 : 刚写一篇关于导出db文件为sql脚本的文章 -- https://my.oschina.net/u/3774949/blog/4470489 但是如果数据量特别大的话就可能很慢,原来是因为导出db文件乱码所以想解析数据库并生成sql脚本方式, 就在刚刚破案了 ,果不其然确实是前端js部分出了问题 先把前端代码贴出来吧 // 按说blob和 arraybuffer都是一样处理二进制的但是看了下介绍说arraybuffer比 blob更贴近原型 axios ({ url : '/api/backups/backupsDownLoad' , method : 'GET' , responseType: 'arraybuffer' , params : { name : backups. name } }). then ((res) => { console . log (res) const content = res. data const blob = new Blob ([ content ], { type : "application/octet-stream" }) let fileName = backups. name . substring ( 0 , backups. name . indexOf ( "." )) + ".db" ; if (

Java zip压缩及客户端下载

|▌冷眼眸甩不掉的悲伤 提交于 2020-08-10 13:26:58
package cn.jxjycn.ckadmin.core.utils; import java.io.*; import java.net.URL; import java.net.URLEncoder; import java.util.ArrayList; import java.util.List; import java.util.zip.ZipEntry; import java.util.zip.ZipOutputStream; import org.apache.poi.ss.usermodel.Workbook; import org.springframework.beans.factory.annotation.Value; import org.springframework.util.StringUtils; import javax.servlet.http.HttpServletResponse; /** * @program: ckadmin * @description 压缩文件 * @author: ZhangXu * @create: 2020-06-30 16:22 **/ public class ZipUtils { public static void zip(List<String> filePaths,String

I would like to count records in all tables in the schema using SQL for DB2 z/OS v9

旧城冷巷雨未停 提交于 2020-01-15 12:15:28
问题 I try this statement select schema_name , tabs_name , ('select count(*) from' || schema_name ||'.'|| tabs_name) from sysibm.systables where schema_name = 'Sample' I would like in the string type can be execute string or must be create procedure or any? 'select count(*) from' || schema_name ||'.'|| tabs_name Thank you in advance from Thailand 回答1: Try this: Select TABLE_SCHEMA, TABLE_NAME, NUMBER_ROWS from qsys2.systablestat Where TABLE_NAME = 'Sample' 来源: https://stackoverflow.com/questions

I would like to count records in all tables in the schema using SQL for DB2 z/OS v9

我怕爱的太早我们不能终老 提交于 2020-01-15 12:15:07
问题 I try this statement select schema_name , tabs_name , ('select count(*) from' || schema_name ||'.'|| tabs_name) from sysibm.systables where schema_name = 'Sample' I would like in the string type can be execute string or must be create procedure or any? 'select count(*) from' || schema_name ||'.'|| tabs_name Thank you in advance from Thailand 回答1: Try this: Select TABLE_SCHEMA, TABLE_NAME, NUMBER_ROWS from qsys2.systablestat Where TABLE_NAME = 'Sample' 来源: https://stackoverflow.com/questions

WSO2 ESB connectivity CICS Transaction Server

左心房为你撑大大i 提交于 2020-01-14 05:39:27
问题 Need to know if WSO2 ESB can integrate with CICS Transaction Server v 3.2 on a z/OS mainframe. TIA. 回答1: CICS Transaction Server v3.2 can support standard SOAP over http calls. Is there an need for your ESB to actually know it is integrating with CICS or can you get by with a wsdl document with an endpoint at a CICS server behaving like any other webservices provider? 来源: https://stackoverflow.com/questions/16780152/wso2-esb-connectivity-cics-transaction-server

WSO2 ESB connectivity CICS Transaction Server

我是研究僧i 提交于 2020-01-14 05:39:12
问题 Need to know if WSO2 ESB can integrate with CICS Transaction Server v 3.2 on a z/OS mainframe. TIA. 回答1: CICS Transaction Server v3.2 can support standard SOAP over http calls. Is there an need for your ESB to actually know it is integrating with CICS or can you get by with a wsdl document with an endpoint at a CICS server behaving like any other webservices provider? 来源: https://stackoverflow.com/questions/16780152/wso2-esb-connectivity-cics-transaction-server

$HASP373 and IEF403I z/os syslog

ぐ巨炮叔叔 提交于 2020-01-13 10:06:30
问题 I ask myself a question about the z/os log: I just would like to know if all the operations getting started were always called by $HASP373 and IEF403I ? And for the status Ended called by $HASP395 and IEF404I ? 回答1: No. Those messages are for jobs. Not all operations are jobs. An example of an operation that is not a job would be a system command. I don't have a z/OS system at hand right now, but I believe another example of an operation that would not use the messages you reference would be

$HASP373 and IEF403I z/os syslog

若如初见. 提交于 2020-01-13 10:06:16
问题 I ask myself a question about the z/os log: I just would like to know if all the operations getting started were always called by $HASP373 and IEF403I ? And for the status Ended called by $HASP395 and IEF404I ? 回答1: No. Those messages are for jobs. Not all operations are jobs. An example of an operation that is not a job would be a system command. I don't have a z/OS system at hand right now, but I believe another example of an operation that would not use the messages you reference would be