cobol

Converting EBCDIC to ASCII in java

北城以北 提交于 2019-11-27 23:43:56
问题 I am supposed to convert an EBCDIC file to ASCII by using Java. So far I have this code: public class Migration { InputStreamReader reader; StringBuilder builder; public Migration(){ try { reader = new InputStreamReader(new FileInputStream("C:\\TI3\\Legacy Systemen\\Week 3\\Oefening 3\\inputfile.dat"), java.nio.charset.Charset.forName("ibm500") ); } catch(FileNotFoundException e){ e.printStackTrace(); } builder = new StringBuilder(); } public void read() throws IOException { int theInt; while

Experience migrating legacy Cobol/PL1 to Java

断了今生、忘了曾经 提交于 2019-11-27 14:52:24
ORIGINAL Q: I'm wondering if anyone has had experience of migrating a large Cobol/PL1 codebase to Java? How automated was the process and how maintainable was the output? How did the move from transactional to OO work out? Any lessons learned along the way or resources/white papers that may be of benefit would be appreciated. EDIT 7/7: Certainly the NACA approach is interesting, the ability to continue making your BAU changes to the COBOL code right up to the point of releasing the JAVA version has merit for any organization. The argument for procedural Java in the same layout as the COBOL to

which is proven solution to connect mainframe and java ? which is best in MQ series / IBM CICS Transaction Gateway?

穿精又带淫゛_ 提交于 2019-11-27 14:33:14
which is proven solution to connect mainframe and java? Which is best in WebSphere MQ / IBM CICS Transaction Gateway? Which is best solution to connect to java and mainframe COBOL? Presuming that by "Java" you mean "Java not running on the mainframe," there are multiple ways to do this. CICS Web Services (SOAP) CICS Web Support (REST/POX) MQSeries with a triggered queue "Best" is in the eye of the beholder, it depends on what you want. None of these are new, the capability has been available for several years. For option 1, the CICS Web Services Assistant will generate WSDL from COBOL existing

Dynamically Reading COBOL Redefines with C#

醉酒当歌 提交于 2019-11-27 09:30:47
I'm making a C# program that will be able to dynamically read an IBM HOST Copybook written in COBOL and generate an SQL table off of it. Once the table is generated I can upload a file into my program and it will read, convert from IMB-37 and insert the file into that sql table. So far I can handle almost anything, although I'm running into some issues with REDEFINES. For example: 10 SOME-FIELD PIC 9(3) COMP-3. SCRRB205 4117 10 SOME-OTHER-FIELD REDEFINES 3041-17 4117 SOME-FIELD PIC X(2). 3041-17 I understand that the redefine takes the place of the field above it in this case, although what i

Docker搭建代码质量检测平台-SonarQube(中文版)

試著忘記壹切 提交于 2019-11-27 06:25:22
Sonar是一个用于代码质量管理的开源平台,用于管理源代码的质量,可以从七个维度检测代码质量。通过插件形式,可以支持包括java,C#,C/C++,PL/SQL,Cobol,JavaScrip,Groovy等等二十几种编程语言的代码质量管理与检测。 把docker-compose文件放在 Github 上面,里面已经配置好了语言包。部署很简单,两行命令搞定。 1.下载docker编排文件 项目地址:https://github.com/Jacktange/docker-sonarqube $ git clone https://github.com/Jacktange/docker-sonarqube.git $ cd docker-sonarqube 2.构建启动 $ docker-compose up -d 3.浏览器访问 http://localhost:9000,用户名和密码都是admin 如果有帮助,记得给个star噢~ 来源: oschina 链接: https://my.oschina.net/u/2862104/blog/2987712

Experience migrating legacy Cobol/PL1 to Java

♀尐吖头ヾ 提交于 2019-11-26 16:56:24
问题 ORIGINAL Q: I'm wondering if anyone has had experience of migrating a large Cobol/PL1 codebase to Java? How automated was the process and how maintainable was the output? How did the move from transactional to OO work out? Any lessons learned along the way or resources/white papers that may be of benefit would be appreciated. EDIT 7/7: Certainly the NACA approach is interesting, the ability to continue making your BAU changes to the COBOL code right up to the point of releasing the JAVA

which is proven solution to connect mainframe and java ? which is best in MQ series / IBM CICS Transaction Gateway?

放肆的年华 提交于 2019-11-26 16:48:13
问题 which is proven solution to connect mainframe and java? Which is best in WebSphere MQ / IBM CICS Transaction Gateway? Which is best solution to connect to java and mainframe COBOL? 回答1: Presuming that by "Java" you mean "Java not running on the mainframe," there are multiple ways to do this. CICS Web Services (SOAP) CICS Web Support (REST/POX) MQSeries with a triggered queue "Best" is in the eye of the beholder, it depends on what you want. None of these are new, the capability has been

Dynamically Reading COBOL Redefines with C#

社会主义新天地 提交于 2019-11-26 14:43:33
问题 I'm making a C# program that will be able to dynamically read an IBM HOST Copybook written in COBOL and generate an SQL table off of it. Once the table is generated I can upload a file into my program and it will read, convert from IMB-37 and insert the file into that sql table. So far I can handle almost anything, although I'm running into some issues with REDEFINES. For example: 10 SOME-FIELD PIC 9(3) COMP-3. SCRRB205 4117 10 SOME-OTHER-FIELD REDEFINES 3041-17 4117 SOME-FIELD PIC X(2). 3041