657 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
41
views
How to invoke oedit while under OMVS under ISPF
I would like to have a rexx that runs under ISPF that does some things under OMVS, one of which is to take some data, place it into a OMVS file, and then oedit that file, followed by other OMVS ...
1
vote
1
answer
214
views
IIDR CDC Kafka Custom KCOP disable schema auto register
we are trying to replicate Db2 changes from z/OS to Confluent Kafka.
Everything works out fine for the production of simple JSON records in Kafka.
As our policies for Kafka Topics and Schemas are ...
0
votes
0
answers
68
views
How do I access a PDS on zOS using PL/I?
I am trying to compose a simple PL/I procedure that calculates the average of numbers that are stored in a member of a PDS. This seems trivially simple but I cannot get it to work.
Here is the PL/I:
...
2
votes
1
answer
169
views
Is there a reason why paramiko.SSHClient -> exec_command cannot find an executable when invoke_shell -> send does?
I'm creating a python (3.13.5) program on my pc that connects to our mainframe and runs a python (3.12.8) program from our z/os uss environment.
I can successfully connect using this code here:
...
1
vote
0
answers
44
views
dlopen curses library on z/OS
Trying to dlopen() the curses library on z/OS and unsure of the syntax to use to refer to the library.
On AIX the following code works, with the syntax shown for the library "name".
lib = ...
1
vote
1
answer
179
views
Python 3.12 code in USS on z/OS Mainframe - Non-UTF-8 code on Line 1 issue
I'm new to using Python on z/OS; I am creating a program in a USS directory on our mainframe and using a Rocket Software 3270 emulator; I am trying to use square brackets in my code, but as soon as I ...
0
votes
0
answers
102
views
Error using python on z/OS - no encoding declared
I'm trying to write a python script under z/OS, using IBM Open Enterprise SDK for Python 3.13.
I wrote the code under TSO OMVS and I got the following error trying to execute the code:
SyntaxError: ...
3
votes
4
answers
117
views
How to insert a new line after a certain row number in a file in environment z/OSS USS (OMVS)
I am working in a USS environment, under z/OS. I need to insert a new line in a file, the line has to be inserted after a certain row number.
I've tried to use the command
sed '4i\newtext' file.txt ...
0
votes
2
answers
80
views
Want to read a file sequentially through JCL
I have an input DS with only one record perhaps AtoZ alphabets .. I want to find the occurrence of each alphabet how can I do this with JCL ? Will file aid helps or do we have any syntax using sort ?
...
2
votes
1
answer
105
views
Update z/OS Password Using PHP cURL Module
I'm trying to change a password on a z/OS mainframe that I make an FTPS connection to. Working with a legacy codebase and I'm trying to get rid of the exec calls to cURL. You'll notice all the ...
1
vote
2
answers
83
views
Java JVM for IBM ZOS, does it use DFSMS I/O efficiencies such as large BUFNO?
Looking at run time efficiencies on zOS 16 on 3931 mainframe with Java. We found on jobs running assembler level programs that specifying a large number of buffers when reading huge files reduces run ...
0
votes
3
answers
212
views
"The import com.ibm.jzos cannot be resolved" when exporting CICS bundle to z/OS UNIX File System
I'm trying to export a CICS bundle to a z/OS Unix file system using IBM Developer for z/OS.
One of the projects in my bundle has a library I'm importing (ibmjzos-2.4.11.3.jar). I added the library to ...
0
votes
0
answers
65
views
zOS/Mainframe Java Shell Script for TrustStore and Certs
I a executing a Mainframe Java program using a shell script and JCL. I have been using the "export" command along with IBM_JAVA_OPTIONS and the JAVA_TOOL_OPTIONS parameters to integrate an ...
0
votes
1
answer
306
views
Mainframe Z/os - JCL: include line breaks after each character string read
I need to do a line break whenever I find the string 'AAA' in each record read. So I successfully executed the command OUTREC FINDREP=(INOUT=(C'AAA',X'0A') but when I open the output file, I don't ...
0
votes
1
answer
78
views
Python ibm_db says no method called cursor exists for conn
IBM Documentation sample code says that after creating a connection as below with Python and ibm_db I should be able to get a cursor with "cursor = ibm_db.cursor(conn)" but all that happens ...