MVS is the name for the IBM OS/VS operating system released in the late 1970s, and the name was used through MVS/ESA 5.2. The name was replaced by OS/390 in the mid-1990s, which itself was replaced by z/OS in the early 2000s.
Questions tagged [mvs]
55 questions
8
votes
6 answers
What is MVS and JCL?
Does anyone know something about MVS and JCL?
Is it possible to explain to me what MVS is? And what JCL is used for?

Vanjo
- 551
- 1
- 5
- 9
4
votes
3 answers
Compile Cobol 4 with a Cobol 5 compiler
I need to compile Cobol sources, on z/OS UNIX, with a Cobol 4 compiler but I only have a Cobol 5 compiler. Is there options to restrict Cobol 5 to a Cobol 4 compilation ?
I'm using the cob2 command which I mounted to the IGY520.HFS PDS of my Cobol…

Timothée
- 77
- 7
4
votes
1 answer
How can I get a parser generated by ANTLR3.5 in C to work in an MVS EBCDIC environment?
We are using ANTLR 3.5.2 on linux to generate a parser in C. We have been able to compile and link the generated C parser and the ANTLR C runtime on z/OS with the LE C compiler. Of course, we'd like the parser to be able to work in the EBCDIC…

user3803240
- 41
- 1
3
votes
4 answers
On z/OS USS, how to decide whether an existing MVS data set is a partition data set (library) or a sequential data set?
The goal is to get the type of data sets in MVS from USS. Let's say Partitional Data Set and Sequential Data Set.
Please suggest any simple solutions in the command line.
Any simple tsocmd commands to get the dataset information are expected.

binzhar
- 33
- 3
3
votes
1 answer
Using WTO to write multi-line message via __asm__ in C language
I have successfully written out single line WTO messages using __asm__ from a C language program, thus:-
typedef struct WTO_Parm
{
short int len; /* Total length of structure */
short int mcsflags;
unsigned char…

Morag Hughson
- 7,255
- 15
- 44
3
votes
3 answers
z/OS JCL command /*VS command fails when issued in a proc
I'm trying to execute a certain command ("VARY devaddr,OFFLINE") to run automatically during system startup. I can't find where the command should be placed. I tried setting the command in a proc, as follows:
//MYPROG PROC MODULE='IEFBR14' …

viejo
- 123
- 1
- 10
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
2
votes
1 answer
Does anyone have a working Jenkins agent configuration for git clone on z/OS R2.4
I am trying to use the GitSCM Jenkins plugin on z/OS R2.4 with Rocket's git implementation. The agent configuration that worked on R2.3 no longer works on R2.4 because the utf8 encoding no longer works - so the IBM documentation also is fairly out…

Randall Becker
- 65
- 3
2
votes
1 answer
Choose the volume for xmit file generated with the XMIT command
I'm using the XMIT command to archive a dataset. But I can't choose the volume of the xmit file.
The dataset I'm archiving is on a specific volume and I want the xmit archive on the same volume but there is no such option to acheive that.
I use this…

Timothée
- 77
- 7
2
votes
1 answer
How to check for existence of Unix System Services files
I'm running batch Java on an IBM mainframe under JZOS. The job creates 0 - 6 ".txt" outputs depending upon what it finds in the database. Then, I need to convert those files from Unix to MVS (ebcdic) and I'm using OCOPY command running under…

Mike GH
- 823
- 7
- 12
2
votes
2 answers
How to change primary command in Edit
I want to add some shortcuts in ISPF Edit.
For instance, I'd like to type T for "TOP" and B for "BOT". How can I do this? I tried to enter
define t alias top
in the command line, but it didn't work: I have "COMMAND TOP NOT FOUND" if I use the…

FredericP
- 1,119
- 1
- 14
- 27
2
votes
1 answer
OpenMVS , Windows compilation error
I've built
- Eigen3.2.10
- OpenCV2.4.13
- Ceres Solver 1.11.0
- CGAL 4.9
- Boost 1.62.0
- VCG
The built all folders are in C:\develop .
I opend cmd.exe and executed
git clone https://github.com/cdcseacave/openMVS.git src at C:\develop…

荻山亮大
- 21
- 1
2
votes
1 answer
JSR 352 : How do you write to a MVS Dataset from a Java Batch program?
I need to write to a non-VSAM dataset in the mainframe. I know that we need to use the ZFile library to do it and I found how to do it here
I am running my Java batch job in the WebSphere Liberty on zOS. How do I specify the dataset? Can I directly…

Fazil Hussain
- 425
- 3
- 16
1
vote
0 answers
Zowe explorer VSCode Retrieving response from zowe.List Error: Huh?
I am trying to connect to MVS tk4 using Zowe Explorer through ftp from my Visual Studio Code...
When I'm trying to locate data sets from Zowe Explorer in my Connection, I see this Error:
"Retrieving response from zowe.List Error: Huh?"
I want to add…

Ayman Ghandour
- 11
- 3
1
vote
2 answers
Run step when previous JCL step did not find file
In the following JCL, the HFS path /u/woodsmn/jjk does not exist. It raises a JCL error and does not run the COPYHFS step, nor any other steps. I want it to detect the missing file, and run the FAILIND step.
I suspect MVS raises a JCL error and…

Woodsman
- 901
- 21
- 61