Just a comment.

Does everyone know you can FTP a VSAM file "directly", as long as its done as a 
z/OS FTP batch process (and not a server process) using the "DD" method.  
Example:

//EXECFTP  EXEC PGM=FTP,PARM='opsserver1 (EXIT'
//SYSPRINT DD SYSOUT=*                              
//SYSIN    DD *                                     
put //DD:MYVSAM My_Distributed_File.txt
quit                                                
/*                                                  
//MYVSAM   DD DSN=MY.VSAM.FILE,DISP=SHR                              


So no need for the REPRO -> QSAM step.

You must use the DD method.  The following will NOT work:
put 'MY.VSAM.FILE' My_Distributed_File.txt




________________________________
 From: Paul Gilmartin <[email protected]>
To: [email protected] 
Sent: Tuesday, October 7, 2014 8:28 AM
Subject: Re: Accessing VSAM Data from non-zOS platform
 

On 2014-10-07, at 07:48, Scott Ford wrote:

> What about IDCAMS (REPRO) -> QSAM -> FTP -> Other Platform
>  
Is REPRO POSIX-pipe savvy?  I know FTP is POSIX-pipe (FIFO) savvy.

What about Batchpipes?

(I imagine IDCAMS (REPRO) | QSAM | FTP -> Other Platform)

OTOH I got a bad ABEND when I allocated SYSTSPRT to a UNIX file
and issued a REPRO command.  APAR closed PRS.  Ouch!

-- gil


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to