mainframe

How to use the C socket API in C++ on z/OS

I've been having issues getting the C sockets API to work properly in C++. Specifically, although I am including sys/socket.h, I still get compile time errors telling me that AF_INET is not defined. Am I missing something obvious, or could this be related to the fact that I'm doing this coding on z/OS and my problems are much more compli...

BizTalk DB2 adapter connection error

My colleagues are attempting to connect BizTalk 2006 R2 via DB2/MVS adapter to a database hosted on z/OS mainframe. When testing the connecting settings, they are getting the following error Could not connect to data source 'New Data Source': The network connection was terminated because the host failed to send any data. SQLSTATE: 08S01...

Any other mainframers here?

I started working as a programmer about ten years ago now. Started working for state government and went to a private sector job about three years ago. All cobol, all on the mainframe. I was told time and time again that the mainframe would be dead by now, yet we are in the midst of yet another round of enhancements that will all be d...

Teaching a mainframe COBOL programmer Java?

I’m trying to help someone learn Java who’s only programming experience is COBOL on the mainframe. I was wondering if anyone knew any good resources for object oriented concepts. I learned how to program with C++ so just understand the theory behind basic OOP. I’m more concerned about a way to get the basic concepts across, such as encap...

How to 3270 screen-scrape from a Linux-based web app

I have a LAMP (PHP) web app which need to interface with programs on an IBM 3270 mainframe (via Microsoft SNA Server). One solution I'm looking at is screen-scraping via 3270. (I'm integrating the present with the past!) Many years ago, I wrote C code which used HLLAPI as the basis for such a task. Is HLLAPI still the best way to ap...

What is DPRTY in mainframe JCL?

When we are submitted a job, following steps are executed sequentially. Then what is the importance of DPRTY? ...

DB2 - what is NF (New Functionality) mode?

I have some questions about customers about NF mode for DB2. Google had very little information about it. I've been able to infer the following but I don't completely trust it... NF and CM (compatibility mode) are settings on DB2 v8 on mainframe. DB2 v8 on z/OS in CM is designed to allow DB2 v8 to be used as a drop in replacement for...

Anyone doing mainframe or AS/400 Batch processing with Java?

I'm going to propose to a client that I build some batch jobs in Java that will run on their mainframe and/or AS/400s (sorry System z and System i). Both platforms are up to date system software wise. I'm wondering if anyone has done this and can provide any pointer or gotchas to watch out for. The motivation is to have access to the to...

SFTP Rename file to append date

I'm sending a file from a mainframe host to a linux ftp sever using sftp. I want to append the date to the filename once the file resides on the linux box. (Ex: filename.txt becomes filename122308.txt) I have tried the 'rename' command using 'date +%m%d%y' - the file was renamed but the flags were not executed (The filename became file...

Is anyone still programming in ObjectStar (formerly known as Huron)

Huron was a 4GL that originated in the IBM 360 mainframe world in the early 1990s, created and sold by the Amdahl Corporation. It had a proprietary interpreted language and database that people either loved or loathed, and its most notable features were its unusual Rules Language syntax, and its tight integration with its query language...

ASP.NET: Function key shortcuts?

I recently participated a project that replaced a mainframe system with a web (asp.net 2.0, VS2005) system. The 3270-terminals are still much used and I respect the IMS/CICS/Cobol application designers for their work. Users like the web application, but one thing they keep ask for is: Functionkeys and shortcuts that navigates directly t...

How is it possible to connect a mainframe with a PC running Windows?

How is it possible to connect a mainframe with a PC running Windows?.Is it still regarded a mainframe as a computer with a high processing power running Unix or IBM System360 ...

Mainframe to .NET migration

Hi, What are the various tools available for migrating a Mainframe application (front end, DB, Business Logic) into .NET (C#.NET or VB.NET) and SQL Server 2005. The current Mainframe system has: CICS - front end, COBOL - language IDEAL and DATAComDB - database. Thanks in advance. Ajish ...

Java on mainframes

I work for a large corporation that runs a lot of x86 based servers on which we run JVMs. We have experimented successfully with VMWare ESX to get better usage out of our data center. But these still consume a lot of power per processing unit. I had a mad idea that we should resurrect mainframes, we could host either lots of JVMs or v...

Connectivity to mainframes using JMS

We are currently using WebSphere MQ to fetch data from mainframes and at times face issues on the MQ side. I would like to know if there is someway to circumvent MQ and use JMS instead to fetch data from mainframes. We use WebSphere Application Server 6.0.2. ...

TSO/MVS Uploading problem

Hi all, I'm uploading an ebcdic file(converted from ascii) from Windows OS to Mainframe. My problem is that when I checked the file after uploading it, I see alot of new lines. When I tried to check it with its hex dump I discovered that when mainframe sees a x'15' it translates it into a newline. In the file there are packed decimals s...

How's the best way to go from a Cobol/CICS system to a modern Oracle/C++/Server setup

We plan to migrate an old IBM/COBOL/DB2 legacy app to a Solaris/Oracle/C++ "setuped" world. My specific questions here are: are there any experiences with tools able to analyze COBOL code in a more model driven view? (e.g. data flow analysis, code flow analysis, cross/hyperref listings, pretty printing) is openCOBOL a real chance to go...

Dynamically calling a NODLL cobol program from a DLL cobol program on z/OS

On the mainframe using Enterprise Cobol for z/OS, is it possible to dynamically CALL a Cobol Dyamic link library (DLL) program from a cobol program that has been compiled with NODLL? ...

Learning mainframe & JCL with Java/OOP/SQL background

I've been coding and managing Java & ASP.Net applications & servers for my entire career. Now I'm being directed towards involvement in mainframes, ie z/OS & JCL, and I'm finding it difficult to wrap my head around it (they still talk about punch cards!). What's the best way to go about learning all this after having been completely spoi...

String literals not supported in stored procedure calls to DB2 for z/OS

I'm getting the error below when calling a simple SP from the Rational Application Developer Data Perspective when connecting to a DB2 DB instance running on z/OS. Also when calling from SQuirreL. Straight SQL queries run no problem. The query also works fine when called from my JAVA code. 'Error: [ibm][db2][jcc][10243][10940] Stri...