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
4
votes
2 answers

How to execute compound sql in DB2

I am facing a challenge trying to understand DB2 sql (note, I am coming from MS SQL Server) :P. Here is a scenario, I have got 2 tables one has IDs and other details, second one has lot of other info corresponding to each ID. ID Info…
Abhinav
  • 2,085
  • 1
  • 18
  • 31
3
votes
2 answers

Anyone attempted to perform automated tasks through the PCOMM or x3270 using Perl?

Anyone attempted to perform automated tasks through the PCOMM or x3270 using Perl? I am doing some operations on Mainframe through PCOMM and x3270. Since some tasks include many repeatable operations, I am trying to find an easy way to automate…
thinkhy
  • 923
  • 13
  • 25
3
votes
4 answers

problems with memset in Metal C

I’m trying to initialize the Metal C environment with the following code, but get the following errors on the memset line. ERROR CCN3275 IMIJWS0.METAL.SAMPLIB(MEM):6 Unexpected text ')' encountered. ERROR CCN3045 IMIJWS0.METAL.SAMPLIB(MEM):6 …
Jared
  • 39,513
  • 29
  • 110
  • 145
3
votes
1 answer

What codepage/charset should be used to interpret data coming from an MVS system into a Java Environment?

I've come into an interesting problem (as is often the case in interacting with legacy systems). I'm working on an application (which currently runs on a x86 Linux or Windows system) that can receive requests from a variety of systems, one of them…
user100645
  • 33
  • 1
  • 4
3
votes
2 answers

How can I save ISPF Edit labels?

When working in a large, or semi-large program under ISPF Edit I will define Edit labels to help me navigate around the source. These are great and do help but when I exit Edit the labels cease to exist and I have to recreate them the next time I…
Lionel B Dyck
  • 552
  • 2
  • 9
3
votes
1 answer

On z/OS, what are the valid characters for a userid?

I have been unable to determine what the valid characters are for a z/OS userid. Does it follow the same rules as a dataset qualifier or is it less/more restrictive? I know until recently, userids could only be 7 characters but saw that this is now…
mike
  • 819
  • 4
  • 14
3
votes
2 answers

On z/OS, can I use RACF so that I can only READ my own dataset and not UPDATE it?

I want to make the dataset 'FULTONM.MY.FILE' read-only to everyone including me. I issue: addsd 'FULTONM.MY.FILE' GEN UACC(NONE)" I then issue: listdsd dataset('FULTONM.MY.FILE') which prints out: INFORMATION FOR DATASET FULTONM.MY.FILE (G) LEVEL…
mike
  • 819
  • 4
  • 14
3
votes
2 answers

How do I know when to perform IPLTEXT?

Ignoring HOLDDATA instructing me to do so, is there a specific module that would be modified by maintenance that should signal me that I need to write IPLTEXT to my IPL volume? I typically just see if SYS1.NUCLEUS gets modified and write IPLTEXT…
3
votes
2 answers

On z/OS, using RACF, how do I give a number of people READ access to my dataset?

My preference is to understand how to do this from the TSO command line, and not with ISPF. I would also like to understand if a systems programmer needs to be involved for setting up the group first
mike
  • 819
  • 4
  • 14
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

Is it possible to run Gradle on z/OS?

I'm attempting to run Gradle on z/OS, but running into issues. I have downloaded Gradle to z/OS, and then unzipped it. When I test out the installation by running the following: ./gradle-7.6/bin/gradle I get the following: ./gradle-7.6/bin/gradle:…
Ben Cox
  • 1,393
  • 10
  • 28
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
2 answers

GDG base creation using Java

From Java z/OS, using zfile I can create a mainframe dataset. Both flat file and GDG versions. If the GDG base does not exist the java code abends. Do we have an option to create the mainframe GDG base dataset from Java?
SSJ
  • 71
  • 4
3
votes
2 answers

Is it possible to read text from a dataset attributes member and also print dataset using the zoautil_py module only?

I am trying to access information about dataset members using IBM Z Open Automation Utilities. What I want to know is if it is possible to view dataset information like version, creation date, etc. as well as being able to view information inside…
Fnechz
  • 151
  • 8
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