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

Error while creating a simple DB2 sql procedure

I am trying to create a db2 procedure on DB2 z/OS 10.1.5. The code I am using is : CREATE PROCEDURE WSDIWW16.CALCULATE_SALARY() LANGUAGE SQL BEGIN ATOMIC update wsdiww16.emptable set dailywage = dailywage * 30; END; I am getting sqlcode - 104…
bp89
  • 91
  • 1
  • 13
0
votes
1 answer

DB2 on zOS catalog table for schemas?

I did not find any catalog table to get the list of schemas in database.( Like we have syscat.schemata in LUW).
0
votes
1 answer

Is it possible to send an FTP SITE command through a Mule FTP connector?

I have business with a recipient FTP site that requires me to send a sequence of SITE commands before initiating any transfer (presumably because the receiving server is an old mainframe that assumes any connecting client is also a zOS or zVM system…
telcopro
  • 148
  • 1
  • 9
0
votes
0 answers

DB2 JDBC query that works for update does not work for batchUpdate

I am trying to implement batch updates in a program, and I think I might be running into a bug in the DB2 jdbc drivers or something. Here is my query: insert into CONTENTSOURCE (CONTENTSOURCE_ID, CS_NAME) values (?, ENCRYPT(CAST(? as VARCHAR(280)…
John
  • 9
  • 4
0
votes
0 answers

DB2-z/os - Is it possible to use XMLMODIFY in CASE statement

I have a table with a column of type xml. I want to create a query such that, if xml is null, then set an xml, else add a node to the xml. The query I have is below. Adding a node executes successfully without a CASE statement, but once put in CASE…
Sunny
  • 21
  • 6
0
votes
1 answer

Error creating binary file: "UnsatisfiedLinkError ibm/jzos/ZFile.fopen" after springframework.scheduling.quartz.SchedulerFactoryBean trigger

The scenario: MyApp runs on Unix (mainframe z/390). There is certainly scheduller to evoke the read method and then the write_binary_file method. All things go fine untill I have to deploy the appliation. Sometimes, when I stop the application and…
Jim C
  • 3,957
  • 25
  • 85
  • 162
0
votes
0 answers

Jenkins slave supported platforms?

Can Jenkins slave be installed on Mainframe? Over the years, I've built a DevOps solution with IBM ClearCase (has a z/OS extension) , ClearQuest and BuildForge (has an agent on z/OS) which supports Mainframe, Informatica, Unix and Windows. Now I am…
Jirong Hu
  • 2,315
  • 8
  • 40
  • 63
0
votes
1 answer

how to determine the link lib my current z/OS assembler program is loaded from

is there a way to determine the dataset that my running z/os assembler program is loaded from? If possible the entire steplib concatenation would be nice, but not necessary.
FierceMonkey
  • 1,964
  • 1
  • 16
  • 22
0
votes
0 answers

db2: sql select query giving an abend

while i was trying to retrieve data from a table of db2 supplied sample database select * from DSN8910.EMP; its giving an error Aend 0C4000 hex similar error occurred on spufi as well as QMF but if I retrieve only empno its giving…
raj
  • 1
0
votes
0 answers

Performance degradation inserting from SQL Server 2012 to DB2 z/os

We're inserting data into a table from SQL Server 2012 Linked Server with the latest DB2 OLEDB Driver to DB2 z/os. Inserting data into a table with more then 38 columns drastically decreases the performance (see picture below). It doesnt seem to be…
David Jansen
  • 51
  • 2
  • 6
0
votes
1 answer

JZOS Batch launcher - Run JCL job with java source code within SYSIN DD *

JOB Description: JVMLDM76 library is in the dataset WLM.ABC.DEF.LINKLIB.PDSE. JVMLDM76(load module) comes with jzos batch launcher tool kit installation. Here is my job: //JHELLO JOB MSGLEVEL=(1,1),REGION=0M,CLASS=Q,MSGCLASS=A /*…
user1
  • 391
  • 3
  • 27
0
votes
1 answer

JCL job with java source code within SYSIN DD *

I want to run jcl job with java source code embedded with job itself. I found some cobol examples whose source code is written within SYSIN DD * or SYSIN DD DATA and tried the same with java program. Here is my job: //JHELLO JOB…
user1
  • 391
  • 3
  • 27
0
votes
1 answer

Merge 2 PDS member to 1

I have a seemingly easy task of of merging 2 member of a PDS, say MYDSN.X(A) and MYDSN.X(B) to a common member MYDSN.X(AB). My attempt was to use IEBCOPY but somehow I wasn't able to do this particular task, although I found quite a few helpful…
Klaus Schulz
  • 527
  • 1
  • 5
  • 20
0
votes
0 answers

rounding function in sort keys of jcl

i have input record with part - pic x(10), country - pic x(03), department - pic x(07), year - pic x(04), count1 - PIC S9(9) COMP-3, count2 - PIC S9(9) COMP-3, count3 - PIC S9(9) COMP-3, count4 - PIC S9(9) COMP-3, count5 - PIC S9(9) COMP-3, USAGE…
0
votes
1 answer

Unable to access PDS in z/OS unix shell

I'm trying to copy a text file from within the z/OS unix shell to a PDS titled P2.OUTPUT($010), but whenever i run the command cp file.txt "//P2.OUTPUT($010)" i get an error stating that P2.OUTPUT(-sh10) is an invalid location. For whatever reason,…
JOB
  • 13
  • 1