× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Between saving the objects to a save file and doing the SNDDST, do the
following:
1. Use an RPG/COBOL program to read the save file (externally described 528
bytes) and write to a PF (also 528 bytes).
2. use CPYTOPCD to copy PF to file in directory in QDLS
3. Use SNDDST to send the QDLS file

On the remote system, after restoring the QDLS file:
1. Use CPYFRMPCD to copy QDLS file to PF (528 bytes)
2. Use RPG/COBOL program to write from PF to cleared save file

----- Original Message -----
From: "William A.(Tony) Corbett" <corbett@asresources.com>
To: "MIDRANGE-L@midrange. com" <MIDRANGE-L@midrange.com>
Sent: Thursday, January 24, 2002 7:05 PM
Subject: SNDDST data files?


> Hi all,
> I'm trying to automate the daily send of data (3-5 pf's) from a remote
AS400
> to the AS400 at the home office.
> My plan (was) to
> 1. create a savf on the remote '400
> 2. do a SNDDST to email it "home"
> 3. FTP the savf to the home AS400
> 4. Restobj the data files
>
> But, snddst gives the error:  Non-database files are not supported
>
> This is a temporary thing, so setting up direct communications is not an
> option and I'd rather not depend on a person sending the data.
>
> This is the snddst I have tried:
> SNDDST TYPE(*FILE) TOINTNET((corbett@asresources.com))
> DSTD('sndmsgf savfile') DOCFILE(SAVELIB/SAVEFILE)
>
> Where am I going wrong, or is the whole plan a bad one?
>
> TIA
>
> AS/Resources, Inc.
> William A.(Tony) Corbett
> IBM Certified Specialist - AS/400 Developer
> http://www.asresources.com
> corbett@asresources.com
> 770-587-4812 (office)
> (no answer forwards to mobile)
>
> _______________________________________________
> This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing
list
> To post a message email: MIDRANGE-L@midrange.com
> To subscribe, unsubscribe, or change list options,
> visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l
> or email: MIDRANGE-L-request@midrange.com
> Before posting, please take a moment to review the archives
> at http://archive.midrange.com/midrange-l.
>
>




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.