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
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…

Scott Fagen
- 99
- 6
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…

Randall Becker
- 65
- 3
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…

Scott Fagen
- 99
- 6
1
vote
1 answer
How do I go about making this work with a #include? It works fine when dropped straight into the code
I have a block of code that I want to #include in my z/OS Metal C program, it works fine when it's just part of the program, but when I put it into a .h file and #include it, the code won't compile.
I have successfully gotten this code to work…

Scott Fagen
- 99
- 6
1
vote
0 answers
How to submit a JCL through SQR Call System Command on MVS z/os?
I’m trying to submit a JCL through an SQR Program using Call System Command on MVS z/os. The JCL resides in specific Dataset.
What I’m trying do is something like this:
let $jclcmd= 'SUBMIT PSLIBDSN.O92.CUST7.JCLSRC(UTILI)'
call system using…

Bill_Buckner
- 11
- 1
- 4
1
vote
2 answers
Cobol v6.2 NUMCHECK option compatibility
We can't turn off the NUMCHECK option for our new COBOL V6.2 compiler because we can't trust the content of our numeric variables. When we turn it on, it's not fully compatible with the COBOL 4 we had previously at our organization.
When an unsigned…

zohar mizrahi
- 31
- 1
- 5
1
vote
1 answer
Accessing Statistics/MemberInfo of ZFile (JZOS)
I am using the IBM JZOS API to access PDS members and now I need some information about the members. There is the class PdsDirectory.MemberInfo.Statistics, so that I can create a PdsDirectory, iterate over it and get the Statistics of each member…

Dora
- 47
- 1
- 8
1
vote
2 answers
What are the effects of PR instruction on empty stack
When I issue the PR (Program Return) instruction in a program that is not using linkage stacks, the program immediately ends. I'd like to take advantage of this behavior, but I'd like to know if I will cause any unintended results besides exiting…

FierceMonkey
- 1,964
- 1
- 16
- 22
1
vote
1 answer
Blocking isrddn in tso-mvs
we are interested in blocking isrddn for some of the users. We are trying to do it without creating a shell of our own, is there something inside isrddn that will help? What is the easiest way to do it? Thank you!

zohar mizrahi
- 31
- 1
- 5
1
vote
1 answer
System.Net.FtpClient issues with openwrite
I have seen dozens of examples when trouble shooting this issue using the library in the title. The common example I am seeing that SHOULD work is:
string destinationPath = PathInfo.FileNameConvention;
using (FileStream fileStream =…

ggiaquin16
- 165
- 1
- 15
1
vote
3 answers
How To Read MVS System Catalog To Retrieve GDG Information?
I have a job (JCL) on the mainframe where I want to programmatically retrieve a particular GDG file's recent relative generation numbers from the system catalog (API call)...where I can then programmatically dig thru the results returned by the call…

user278458
- 201
- 1
- 2
- 5
1
vote
1 answer
z/OS/ MVS: How to 'touch' a dynamic set of files
In MVS, I'm looking for a UNIX-like touch command to keep thousands of files 'alive' on a seldomly used system. I have a list of every file name that might exist at any one point in time, but the actual files that exist on catalog can come and go…

JeremyP
- 113
- 4
1
vote
2 answers
Creating and Defining a SAS Array on MVS SAS
I need to build an array in SAS on MVS
I tried using
ARRAY MONTHS[12] $3 ('JAN' 'FEB' 'MAR' ... 'DEC');
but that is not working
Any suggestions?

grid
- 313
- 2
- 8
0
votes
2 answers
wxWidgets LNK1104 error when linking Statically in MVS and c++
wxWidgets LNK1104 error when linking Statically
Hello everyone, I am trying to link wxWidgets 3.2.2.1 to my project. it works with no problem when I build it with MDd/MD (shared library) and link against vc_lib directory .
In this project though, I…

Alex Müller
- 21
- 3