Questions tagged [zos]

z/OS is a 64-bit operating system that runs on IBM's traditional mainframe hardware, also known as System z.

z/OS, along with zLinux, zTPF, z/VSE and z/VM, is an operating system which runs on IBM's System z hardware.

This tag should be used when asking questions related to the specific operating system z/OS, associated tags may be mainframe, cics or db2 (provided you're talking about the mainframe versions of those products).

A descendant of OS/360, a primary design premise is backward compatibility. Application programs dating from the 1970s continue to run unaltered on modern z/OS systems.

IBM provides the z/OS basic skills education Knowledge Center, click on the table of contents link for a list of topics.

606 questions
3
votes
2 answers

Editing 3.4 screen in mainframe

I frequently use my development datasets (PO's mainly) such as: code, JCL, output datasets. And then I have few prod datasets that I frequently access as well. How do I go about editing the screen to customize the datasets. I see more spaces but…
user11410718
3
votes
2 answers

Is the virtual address 0x1FE0C0 below the "line" or above the line?

I'm studying z/OS and I was asked if the virtual address 0x1FE0C0 is: A. above the line. B. above the bar and below the line. C. above the line and below the bar. D. below the bar. I choose D as my answer, but my teacher wrote that it's wrong. My…
eran
  • 41
  • 3
3
votes
2 answers

ftell/fseek fail when near end of file

Reading a text file (which happens to be a PDS Member FB 80) hFile = fopen(filename,"r"); and have reached up to the point in the file where there is only an empty line left. FilePos = ftell(hFile); Then read the last line, which only contains a…
Morag Hughson
  • 7,255
  • 15
  • 44
3
votes
1 answer

Remove symbolic information from C language executable on z/OS

Having built my application, initially using debug, I now move to make it production ready. I have changed my compile options from -c -W"c,debug,LP64,sscomm,dll" to -c -s -W"c,LP64,sscomm,dll" which reduces the size of the resultant executable to…
Morag Hughson
  • 7,255
  • 15
  • 44
3
votes
2 answers

Python code in USS on z/OS Mainframe - Square brackets not recognized

I am trying to execute the below python code on z/OS Mainframe USS. The problem I'm facing is that when I run the code, I get the below error message. It appears the square brackets are not recognized in my code. File "/u/q123/python/pyfilr.py",…
sanddunes
  • 31
  • 2
3
votes
4 answers

Triggering jenkins build over ssh?

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:…
patrickw
  • 75
  • 5
3
votes
2 answers

CL comparison validation range not working

I'm validating some input; the input number should be from 1 to 255. And I try the following code. Input defined ;input DC CL60' '' clc input,=c'255' bh loop1 clc input,=c'1' bl loop1 J loop2 loop1 The above validation is…
GAS SAM
  • 29
  • 5
3
votes
1 answer

How do I copy code from my computer into x3270 emulator?

I'm using x3270 on Ubuntu 16.04. The zOS does not have a good editor and having to write a lot of code and fixing it is a pain. I want to write code on my computer and copy it into x3270 window. Is there a way to do this?
knt5784
  • 129
  • 1
  • 2
  • 16
3
votes
1 answer

How can I dump z/OS above-the-bar memory for debugging

I am writing a utility to exploit above-the-bar memory. I would like to dump the memory segments that I have allocated to help with debugging. SNAP and SNAPX refer to 24 and 31 bit addressing modes, but not 64. Forcing an abend using an ABEND…
3
votes
3 answers

calling webservice from mainframe batch cobol program

Currently, we are connecting getting information from web service through cobol by using "db2 xml" "SOAP HTTP NV". Currently using sql mentioned below, exec sql select …
3
votes
1 answer

Obtain output in REXX from DB2 Command

I would like to use Rexx capture the output from the following commands: QUEUE "-DIS DATABASE(*) SPACENAM(*) RESTRICT(CHKP,COPY)" QUEUE "END" ADDRESS TSO "DSN SYSTEM(DB2D)" Is there any way to obtain the…
user10289552
3
votes
3 answers

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

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?
user486631
3
votes
2 answers

mainframe - what is the name of extension suffix on filenames that change?

I recall when doing an ftp get to copy files from mainframe to windows that there would always be some numeric suffix on the filenames that would change each day. ie abc.4328 then it would become abc.23595..etc what is the concept/terminology of the…
tooptoop4
  • 234
  • 3
  • 15
  • 45
3
votes
3 answers

z/OS MVS and z/OS UNIX Interop in PL/I Program?

I've been poking around in various resources in the Internet, but couldn't find a definitive answer that I understood, so I'm asking here: How can I invoke z/OS UNIX code from z/OS MVS? I'm aware that BPXBATCH PGM ... can invoke a z/OS UNIX Program…
fjf2002
  • 872
  • 5
  • 15
3
votes
3 answers

Free ip to connect z/os

z/OS is a 64 bit OS run on IBM 390 mainframe hardware. Connection can be made through 3270 emulators or more common SSH protocols from non-IBM operating systems like Windows or Linux. Are there systems available on the Internet that can be…
vijesh
  • 1,115
  • 1
  • 11
  • 27