Thanks for the plug John.

I'll also point out that if you are using Co:Z Launcher to pipe data
between Linux files/applications and z/OS that you also have the option to
send the data over a raw socket rather than within the ssh connection.   If
you have a secure network, like hipersockets between z/OS and zLinux, then
avoiding the overhead of encryption can save significant CPU... and the
throughput rates of Co:Z over a raw TCP/IP socket via hipersocket scream
when compared to NFS.

FYI, there are some case studies and examples for "z/OS Hybrid Batch" here:
http://dovetail.com/solutions.html

I'm not exactly clear on the details of Mike's requirement.... can you
elaborate on where the data is, where you need it, etc?   It sounds like
you have a db2 database on zLinux and want to export data for processing on
z/OS?   If so, you could do something like this:

// EXEC COZPROC,ARGS="myuser@zlinux"
//EXPORT DD DSN=&&EXPORT,DISP=(NEW,PASS),
//          DCB=(RECFM=VB,LRECL=2052,BLKSIZE=0),
//          SPACE=(CYL,(20,20))
//COZCFG DD *
# option to send data on clear sockets
ssh-tunnel=false
//STDIN DD *
# This shell script runs on the target zLinux guest.
# shell redirection is used to export to a pipe file
# connected to a todsn process which sends the data to a DD
#
db2 export to >(todsn DD:EXPORT) of del \
   select * from mytable
/*
//PROC EXEC PGM=MYPROG  to process data
//DATA DD   DSN=&&EXPORT,...
...


But it seems more common that your DB2 database is already on z/OS, in
which case you would probably want a completely different approach.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390
----------------------------------------------------------------------
For more information on Linux on System z, visit
http://wiki.linuxvm.org/

Reply via email to