zos

How to use period in PARM parameters (JCL)?

浪子不回头ぞ 提交于 2020-01-06 08:04:24
问题 The situation is the following. I have PARM parameters: CSQ1 - Queue manager name CARD.PAYMENTS - Request queue name CCD3050.REPLY - Reply queue name CCD3050 - Contestant user ID 400.05 - Payment amount "MY PAYMENT" - Payment description In my JCL I wrote this so: //PAYMENT EXEC PGM=PAYMENT,REGION=1024K, // PARM='CSQ1,CARD.PAYMENTS,CCD3050.REPLY,CCD3050, // 400.05,"MY PAYMENT"' I had a trouble. I wrote: // PARM=('CSQ1,CARD.PAYMENTS,CCD3050.REPLY,CCD3050', // '400.05,MY PAYMENT') And had a

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

PARM value not interpreted as expected

安稳与你 提交于 2019-12-25 16:57:49
问题 Working in z/os mainframe, I have the following situation 1) That's my JCL, which I've submited: //PAYMENT JOB MSGCLASS=H //****************************************************************** //* //* This job can be used to run an MQ application that //* communicates with a transaction running in a CICS region. //* The CICS transaction records a credit card payment in DB2. //* The payment description has a maximum length of 35 characters. //* It is enclosed within quotes below so that you may

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

FINDREP a short string with longer without overwriting next column

本小妞迷上赌 提交于 2019-12-24 17:39:11
问题 So I have a set of data such as this: mxyzd1 0000015000 mxyzd2 0000016000 xyzmd5823 0000017000 I need to use dfsort to get this data: 123xyzd1 0000015000 123xyzd2 0000016000 xyz123d5820000017000 So what I mean is: replace all character 'm' by '123' without overwriting the second column, so truncate data before you get to the second column (which starts at pos 11). So far I've been able to replace the data but can't prevent all of my data of getting shifted, this is my code so far: SYSIN DATA

Tips on getting Hudson / Jenkins working on Unix System Services z/OS

北城以北 提交于 2019-12-24 14:30:35
问题 I've read that it is possible to get a Hudson slave running on [zOS (under Unix System Services).] (http://jenkins.361315.n4.nabble.com/Hudson-slave-to-z-OS-td2265091.html) When I try it (even with the JVM option -Dfile.encoding=ISO8859_1) I get: [11/30/11 22:09:40] [SSH] Checking java version of /userhome/mjb/hudson/jdk/bin/java [11/30/11 22:09:44] [SSH] /userhome/mjb/hudson/jdk/bin/java -version returned 1.6.0. [11/30/11 22:09:44] [SSH] Starting sftp client. [11/30/11 22:09:46] [SSH]

How can z/OS call a web service? [closed]

末鹿安然 提交于 2019-12-24 02:02:37
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed 9 months ago . I have a COBOL program that needs to get data from a web service. Without using CICS what are my best options? I thought that a C program could read the web service and save it to a file, then the COBOL could read that file. Can COBOL call a web service? The data is about 300mb

Downloading text files with Python and ftplib.FTP from z/os

荒凉一梦 提交于 2019-12-19 03:13:09
问题 I'm trying to automate downloading of some text files from a z/os PDS, using Python and ftplib. Since the host files are EBCDIC, I can't simply use FTP.retrbinary(). FTP.retrlines(), when used with open(file,w).writelines as its callback, doesn't, of course, provide EOLs. So, for starters, I've come up with this piece of code which "looks OK to me", but as I'm a relative Python noob, can anyone suggest a better approach? Obviously, to keep this question simple, this isn't the final, bells-and