mainframe

teaching my self Z/OS assembler?

'I've interned at a company that does a lot of mainframe work. Most of my mainframe experience has been using Java and Unix System Services. I've had some experience with the ISPF interface and C but none with assembler. I’m graduating shortly and will be taking an independent study my last semester. I’d like to stick with the mainframe ...

IEBGENER Help

Ok, so I am having some trouble figuring out how to get IEBGENER working in the way that I want it to. I should preface all this by saying that I am running IEBGENER in a z/OS environment on an academic mainframe. Now, I have three JCL procedures (PROC) inline to some COBOL code that I am working with, and I need to stick IEBGENER in a...

Any open source message queue that can be used to send messages from COBOL to Java?

I have a Java stack (Tomcat, etc) and I need to send messages from a mainframe running COBOL to the Java end. Any of the open source queues available can do that? ...

Is there a modern free D?VCS that can ignore mainframe sequence numbers?

I'm looking at migrating a large suite of IBM Assembler Language programs, from a vcs based on "filenames include version numbers", to a modern vcs which will give me, among other things, the ability to branch and merge. These files have 80-column records, the last 8 columns being an almost-meaningless sequence number. For a number o...

Changeman on host mainframe - What does each step mean?

I'm currently trying to promote a package in Changeman on mainframe. Currently it seems like there it's a series of incantations that I have to follow. Unfortunately, I can't remember magic incantations. I need to understand what's going on before I can follow. So, what's involved in Changeman, and what do the following mean: Stage, Chec...

Uploading to mainframe using FTP

Hi All, I just want to know how you upload datasets specifying its characeteristics? E.G. using the command quote site lrecl=500 recfm=fb Well, the command was accepted when I tried to use it, but the problem is that when I tried to upload the file using the command 'send' ftp hangs up, and definitley closes the session. This is the s...

using WTO to print from with in Metal C

I’m trying to use the WTO instruction from with in Metal C to print out "Hello World" to my job log. This is based on the example in section 1.2.3.5 of the z/OS V1R10.0 Metal C Programming Guide and Reference It appears when I use WTO I am having either issues with my buffer containing 0 or ASCII to EBCDIC conversion. I’ve pasted the rel...

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 Undeclared identifier ___MEMSET. ERROR CCN3277 IMIJWS0.METAL.SAMPLIB(MEM):6 Syntax ...

How to learn Cobol

I am a Java developer (mostly) and I would like to learn some cobol/mainframe. Not for actual doing much coding, but to better understand cobol/mainframe developers. The problem is last time I checked there wasn't a mainframe under my desk. ...

DB2 SQL code to extract stored procedures

My colleagues and I have several hundred SQL stored procedures sitting on a hosted DB2/z database (version 8.1). We have no administrator rights and our access to the database is via QMF screens. Downloads are done through the 3270 terminal session with the TSO FT command. Is there a simple/efficient way to extract the definitions/text ...

Is there a network file system for mainframes (System Z)?

Network file systems are offered by Windows and (L)Unix. Is there one for IBM Mainframes? (Hard to believe not). Does it offer standard Unix-style access (binary? Ascii? EBCDIC?) to mainframe data areas? How are datasets/partitioned data sets treated? Who configures into Z/OS? How do I find out more about such network file systems for...

zlib on z/OS USS

Hi all, Im trying to compile z/lib on z/OS USS(thats right a mainframe). ive got gmake and the c89 compiler (which im assuming is c89 standards compliant) and USS is supposed to be POSIX compliant. But zlib seems to be tripping up on struct internal_state FAR *state; /* not visible by applications */ with the following error(s) c8...

FTP from Mainframe ( MVS or VM ) to SharePoint?

We are migrating our sites to SharePoint. We have multiple back end jobs that run on our mainframes and ftp output files to the server and we have links to the location on our web pages and clients can access them. Now when we have moved to SharePoint we have found that this is not possible We have found that we will not be able to ftp ...

Retrieve data in IMS from J2EE application

Currently, i have a J2EE application that retrieves data from IMS database through MQ. We would like to fetch data directly instead - without using MQ. Is there any option? Any connectors that we could deploy in our server (WAS 6) that would help us communicate to IMS and retrieve data from it? Any links in this regard would also be help...

Downloading text files with Python and ftplib.FTP from z/os

I'm trying to automate downloading of some text files from a z/os PDS, using Python and ftplib. Since the host files are EBCDIC, I can't simply use FTP.retrbinary(). FTP.retrlines(), when used with open(file,w).writelines as its callback, doesn't, of course, provide EOLs. So, for starters, I've come up with this piece of code which "...

Getting into Mainframe developement, a good idea?

I'm currently in a internship in one of the worlds biggest banks. I still have one year to consider everything, since I still have one year ahead of me to my Bachelors degree. But the bank is already starting recruiting for new Mainframe developers. They offer a one year training course with full pay. I know Mainframes will stay for qui...

DB2 Stored Procedure DBVisualizer

I am using DBVisualizer to execute a z/os DB2 stored procedure. Call DB001.MYTEST2('NY', 'Brooklyn', '11229', '2009-07-31'); I get this error message, Literal replacement parsing failed for procedure call to DB2 for z/OS. ERRORCODE=-4463, SQLSTATE=42601 Has anyone seen this before? ...

Determine duplicate record for duplicate and non-duplicate records

I have a files containing both duplicate and non-duplicate records. The file is already sorted by a key. I want to determine those records that are duplicate and records that are non-duplicate. If duplicate the record is moved to a duplicate file and if non-duplicate that will be moved to valid file. I am using COBOL, and occurenc...

How do I "kick-start" a jcl stream on the mainframe using FTP inside vb.net 2008

The following is the code that uploades a bytearray into a file DSN on our mainframe. It works very well. What I want to do is upload the jcl which should then start to execute. That's the part I am stuck on. I used to be able to do it through WININET, but I want to get away from that and use the better FTP commands in vb.net Pub...

Screen scraping a mainframe screen in C# *without* 3rd Party Utilities

I'm looking to screen scrape a 3270 mainframe application in C#, but I've got to do so without Attachmate or other 3rd party plugins. Are there free managed libraries to do so in C#? ...