Also, not sure if you want to look into alternatives, but:
The ftp server on z/OS has a "connection" to DB2. I have not used it, but based on the doc, from the SQL server you could login to the ftp server on z/OS and then issue a "get mainframe.file.name pc.filename" where the data set "mainframe.file.name" contains SQL select statments and the ftp server will pass the select to DB2, which will extract the data, pass it back to the ftp server, which when then pass it back to the client and put the results in "pc.filename".
Also, you can get DB2 client and setup DB2 as a ODBC data source and from the SQL server write a program that extracts from DB2 and inserts into MQSQL server. I'm not 100% sure but at one time I thought that MS was going to make MSSQL support DRDA, which is the standard for DB2 data bases to talk to each other over a network.
Main Topics
Browse All Topics





by: giltjrPosted on 2009-07-08 at 04:40:30ID: 24802609
z/OS has ftp client that you can run in batch. The simplest way to use it would be to have JOB setup something like:
//S01OF01 EXEC PGM=FTP,REGION=4096K
//SYSPRINT DD SYSOUT=*
//OUTPUT DD SYSOUT=*
//INPUT DD *
10.1.1.1 (exit
userid
password
put 'MAINFRAME.FILE.NAME' +
pcfile.name
quit
/*