Questions tagged [mvs]

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.

46 questions
5
votes
5 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
  • 461
  • 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…
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
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…
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
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
  • 793
  • 4
  • 10
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
  • 793
  • 6
  • 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,000
  • 1
  • 13
  • 24
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…
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
  • 395
  • 2
  • 14
1
vote
1 answer

How to insert a character when editing a file using ISPF Edit via TN3270?

The editor in mvs3.8 TK4- is very different from the editors that I have used in Windows and Linux. I am trying to figure out how to insert a character between two characters in the editor. For example: //HERC01C JOB (COBOL), If i want to insert an…
schizoid_man
  • 113
  • 4
1
vote
1 answer

When using the z/OS High Level Assembler (HLASM), is there a way to return an equated symbol (defined via EQU) to the undefined state?

In z/OS HLASM, I'm wondering if there is a way to "unequate" a symbol that was defined via the EQU instruction. For example: MyValue EQU 999 ... LHI R5,MyValue ... MyValue UNEQU <===== or something that returns MyValue to the…
1
vote
1 answer

What is the most efficient way to read and set file modification timestamps for MVS data sets and PDS members?

I am trying to access data set and member metadata in MVS and cannot find a mechanism for getting and setting modification times (OK, and RACF rules, but that's not important right now). One of our (many) goals is to reconcile timestamps in USS with…
1
vote
1 answer

Trying to make "bilingual macros" between z/OS HLASM and XL C/C++ metal C compiler

I am trying to figure out how to include both HLASM and Metal C definitions for the same DSECT/struct in a single dataset/file. Before trying this, I tried what I described in How do I go about making this work with a #include? It works fine when…
1
2 3 4