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
0
votes
1 answer

DB2 10.1 table data copy to IBM VSE 7.4 table

We have one application where we have db2 10.1 as database. Now one requirement came in which we need to interface few tables to HOST which is on IBM DB2 VSE 7.4 I tried to execute load command with client option but it give "SQL1325N The remote…
0
votes
1 answer

Tool to automatically unload/load all tables of DB2 databases

Often, we need to unload (DB2 utility) all the data from a database and load it to another database (same structure). I usually have one unload jcl per table (source db), and one load jcl per table (target db). For 50-100 table databases, it's a lot…
user3489502
  • 3,451
  • 9
  • 38
  • 66
0
votes
1 answer

Reserved QUEUE name usage in WRITEQ TS

The IBM documentation for WRITEQ TS states: "Do not use X'FA' through X'FF', or **, or $$, or DF, as the first character of the name; these characters are reserved for CICS use." What are each of those prefixes used for? Presumably one of them would…
Be Kind To New Users
  • 9,672
  • 13
  • 78
  • 125
0
votes
3 answers

Unix shell scripting - Finding a previous date using /bin/sh shell

I'm writing a shell script that retrieves all files in a directory that were last modified x days ago, starting from 00:00 on the current day. The current find command I use for this is shown below, but this will start its check from the time the…
Iain Duff
  • 3
  • 3
0
votes
2 answers

Get only record nr. x by using dfsort in JCL

I have a dataset that has multiple rows of data, I have to do something with some of these rows(not all, and there is no logic to be able to pick them out), I have a list of rownumbers that have to be selected and it's too big a list to copy them…
Jeremy C.
  • 2,405
  • 1
  • 12
  • 28
0
votes
2 answers

SUM not working 'Invalid or missing field format'

I have an input file in this format: (length 20, 10 chars and 10 numerics) jname1 0000500006 bname1 0000100002 wname1 0000400007 yname1 0000000006 jname1 0000100001 mname1 0000500012 mname2 0000700013 In my jcl I have defined…
Jeremy C.
  • 2,405
  • 1
  • 12
  • 28
0
votes
1 answer

Correct statement for UNION ALL with three or more selects

I have the following situation: I have a script consisting of 6 selects joined by "UNION ALL". From the CLP DB2 console, this script fails. Curiously, each query independently work, and even come to work if grouped in pairs. However, when I try with…
agg
  • 1
  • 1
0
votes
3 answers

Starting an existing Mainframe job with FTP and C#

We have a lot of jobs(jcl) running on the mainframe. I was asked to try and start a restore job. I have to do this with a C# application. What i got now is i am able to connect to the mainframe with an ftp library and I can call raw FTP commands…
0
votes
2 answers

Trigger a mainframe job from Windows machine

I am converting my Windows script script that uses FTP to SFTP. To trigger the mainframe job we had below command: quote site filetype=jes put C:\Test\test.dat bye sftp.exe uname@servername But site filetype=jes does not work in…
Learner
  • 980
  • 7
  • 20
  • 37
0
votes
1 answer

Loop until data set is not in use with JCL

I am working in mainframe and I need to wait a dataset is released to execute automatically a JOB. Do you know any simple way to loop until a dataset is not in use in JCL? I was looking on the web and i found some solutions with REXX but they seemed…
Nico
  • 309
  • 1
  • 3
  • 18
0
votes
1 answer

Getting output queue via FTP of a Mainframe (zOS)

I am working with my mainframe running jobs via FTP and retrieving the result (of the Held queue) too through the same canal. The problem is, I have the "output queue" where the same JOBnnnnn left other information, and those reports I can only see…
Nico
  • 309
  • 1
  • 3
  • 18
0
votes
1 answer

How do I implement multiple conditions in REXX?

I'm trying to put together some REXX code to achieve the following. Check given input(0007145547162165876, 0002734752467588968, 555729879318548867, 5559871342286434816)for a given condition (first 3 characters are 000). If so, perform some…
Walter
  • 43
  • 1
  • 2
  • 6
0
votes
1 answer

How do I use SimpleFileVisitor in Java to find a file name whose encoding may vary?

I'm using SimpleFileVisitor to search for a file. It works fine on Windows and Linux. However when I try using it on Unix like operating systems It doesn't work as expected. I would get errors like this: java.nio.file.NoSuchFileException: …
M. A. Kishawy
  • 5,001
  • 11
  • 47
  • 72
0
votes
1 answer

How to configure WebSphere administration console for two simultaneous logins?

I have two WebSphere 8.0 environments set up; test and production. When I connect to the WebSphere Integrated Solutions Console of the test or production environment I do this via sub.domain.com:port/ibm/console... The difference between accessing…
JernejR
  • 51
  • 6
0
votes
1 answer

DB2 Resource BIND Error: DSNT500I -DBS1 DSNTBCM1 RESOURCE UNAVAILABLE

Trying to run a BIND job for the new Tivoli OMEGAMON XE DB2 upgrade. I'm having difficulties running the RKD2SAM(OMBPSS01) job to bind the OMEGAMON Server DB2 plan KO2PLAN. JCL: //OMEGAPL EXEC PGM=IKJEFT01 …
paulywill
  • 629
  • 10
  • 29