|
This is convoluted but it works without having any of your own code already on the box and uses only the remote SQL server. My implementation used the Java Toolkit and JDBC. 1) Create a PF in QTEMP to hold the SAVF data. (RECL = 528) 2) Create a SAVF in QTEMP. 3) Insert all of the SAVF data in the PF. 4) Create a SRC-PF in QTEMP. 5) Insert a REXX program into the SRCPF to copy records from the PF to the SAVF. 6) Run REXX procedure. 7) Restore the SAVF. Refer to the ODBC programming manual for how-to on running commands from ODBC (same for JDBC) -----Original Message----- From: Steve Cross [mailto:se.cross@worldnet.att.net] Sent: Monday, December 27, 1999 1:16 PM To: Midrange-l Subject: Uploading a SAVF from a PC without FTP? Hi, How can I upload a save file (*SAVF) from a PC to the AS/400 without using FTP? It seems like all the file transfer commands I found wants to upload it to a physical file. I can't wait until I am on a network. Thanks in Advance. Steve Cross +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +--- +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to MIDRANGE-L@midrange.com. | To subscribe to this list send email to MIDRANGE-L-SUB@midrange.com. | To unsubscribe from this list send email to MIDRANGE-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.