mainframe

Cobol v6.2 NUMCHECK option compatibility

北城余情 提交于 2020-01-03 03:18:08
问题 We can't turn off the NUMCHECK option for our new COBOL V6.2 compiler because we can't trust the content of our numeric variables. The problem is, that when we turn it on, it's not fully compatible with the COBOL 4 we had previously at our organization. Specifically - when an unsigned packed variable contains X'123C' , COBOL 4 would have accepted it and let us continue, but COBOL 6.2 with NUMCHECK(PAC,ABD) abends, and only willing to accept X'123F'. This is a real issue for us regarding

Reading a mainframe EBCDIC File [closed]

删除回忆录丶 提交于 2020-01-03 02:50:13
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 years ago . I have a EBCDIC coded mainframe file which I need to convert to an ASCII format. Which libraries/tools can I use to do that. I am most familiar with Python. The file I received has a cookbook with it, which can be used to parse the file (part of it is below). What do types: 'C', 'P' and 'B' mean? I'm guessing C

teaching my self Z/OS assembler?

痴心易碎 提交于 2019-12-31 10:46:10
问题 'I've interned at a company that does a lot of mainframe work. Most of my mainframe experience has been using Java and Unix System Services. I've had some experience with the ISPF interface and C but none with assembler. I’m graduating shortly and will be taking an independent study my last semester. I’d like to stick with the mainframe and was wondering what resources could teach me mainframe assembler? Note I don’t have experience writing assembler for any platform but do understand binary,

How to “sleep” in mainframe COBOL?

血红的双手。 提交于 2019-12-30 16:20:33
问题 I think I'm using Enterprise COBOL for z/OS. What's a technique to emulate the functionality of, for example, the standard C library's sleep() function? 回答1: Probably the easiest method is to use the Language Environment callable service CEE3DLY or CEEDLYM. 回答2: I don't know whether you have found your answer or not. There is an IBM program that enables the machine to sleep ... or to wait : its name is ILBOWAT0 . Here is the link of a very good example on how you can code it : http://www

How do you edit a Binary Mainframe file in the RecordEditor using a Cobol Copybook (pt1)

蓝咒 提交于 2019-12-29 08:12:31
问题 How do you edit a Single-Record-type Binary Mainframe file in the RecordEditor using Cobol Copybook on a Windows or Linux PC. Note: This is an attempt to split a very broad question into a series of simpler Question and Answers. 回答1: To Edit a File in the RecordEditor with a Cobol Copybook you must first load the copybook and then edit the file Loading the Cobol Copybook into the RecordEditor Select Record Layouts >>> Load Cobol Copybook menu options On the Cobol Load Screen enter the Cobol

Convert Mainframe Binary to Ascii Using any Open Source Code or Tool

﹥>﹥吖頭↗ 提交于 2019-12-28 16:19:11
问题 How can I convert a mainframe binary file (EBCDIC) having cobol copybook as record layout information to ASCII file by keeping in mind regarding the packed and zoned decimal format using any Java API or Open source tool? 回答1: Reading in Java If you want to Read Mainframe Cobol Files in java, have a look at JRecord - You will have to specify the charset (font). For US EBCDIC use CP037. Legstar - Have variety of Mainframe - Cobol Tools CB2java - Has not been updated in a while (not supported

My output file has an input file which i need to point to another step as input file in JCL SORT ? How can I proceed?

天大地大妈咪最大 提交于 2019-12-25 17:19:58
问题 In First step in my jcl i have an output file example ABC.DEF inside this i have another file XYZ.DEF in next step i need to point XYZ.DEF as SORTIN file how to proceed with this ? 来源: https://stackoverflow.com/questions/58993624/my-output-file-has-an-input-file-which-i-need-to-point-to-another-step-as-input

Drools .drl files giving runtime error on ZOS

懵懂的女人 提交于 2019-12-25 16:48:23
问题 I have created a runnable jar containing drools engine functionality (.drl files are also inside jar) while running on windows the output is fine but on ZOS I get the below error with respect to .drl files. java.lang.RuntimeException: Error while creating KieBaseÝMessage Ýid=1, kieBase= rules, level=ERROR, path=rules/Sample.drl, line=1, column=0 text=ÝERR 101¨ Line 1:41 no viable alternative at input ''¨, Message Ýid=2, k ieBase=rules, level=ERROR, path=rules/Sample.drl, line=1, column=0 text

What's wrong with my C-code?

别等时光非礼了梦想. 提交于 2019-12-25 06:57:44
问题 Working in z/os mainframe, I have the following situation. I can't record a transaction. here is my code, it is written for transaction using jcl. Bur something goes wrong. /* Include standard C header files */ #include <ctype.h> #include <stdio.h> #include <stdlib.h> #include <string.h> /* Include WebSphere MQ API header file */ #include <cmqc.h> /* Boolean constants */ #define TRUE 1 #define FALSE 0 /* Function prototypes */ void displayUsage (char *programName); void displayMQError (char

how to automate jcl to run a cobol program on mainframe

*爱你&永不变心* 提交于 2019-12-25 05:45:07
问题 We have a COBOL batch program that we are able to execute manually from JCL. We want to automate this process so that it can execute every 15 minutes. Is there a way to automate the execution of a batch program on the mainframe? I'm a PC guy and I know in windows I can create a .BAT file and set it up in Task Scheduler to run every 15 minutes. I'm essentially trying to do the same thing on the mainframe. 回答1: Is there a way to automate the execution of a batch program on the mainframe? Yes.