Re: Copy Unix Files to MVS datasets

2006-07-08 Thread John S. Giltner, Jr.
Customers send to "filename.tmp", once tranfer is complete they rename 
to "filename" so we only see the file after the transfer is complete.


I was not invloved in the setup of the SSH FTP stuff, I don't know all 
of the details of exactly what we do.  I know that once we see the file, 
we do a normal ftp to MVS file.  I think he tried OCOPY but had problems.



Josef Berger wrote:

Hello John,

Using FTPS is also may favored solution. Our problem is we have round about 
750 unix servers which have SSH SFTP implemnted but not TLS Function. So the 
personal, who is responsible for the unix servers tends to use ssh. I've a 
question to your solution via CRON task. Did the task check the inbound 
directory and if found files put it via FTP to the mainframe ?. Assuming 
SFTP is writing a large file, the CRON task put the file via FTP to the 
mainframe. Is it possible that a incomplete file is copied by the CRON task, 
because the SFTP has not completed the transferre ?. Can you give me advice 
to find a sample of writing a CRON task ?


Regards Josef

"John S. Giltner, Jr." <[EMAIL PROTECTED]> schrieb im Newsbeitrag 
news:[EMAIL PROTECTED]


You can use OCOPY from a batch job, but I would suggest that you look at 
FTPS (FTP using SSL).  It is real FTP and support MVS datasets.


We implmented SFTP and are now attempting to convert our last two 
customers to FTPS.  I am sure there may be other ways, but we had to 
schedule a task via CRON to check the inbound directories every minute to 
see if a file came and and then kick of the processing.  It is not pretty.


Using FTPS you can use whatever you are using for normal FTP.  In fact you 
can have the same server support both SSL and non-SSL FTP sessions or you 
can force it to only accecpt SSL'ed connections.



Josef Berger wrote:


Hello all,
we plan to replace FTP with SSH SFTP. SSH SFTP work with unix files, not 
MVS datasets.
Connection initiated by another server into the mainframe stores the file 
in a Unix HFS file.
Does anyone now work arouns to start a batch job, after the file was 
stored in Unix HFS ?.
Is OPC Trigger a possible solution ?. I'm unclear if it support Open 
Edition unix files ?.

regards
Josef


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html 






--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Copy Unix Files to MVS datasets

2006-07-07 Thread Kirk Wolf

Another alternative is:  http://dovetail.com/dspipes

John S. Giltner, Jr. wrote:

You can use OCOPY from a batch job, but I would suggest that you look 
at FTPS (FTP using SSL).  It is real FTP and support MVS datasets.


We implmented SFTP and are now attempting to convert our last two 
customers to FTPS.  I am sure there may be other ways, but we had to 
schedule a task via CRON to check the inbound directories every minute 
to see if a file came and and then kick of the processing.  It is not 
pretty.


Using FTPS you can use whatever you are using for normal FTP.  In fact 
you can have the same server support both SSL and non-SSL FTP sessions 
or you can force it to only accecpt SSL'ed connections.



Josef Berger wrote:


Hello all,
we plan to replace FTP with SSH SFTP. SSH SFTP work with unix files, 
not MVS datasets.
Connection initiated by another server into the mainframe stores the 
file in a Unix HFS file.
Does anyone now work arouns to start a batch job, after the file was 
stored in Unix HFS ?.
Is OPC Trigger a possible solution ?. I'm unclear if it support Open 
Edition unix files ?.

regards
Josef



--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Copy Unix Files to MVS datasets

2006-07-07 Thread John S. Giltner, Jr.
You can use OCOPY from a batch job, but I would suggest that you look at 
FTPS (FTP using SSL).  It is real FTP and support MVS datasets.


We implmented SFTP and are now attempting to convert our last two 
customers to FTPS.  I am sure there may be other ways, but we had to 
schedule a task via CRON to check the inbound directories every minute 
to see if a file came and and then kick of the processing.  It is not 
pretty.


Using FTPS you can use whatever you are using for normal FTP.  In fact 
you can have the same server support both SSL and non-SSL FTP sessions 
or you can force it to only accecpt SSL'ed connections.



Josef Berger wrote:

Hello all,
we plan to replace FTP with SSH SFTP. SSH SFTP work with unix files, not MVS 
datasets.
Connection initiated by another server into the mainframe stores the file in 
a Unix HFS file.
Does anyone now work arouns to start a batch job, after the file was stored 
in Unix HFS ?.
Is OPC Trigger a possible solution ?. I'm unclear if it support Open Edition 
unix files ?.

regards
Josef 





--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html